SUMMARY - 2nd: growing a ufs drive

From: Jeff Kennedy <jlkennedy_at_amcc.com>
Date: Mon Jun 24 2002 - 09:14:04 EDT
My apologies for summarizing incorrectly.  Thanks to Michael Maciolek
for setting me straight.

"You _can_ 'grow' a ufs filesystem on a system partition  - by which
I assume you mean 'root', /usr, /var, /opt, and so on.  Even when
it's mounted.  Since root and swap are often s0 and s1, this makes
a convenient way to get more space for root (assuming you can find
more swap space elsewhere)."

"You _do_ get more inodes when you grow a filesystem; the only thing
is, you can't change the space/inode ratio.  If the filesystem was
originally built with 1 inode per 8kb space (128 inodes/megabyte)
then you get more inodes in the _same_ proportion to the new space
you add."

~JK

-------- Original Message --------
Subject: SUMMARY: growing a ufs drive
Date: Fri, 21 Jun 2002 14:15:10 -0700
From: "Jeff Kennedy" <jlkennedy@amcc.com>
Organization: AMCC
To: Sun-Managers List <sun-managers@sunmanagers.org>

Yes you can grow a ufs; and it is *not* required to have SDS in order to
do this.  SDS merely includes a script (growfs) that uses an
undocumented flag for mkfs (-G).

You can do the following on a Solaris system without SDS:

/usr/lib/fs/ufs/mkfs -G -M /current/mount /dev/rdsk/cXtYdZsA newsize

There were many people that responded to this and each fell into one of
2 camps; (1) you need SDS to do this and (2) you do not need SDS to do
this.  Surprisingly, even some people from SUN thought you needed SDS to
grow a ufs.  Now, the main issue with growing ufs is contiguous disk
space (which I assume is greatly alleviated with SDS, hence why it's
seen as a requirement).  The second biggy is that new inodes are not
allocated so this better be on a filesystem with fewer, larger files as
opposed to alot of little files.

Also, as I understand it, you cannot do this on a system partition.

Here are some links that were sent to me as well.

http://www.science.uva.nl/pub/solaris/solaris2/Q3.71.html

http://www.mcsr.olemiss.edu/cgi-bin/man-cgi?growfs+1

Many thanks to all who replied.

~JK

-------- Original Message --------
Subject: growing a ufs drive
Date: Tue, 18 Jun 2002 11:59:05 -0700
From: "Jeff Kennedy" <jlkennedy@amcc.com>
To: Sun-Managers List <sun-managers@sunmanagers.org>

I have heard that ufs has been able to be grown for some time now (from
2.6 up) with "growfs".  I cannot find this command nor can I confirm the
ability to do this.
Can anyone confirm yes or no that ufs can be grown?
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Jun 24 09:20:06 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:47 EST