HP 3PAR Solaris Implementation Guide

3. Create a Veritas disk group with the two LUNs:
# vxdisk list
# vxdg init <disk_group> <vx_diskname1>=<device1>
# vxdg -g <disk_group> adddisk <vx_diskname2>=<device2>
('vxdiskadm' can also be used.)
If you cannot initialize the LUNs, check the paths are enabled:
# vxdisk path
Create a VxVM volume and mount it:
# vxassist -g <disk_group> make <vx_volume> <size>
# mkfs -F vxfs /dev/vx/rdsk/<disk_group>/<vx_volume>
# mkdir /mnt/test
# mount -F vxfs /dev/vx/dsk/<disk_group>/<vx_volume> /mnt/test
4. Grow the LUN:
On the HP 3PAR StoreServ Storage, use the growvv command to grow one of the LUNs.
Increase the LUN by 10 GB, for example:
# growvv <lun_name> 10G
5. Rescan the device tree on the host as shown above. Additionally, resize the logical VxVM
object to match the larger LUN size:
# vxdisk -g <disk_group> resize <vx_diskname>
6. On the host, check there is the additional space in the disk group and grow the volume:
# vxassist -g <disk_group> maxsize
Grow the volume:
# vxresize -g <disk_group> <vx_volume> <new_size>
Check the new size:
# df -k /mnt/test
The updated LUN size will now be available to VxVM.
Summary:
Create and export the initial LUNs.
Scan the device tree on the host.
Create a Veritas disk group, make and mount the volume.
Grow the LUN on the HP 3PAR StoreServ Storage.
Examples of Growing a Volume 75