Migration from Legacy to Agile Naming Model in VxVM 5.0 on HP-UX 11i v3
A Typical Migration Operation
STEP 1 :
List all the volume groups configured with Legacy DSF’s. Only the volume
groups configured with legacy DSF must be migrated.
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t5d0 auto:FS_wholedisk - - FS_wholedisk
c0t6d0 auto:LVM - - LVM
c6t6d0 auto:FS_wholedisk - - FS_wholedisk
c9t6d0 auto:cdsdisk c9t6d0 vxvmdg online
c12t0d0 auto:cdsdisk c12t0d0 testdg online
STEP 2 :
Verify that all the disk groups to be migrated are online.
STEP 3 :
Execute the below command to migrate to agile naming model.
vxddladm set namingscheme=osn mode=new
The execution of the above command would result in VxVM 5.0 migrating existing
volume groups from the Legacy Naming model to the Agile Naming model.
STEP 4 :
List all the volume groups to verify that the migration is successful.
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
disk6 auto:FS_wholedisk - - FS_wholedisk
disk5 auto:LVM - - LVM
disk7 auto:FS_wholedisk - - FS_wholedisk
disk9 auto:cdsdisk disk9 vxvmdg online
disk11 auto:cdsdisk disk11 testdg online
STEP 5 :
Verify the mapping between Legacy and Agile naming model.
# ioscan -m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/rdisk/disk5 /dev/rdsk/c0t6d0
/dev/rdisk/disk6 /dev/rdsk/c0t5d0
/dev/rdisk/disk7 /dev/rdsk/c6t6d0
/dev/rdisk/disk9 /dev/rdsk/c9t6d0
/dev/rdisk/disk11 /dev/rdsk/c12t0d0
/dev/rdsk/c13t0d0