cancel
Showing results for 
Search instead for 
Did you mean: 

Grow a stripe-mirror layered volume?

jonny_smith
Level 3

Hi folks,

 

Can someone let me know the correct command to expand a mirror-stripe volume (nmirror=2, ncol=3) by 6GB using an additional x3 2gb disks from one enclosure and x3 2gb disks from a second enclosure?

 

Would it be something like: vxassist -b -g diskgroup +6gb volume_name layout=mirror-stripe new_disk1 new_disk2 new_disk3 mirror=enclr

1 ACCEPTED SOLUTION

Accepted Solutions

Gaurav_S
Moderator
Moderator
   VIP    Certified

Hello Jonny,

First thing I would suggest is to use a vxresize command (presuming that you have FS mounted & you are trying to expand the volume), vxresize will ensure that FS also is increased accordingly with the volume expansion.

Secondly, what is the SF version you are using ? if you have latest volume manager (5.x), to my knowledge, vxassist would be intelligent enough to discover that luns are appearing from different storage enclosures... In this case, if you simply give disk names after the vxresize command, volume manager should pick them up & increase the volume & FS for you.

So an e.g command like:

# vxresize -b -g <diskgroup> <volume> <new_size> <disk_1> <disk_2> ....

 

 

G

 

 

View solution in original post

2 REPLIES 2

mikebounds
Level 6
Partner Accredited

If your 2 enclosures are on different sites, then you should  consider implementing the site awareness feature and this will ensure all volumes are mirrored across enclosures.  This requires Enterprise license, but you also need Enterprise license to use DCOs which you should ideally be using if you have 2 enclosures.  

With this feature you label the disks for each enclosure so that VM ensures a mirrored volume is created and takes disks from each enclosure.  For more information see the "Administering sites and remote mirrors" section in the vxvm admin guide.

Mike

Gaurav_S
Moderator
Moderator
   VIP    Certified

Hello Jonny,

First thing I would suggest is to use a vxresize command (presuming that you have FS mounted & you are trying to expand the volume), vxresize will ensure that FS also is increased accordingly with the volume expansion.

Secondly, what is the SF version you are using ? if you have latest volume manager (5.x), to my knowledge, vxassist would be intelligent enough to discover that luns are appearing from different storage enclosures... In this case, if you simply give disk names after the vxresize command, volume manager should pick them up & increase the volume & FS for you.

So an e.g command like:

# vxresize -b -g <diskgroup> <volume> <new_size> <disk_1> <disk_2> ....

 

 

G