Expanding Your Solaris Filesystem

c0t0d0Use with your own risk, but this is works

Detail:
-Metadevice : d56
-Disk: emcpower6a(A2=c3t500601623021B12Ed2s2) + emcpower8a(A2=c3t500601623021B12Ed8s2)

Cek MountPoint

df -h |grep d56
/dev/md/dsk/d56 391G 64M 390G  1%  /archive1

Cek Metadevice

metastat d56
d56: Soft Partition
Device: c3t500601623021B12Ed2s2
State: Okay
Size: 832421888 blocks (396 GB)
Device                    Start Block  Dbase Reloc
c3t500601623021B12Ed2s2     16384     No    Yes

Clear the Metadevice

metaclear d56

Now, Concate 2 Disk

metainit d56 2 1 emcpower6a 1 emcpower8a

Let Start the "Grows"

1
2
mount /dev/md/dsk/d56 /archive1
growfs -M /archive1 /dev/md/rdsk/d56

Verification

df -h|grep d56
/dev/md/dsk/d56        788G   64M   787G     1%    /archive1
metastat d56
d56: Concat/Stripe
Size: 1677639680 blocks (799 GB)
Stripe 0:
Device       Start Block  Dbase Reloc
emcpower6a          0     No    No
Stripe 1:
Device       Start Block  Dbase Reloc
emcpower8a      16384     No    No
 
Device Relocation Information:
Device       Reloc      Device ID
emcpower6a   No         -
emcpower8a   No         -
Printed from: http://dot.choosen.net/2007/12/31/expand-solaris-filesystem/ .
© 2010.

Leave a Reply

  • Search

  • Archives