The following procedure is an example of creating a multi-volume file system.
To create a multi-volume file system
# mkfs -V vxfs /dev/vx/rdsk/rootdg/myvset version 9 layout 327680 sectors, 163840 blocks of size 1024, log size 1024 blocks largefiles supported
After the file system is created, VxFS allocates space from the different volumes within the volume set.
# mount -V vxfs /dev/vx/dsk/rootdg/myvset /mnt1 # fsvoladm -H list /mnt1 devid size used avail name 0 20 GB 10 GB 10 GB vol1 1 30 TB 10 TB 20 TB vol2
# vxassist -g dg1 make vol5 50m # vxvset -g dg1 addvol myvset vol5 # fsvoladm add /mnt1 vol5 50m # fsvoladm -H list /mnt1 devid size used avail name 0 20 GB 10 GB 10 GB vol1 1 30 TB 10 TB 20 TB vol2
# fsvoladm queryflags /mnt1 volname flags vol1 metadataok vol2 dataonly vol3 dataonly vol4 dataonly vol5 dataonly
# fsvoladm clearflags dataonly /mnt1 vol2 # fsvoladm queryflags /mnt1 volname flags vol1 metadataok vol2 metadataok vol3 dataonly vol4 dataonly vol5 dataonly