06-24-2014 12:50 PM
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???
Solved! Go to Solution.
06-24-2014 07:23 PM
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
06-24-2014 07:23 PM
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
06-26-2014 05:37 AM
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 diskgroup] resize {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.