Exclusive access of a VxFS file system can be delegated to a non-global zone by direct mounting the file system in the non-global zone. Using direct mounts limits the visibility of and access to the file system to only the non-global zone that has direct mounted this file system.
Delegating file systems to non-global zone using direct mounts is supported in Veritas File System 4.1 Maintenance Pack 1 and later.
To direct mount a VxFS file system in a non-global zone, the directory to mount must be in the non-global zone and the mount must take place from the global zone. The following procedure mounts the directory dirmnt in the non-global zone myzone with a mount path of /zonedir/myzone/root/dirmnt
.
To direct mount a VxFS file system in a non-global zone
Log in to the zone and make the mount point:
global# zlogin myzone myzone# mkdir dirmnt myzone# exit
global# mount -F vxfs /dev/vx/dsk/dg/vol1 /zonedir/zone1/root/dirmnt
Log in to the non-global zone and ensure that the file system is mounted:
global# zlogin myzone myzone# df | grep dirmnt /dirmnt (/dirmnt):142911566 blocks 17863944 files