From: Colin Bigam (colin@ccsisupport.com)
Date: Tue Nov 15 2005 - 17:36:47 EST
Hey all;
Something of a major issue here. We have a filesystem on a pair of disks
mirrored with SVM (on Solaris 9). Of course, we've run out of space and need
to grow the thing. Luckily, we have spare space adjacent to the slices on the
two disks involved, so we can grow the slices. However, is there any way of
growing the metadevices without unmounting the FS, destroying the metadevices,
and recreating them (and resyncing)? It should be obvious, but I'm coming up
blank here.
To be clear, we have this:
# metastat -p d6
d6 -m d16 d26 1
d16 1 1 c6t500000E010A5EC50d0s6
d26 1 1 c6t500000E010A5E660d0s6
The slices that comprise both d16 and d26 were 29GB but have been expanded
to 39GB each. The metadevices still show 29GB. The only way I know of fixing
this is to break the mirror, delete and recreate the detached metadevice (say
d26), reattach and resync it, detach the other metadevice (d16), unmount the
filesystem, destroy and recreate the mirror (d6), remount, then delete,
recreate, and reattach the other metadevice. Oh yes, and finally growfs.
There has to be a better way than this! Anyone?
Thanks,
Colin
-- Colin Bigam, Unix Analyst CCSI Technology Solutions (403) 699-4584 _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:36:43 EDT