When the dmp_native_support is ON, you can create a new LVM volume group on an available DMP device. You can also add an available DMP device to an existing LVM volume group. After the LVM volume groups are on DMP devices, you can use any of the LVM commands to manage the volume groups.
To create a new LVM volume group on a DMP device or add a DMP device to an existing LVM volume group
# vxdisk list
DEVICE TYPE DISK GROUP STATUS . . . xp10240_0317 auto:none - - online invalid xp10240_0318 auto:none - - online invalid
Use /dev/[r]disk/
as the prefix for the DMP device to obtain the complete path name.
# pvcreate /dev/rdisk/xp10240_0317 Physical volume "/dev/rdisk/xp10240_0317" has been successfully created. # vgcreate /dev/newvg /dev/disk/xp10240_0317 Increased the number of physical extents per physical volume to 1250. Volume group "/dev/newvg" has been successfully created. Volume Group configuration for /dev/newvg has been saved in /etc/lvmconf/newvg.conf # vgdisplay -v /dev/newvg | grep Name VG Name /dev/newvg PV Name /dev/disk/xp10240_0317
Use /dev/[r]disk/ as the prefix for the DMP device to obtain the complete path name.
# pvcreate /dev/rdisk/xp10240_0318 Physical volume "/dev/rdisk/xp10240_0318" has been successfully created. # vgextend newvg /dev/disk/xp10240_0318 Volume group "newvg" has been successfully extended. Volume Group configuration for /dev/newvg has been saved in /etc/lvmconf/newvg.conf # vgdisplay -v /dev/newvg | grep Name VG Name /dev/newvg PV Name /dev/disk/xp10240_0317 PV Name /dev/disk/xp10240_0318
# vxdisk scandisks
# vxdisk list
. . . xp10240_0317 auto:LVM - - LVM xp10240_0318 auto:LVM - - LVM