SUMMARY: !!URGENT!! Expand filesystem with

From: UnixAdmin <sunixadm_at_yahoo.com>
Date: Wed Nov 07 2001 - 02:25:15 EST
Thanks to all who responded and especially to all who
responded quickly and with helpful answers.  I do have
to wonder why some people answered with where to find
the documentation for DiskSuite and, in particular why
David Foster answered with: "Wouldn't a DiskSuite
manual explain how to do this??".  Dave, did you think
this answer would help?  I read the mails that are
sent to this group and ALL of them can be answered in
some manual. 

On to the solution:

This is what I did to break the mirror on /mountpoint
and grow the FS

root:/ 2 >metastat -p d50
d50 -m d51 d52 1
d51 1 1 c1t2d0s6
d52 1 1 c1t4d0s6

root:/ 3 >metadetach d50 d52
d50: submirror d52 is detached

root:/ 4 >metaclear d52
d52: Concat/Stripe is cleared

root:/ 5 >metattach d51 /dev/dsk/c1t4d0s6
d51: component is attached
root:/ 6 >df -k /mountpoint
Filesystem            kbytes    used   avail capacity 
Mounted on
/dev/md/dsk/d50      35004827 34654779       0   100% 
  /mountpoint
root:/ 7 >growfs -M /mountpoint /dev/md/rdsk/d52
/dev/md/rdsk/d50:       142237026 sectors in 49234
cylinders of 27 tracks, 107 sectors
        69451.7MB in 1539 cyl groups (32 c/g,
45.14MB/g, 5632 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 32, 92592, 185152, 277712, 370272, 462832, 555392,
647952, 740512, 833072,......(this goes on forever)
..............................................................
root:/ 8 >df -k /mountpoint
Filesystem            kbytes    used   avail capacity 
Mounted on
/dev/md/dsk/d50      70010392 34654779 35005565    50%
   /mountpoint
root:/ 9 >metastat -p d50
d50 -m d51 1
d51 2 1 c1t2d0s6 \
         1 c1t4d0s6

Thanks,

Joe

__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
Received on Wed Nov 7 07:25:15 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:32:35 EDT