raid5 vol growth
- 14 years ago
Use vxassist relayout to add a column to the volume (to use the extra disk), then use growby/growto to increase to the remaining available space.
Note the following from the vxassist man page:
--------------------
Note: Following a relayout, specify the attribute layout=nodiskalign to the growby and growto commands if you want the subdisks to be grown using contiguous disk space.
--------------------# vxassist -g testdg relayout testvol layout=raid5 ncol=+1 ### see vxassist man page for further options if you need to use non-default stripe unit, etc
Once the relayout is done, volume will still be same size, grow to use the remaining space (using layout=nodiskalign as mentioned above)
# vxassist -g testdg growto testvol <size> layout=nodiskalign
For further details see:
vxassist man page: https://sort.symantec.com/public/documents/sf/5.0MP3/solaris/manpages/vxvm/man1m/vxassist.html
VxVM 5.0MP3 (Solaris) Administrator's Guide -> Performing online relayout -> Specifying a non-default layout
https://sort.symantec.com/public/documents/sf/5.0MP3/solaris/html/vxvm_admin/ch08s19s02.htmThe following technote also has helpful information for relayout and disk space requirements:
Disk space requirements for online relayout of concat, striped and RAID-5 volumes
http://www.symantec.com/docs/TECH20579