The following procedure describes the conversion of a regular VxFS file system to MVS file system and optionally add new volume to it. Converting a regular VxFS to MVS requires superuser (root) privileges.
For further details on creating and administrating the VxVM Volume Sets and VxFS Multi-Volume Files System, refer to the Veritas Volume Manager Administrator's Guide and Veritas File System Administrator's Guide.
To convert from a regular VxFS file system to MVS
Select a non-MVS file system to convert to MVS and unmount it:
# umount /mnt1
# vxvset -g dgname make myvset old_vol
# mount -F vxfs /dev/vx/dsk/dgname/myvset /mnt1
Upgrade the volume set's file system to Version 6 disk layout:
# vxupgrade -n 6 /mnt1
See the Veritas File System Installation Guide and the vxfsconvert(1M) and vxupgrade(1M) manual pages for information on upgrading VxFS disk layouts:
Add the new volume to the volume set:
# vxvset -g dgname addvol myvset new_vol
Add the new volume to the file system. You must specify the size of the volume:
# fsvoladm add /mnt1 new_vol 2g
where new_vol is the name of the newly added volume and 2g is the size of the volume:
Verify the new volume in the file system:
# fsvoladm list /mnt1