The following procedure converts a traditional, single volume file system, /mnt1
, on a single volume vol1
in the diskgroup dg1
to a multi-volume file system.
To convert a single volume file system
# vxdg list dg1 | grep version: | awk '{ print $2 }' 105
# vxdg upgrade dg1
# vxupgrade /mnt1 Version 6
# vxupgrade -n 7 /mnt1
# umount /mnt1
# vxvset -g dg1 make vset1 vol1
/etc/fstab
file to replace the volume device name, vol1
, with the volume set name, vset1
.# mount -t vxfs /dev/vx/dsk/dg1/vset1 /mnt1
# vxassist -g dg1 make vol2 256M # vxvset -g dg1 addvol vset1 vol2
# vxassist -g dg1 settag vol1 vxfs.placement_class.tier1 # vxassist -g dg1 settag vol2 vxfs.placement_class.tier2