cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

How to add disk in existing mirror volume???

HI,

My FS is running out of sapce, i need to extend file system asap but volumes are mirror 

, can u tell wht r the steps & wht kind precausion i have to take during this actvity??? 

1 Solution

Accepted Solutions
Highlighted
Accepted Solution!

Hi, First find out how much

Hi,

First find out how much space your DG has using "vxdg free "command

If there is no space, you need to add more disks to DG using " vxdg -g <dg> adddisk <DMdisk>=<DAdisk>". As you have mirrored volume, make sure you take double space in consideration. For e.g if you want to increase 10GB in FS, you need to add 20GB space. Also for vxresize to be successful, it is recommended that atleast 5% space is available in DG

Once DG has free space, use vxresize command to expand the volume

# vxresize -g <diskgroup> <vol> <new_length>

man page can be found here

https://sort.symantec.com/public/documents/sfha/6.1/solaris/manualpages/html/man/volume_manager/html/man1m/vxresize.1m.html

 

G

View solution in original post

2 Replies
Highlighted
Accepted Solution!

Hi, First find out how much

Hi,

First find out how much space your DG has using "vxdg free "command

If there is no space, you need to add more disks to DG using " vxdg -g <dg> adddisk <DMdisk>=<DAdisk>". As you have mirrored volume, make sure you take double space in consideration. For e.g if you want to increase 10GB in FS, you need to add 20GB space. Also for vxresize to be successful, it is recommended that atleast 5% space is available in DG

Once DG has free space, use vxresize command to expand the volume

# vxresize -g <diskgroup> <vol> <new_length>

man page can be found here

https://sort.symantec.com/public/documents/sfha/6.1/solaris/manualpages/html/man/volume_manager/html/man1m/vxresize.1m.html

 

G

View solution in original post

Highlighted

In addition to Gaurav's

In addition to Gaurav's excellent post, bear in mind that current layout must be maintained when both plexes are increased.

So, have a look at existing layout:

vxprint -g <dg-name> -htr <volume-name>

If single concatenated subdisks on hardware raid, find out if underlying luns can be extended.

If so, the VxVM disks can also be resized with 'vxdisk resize':

vxdisk [-f] [-g diskgroupresize {accessname|medianame} [length=value

See http://sfdoccentral.symantec.com/sf/5.0/aix/manpages/vxvm/vxdisk_1m.html 

Please read all the Notes dealing with resize.

Once done, you can use vxresize to grow the volume.

Hope this helps.