About the Mount agent

Last published : Jun 10, 2026
You may need to modify the ContainerOpts values for the Mount resource in certain situations.
In certain situations where the block device is not exported to zone, you can make the file system available inside local zone. Mount the block device on the directory that has a path that includes the zone root from global zone, for example:
BlockDevice = /dev/vx/dsk/dg/vol1
MountPoint = /zones/zone-test/root/mntpt
Where /zones/zone-test is the zone root of the local zone.
Mount agent supports the following configuration for mount points
  1. Direct mount of file system with mount point as full path seen from global zone. Typical mount resource configuration for this type of mount is shown below:
    group mntgrp (
                      SystemList = { Sys1 = 0, Sys1 = 1 }
           )

           Mount mnt-direct (
                   MountPoint = "/zones/zone-test/root/mnt"
                   BlockDevice = "/dev/vx/dsk/dg/vol"
                   FSType = vxfs
                   FsckOpt = "-y"
                   )
    1. Loop-back file system mount inside non-global zone for file system mounted in global zone. Typical mount resource configuration for this type of mount is shown below:
    group loopbacksg (
            SystemList = { sysA = 0, sysB = 1 }
            ContainerInfo@sysA = { Name = zone1, Type = Zone, Enabled = 1 }
            ContainerInfo@sysB = { Name = zone1, Type = Zone, Enabled = 1 }
            )

            Mount zone_mnt (
                    MountPoint = "/export/home/zone1/root/lofs_mnt"
                    BlockDevice = "/mnt1/m1"
                    FSType = lofs
            )

            Zone z1 (
                           )
            Mount global_mnt (
                    MountPoint = "/mnt1"
                    BlockDevice = "/dev/vx/dsk/tdg/tvol1"
                    FSType = vxfs
                    FsckOpt = "-y"
                    )
            zone_mnt requires z1
            zone_mnt requires global_mnt
  2. Direct mount of NFS based file system inside non-global zone. Typical mount resource configuration for this type of mount is shown below:
    group mntgrp (
           SystemList = { Sys1 = 0, Sys1 = 1 }
           ContainerInfo = { Name = zone-test, Type = Zone, Enabled = 1 }
           )

           Mount mntnfs (
                   MountPoint = "/mnt"
                   BlockDevice = "system:/shared-dir"
                   FSType = nfs
                   FsckOpt = "-n"
                   ContainerOpts = { RunInContainer = 1, PassCInfo = 0 }
                   )
    1. Support for direct mount of VxFS file system inside non-global zone. VCS Mount agent supports the direct mount of VxFS file system inside non-global zone. Typical mount resource configuration for this type of mount is shown below:
    group mntgrp  (
           SystemList = { sys1 = 0, sys2 = 1 }
           ContainerInfo = { Name = zone-test, Type = Zone, Enabled = 1 }
           Administrators = { z_zoneres_sys1, z_zoneres_sys2 }
           )

           Mount mnt-zone-direct (
                   BlockDevice = "/dev/vx/dsk/data_dg/data_vol"
                   MountPoint = "/mnt1"
                   FSType = vxfs
                   FsckOpt = "-y"
                   ContainerOpts = { RunInContainer = 1, PassCInfo = 0 }
                   )