Support for namefs file system

The Mount agent provides namefs file system support. You can manage the namefs file system as a Mount resource. Use namefs support to mount a file system in the global environment and share it in the WPAR. For namefs support, configure the FSType attribute to use a value of namefs.

Figure: Sample service group for the WPAR root on shared storage with a namefs file system when VCS manages the namefs file system as a Mount resource

Sample service group for the WPAR root on shared storage with a namefs file system when VCS manages the namefs file system as a Mount resource

The following is a sample configuration where you use the Mount resource to manage the namefs file system:

group namefssg (
    SystemList = { sysA = 0, sysB = 1 }
    ContainerInfo@sysA = { Name = wpar1, Type = WPAR, Enabled = 1 }
    ContainerInfo@sysB = { Name = wpar1, Type = WPAR, Enabled = 1 }
    )
    Mount namefs_mnt_global_to_local (
                MountPoint = "/wpars/wpar1/namefs_mnt"
																BlockDevice = "/mnt1/m1"
                FSType = namefs
                )
    WPAR w1 (
                )
        Mount base_mnt (
													MountPoint = "/mnt1"
													BlockDevice = "/dev/vx/dsk/tdg/tvol1"
													FSType = vxfs
													FsckOpt = "-y"
)
    namefs_mnt_global_to_local requires w1
    namefs_mnt_global_to_local requires base_mnt