Summary: Extend file system

From: Howard Arnold (arnoldh@celerent.com)
Date: Fri Jan 21 2005 - 12:48:32 EST


Thanks for all the reply's. Most of the replies mentioned doing a addvol to
grow the file system which I know how to do and have done many times. My
main goal was to test the EVA's capability of extending a file system using
the new capabilities of 5.1b. The way it is documented in the manual didn't
work for me.

I created another test case this morning and I did a hwmgr -scan scsi before
reading and writing the new label and it didn't work. I still got the
message,

disklabel: partition c: partition extends past end of unit
disklabel: Replacement label is invalid.

when I tried to write the new label back to the disk.

I forgot to mention that I was using the c partition. Anyhow using the
disklabel -rw dsk100 and then doing the mount -u -o extend test_domain#test
/test works. I can't guarantee that this is the best or only way to do it,
but it was a way I found to get it to work.

Thanks,

Howard

Original question:

I have a quick question on extending a file system. I have an HSV110 and I
have extend my virtual disk by 100gig. I want to extend the file system
without umounted it. This is what I did

 1) Extended virtual disk by 100gig
 2) disklabel -rw dsk100
 3) mount -u -o test_domain#test /test

 The file system showed the increase in size and I was able to read and
 write the file system.

 The reason I'm asking the question is the system admin guide has you
 reading the disklabel to a file and then modifying the label and reading it
back onto the disk (section 6.3). This didn't work for me because is said
that the open partition extend pass the end of the disk.



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:14 EDT