How to create a volume with the maximum size
book
Article ID: 100010422
calendar_today
Updated On:
Resolution
To create a volume utilizing all the remaining free space within a disk group, use the following command:
#vxassist -g dg_name make vol_name ` vxassist -g dg_name -p maxsize layout=xxxxdisks_name` layout=xxxx disks_name
where "xxxx" is the volume layout such as concat,stripe or raid5.
For example,
#vxassist -g newdg02 make testvol `vxassist -g newdg02 -p maxsize layout=concat newdg0203` layout=concat newdg0203
The above command can be broken into two parts:
1. Get the maximum size with the given attributes:
#vxassist -g dg_name -p maxsize layout=xxxx disks_name
2. Create the volume:
#vxassist -g dg_name make vol_name size layout=xxxxdisks_name
Issue/Introduction
How to create a volume with the maximum size
Was this article helpful?
thumb_up
Yes
thumb_down
No