Forum Discussion

kodaali's avatar
kodaali
Level 3
14 years ago

raid5 vol growth

Hello, im trying to grow raid 5 volume and file system with exact same size disk as others. I have the following error. Could you please guide me. This box running Solaris 10 update 8 and VxVM 5.0 ...
  • g_lee's avatar
    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.htm

    The 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