From: Sebastien DAUBIGNE (sebastien.daubigne@atosorigin.com)
Date: Mon Mar 06 2006 - 06:14:41 EST
Hi,
I try to grow a root metadevice online.
As I had contiguous space after root partition on the disk, I did the
following :
1. Detach and clear one submirror (metadetach/metaclear)
2. Grow the partition under the detached/cleared submirror (format)
3. Recreate and attach the bigger submirror (metainit/metattach)
4. Detach and clear the other submirror (metadetach/metaclear)
5. Grow the partition under the detached/cleared submirror (format)
6. Recreate and attach the submirror (metainit/metattach)
Now I've planned to :
7. Grow the root filesystem (growfs)
8. Update boot information (metaroot)
Unfortunately, SDS did not update the mirror size : It kept the original
size although both subimmrors are bigger. So I'm unable to grow the root
filesystem.
I though that the mirror size would be updated according to the smallest
submirror (in this case, both are identical and have a bigger size)
Is there any way to update the mirror size online or should I consider
to reboot ?
Here is metastat output (d30 is the root metadevice) :
d30: Mirror
Submirror 0: d10
State: Okay
Submirror 1: d20
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 2981448 blocks
d10: Submirror of d30
State: Okay
Size: 10487070 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t0d0s0 0 No Okay
d20: Submirror of d30
State: Okay
Size: 10487070 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t1d0s0 0 No Okay
Thanks for help.
-- Sebastien DAUBIGNE Sebastien.daubigne@atosorigin.com - +33(0)5.57.26.56.36 AtosOrigin Infogerance - IMS/ERP/Pessac _______________________________________________ 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:39:12 EDT