[SunHELP] File System
Matt Tilley
sunhelp at sunhelp.org
Wed Nov 22 08:50:03 CST 2000
Boy was I way off base. I read Bob's answer below and was quite surprised.
I didn't realize that besides Veritas, Sun's FS can be changed on the fly.
I did a little more checking (feeling quite embarassed) and came across this
in the FAQ (even more embarassing!!):
3.69) How can I grow a UFS filesystem?
You can grow but not shrink a UFS filesystem if you manage to increase the
size of the partition it lives in, with the following command:
/usr/lib/fs/ufs/mkfs -G -M /current/mount /dev/rdsk/cXtYdZsA newsize
Specifying the current mount point and raw device as well as the new size in
512 byte blocks.
You can do this even when the filesystem is mounted and in use.
- Matt
.-----Original Message-----
.From: Bob C. Ruddy [mailto:ruddy at udlug.org]
.Sent: Wednesday, November 22, 2000 8:31 AM
.To: 'sunhelp at sunhelp.org'
.Subject: RE: [SunHELP] File System
.
.
.To answer your question yes Solaris 2.6, 2.7, 2.8 can grow a
.file system
.out of the box. I don't know about Solaris < 2.6.
./usr/lib/fs/ufs/mkfs can
.do this for you. Now the issue becomes allocating disk space
.to grow your
.file system. AFAIK you can't grow a slice that is not
.underneath a volume
.manager's control, such as c0t0d0s0. But if you are using disksuite, a
.volume manager provided by sun or if you buy veritas as mentioned below
.you can put the slices that your file systems on under their
.control. Then
.you can grow the volume your file system lives on. But to answer your
.question yes, out of the box you can grow a file system on the fly.
.
.Bob
.
.On Wed, 22 Nov 2000, Matt Tilley wrote:
.
.->I'm sure that you will get more detailed answers, but the
.correct answer
.->will depend directly on software. Straight Sun OS out of
.the box (i.e.,
.->2.5, 2.51. 2.6, 2.7 (7), 8), I would say no.
.->
.->However, it is real common to have a software pkg such as
.Veritas that does
.->this (I think that FS on fly growth was prominent in AIX first, then
.->becoming available as add-ons to other OS's - I think that
.HP may have this
.->as a common feature (like AIX)), and I think that it is now
.out in Linux.
.->
.->
.-> Subject: [SunHELP] File System
.->
.->
.->Can a file system be grown on the fly (no need to unmount first?
More information about the SunHELP
mailing list