cancel
Showing results for 
Search instead for 
Did you mean: 

raid5 vol growth

kodaali
Level 3

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 mp3 rp4.

 # vxprint -htqQ -g testdg
dg testdg        default      default  32000    1305705112.21.test

dm testdg01      c1t4d0s2     auto     65536    585846704 -
dm testdg02      c1t5d0s2     auto     65536    585846704 -
dm testdg03      c1t6d0s2     auto     65536    585846704 -
dm testdg04      c1t7d0s2     auto     65536    585846704 -

v  testvol      -            ENABLED  ACTIVE   1171691520 RAID    -        raid5
pl testvol-01   testvol      ENABLED  ACTIVE   1171691520 RAID    3/32     RW
sd testdg01-01   testvol-01   testdg01  0        585845760 0/0      c1t4d0   ENA
sd testdg02-01   testvol-01   testdg02  0        585845760 1/0      c1t5d0   ENA
sd testdg03-01   testvol-01   testdg03  0        585845760 2/0      c1t6d0   ENA

# vxassist -g testdg maxgrow testvol testdg04
VxVM vxassist ERROR V-5-1-1178 Volume testvol cannot be extend within the given constraints 

 

Thanks in Advance.

Nagesh

 

1 ACCEPTED SOLUTION

Accepted Solutions

g_lee
Level 6

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

View solution in original post

1 REPLY 1

g_lee
Level 6

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