Additional mount command examples
In this example, the mount command is used to mount a set of MVS files. The PARM operand contains the NFS server text processing attribute and requires the use of double quotes around the string user,text.
mount filesystem(nfs00) type(nfs) mountpoint('/u/nfsdir')
parm('stlmvs3:"user,text",soft,timeo(100)')
In this example:
- Description
- Specifies the name of the file system to be added to the file system hierarchy.
- Specifies the required file system type.
- Specifies the name of the mount point (preferably an empty directory).
- Specifies the name of the host NFS server.
- Specifies the name of the high-level qualifier of the MVS files
on the NFS server.
Note: Based on the implicit prefix heuristic specified with the IMPPREFIX( ) site attribute, you may need to specify the MVS path type prefix to identify the file system being mounted as an MVS data set path. For example: parm('stlmvs3:"/mvs/user,text",soft,timeo(100)')
- Specifies the processing attribute for the NFS server.
- Specifies the
PARM
operand option for the NFS client. - Specifies the
PARM
operand option for the NFS client.
In this example, the mount command is used to mount a z/OS UNIX
directory. The PARM
operand contains the NFS server binary processing
attribute and requires the use of double quotes around the string /hfs/u/user,binary.
mount filesystem(nfs01) type(nfs) mountpoint('/u/nfsdir1')
parm('stlmvs3:"/hfs/u/user,binary",soft')
In this example:
- Description
- Specifies the name of the file system to be added to the file system hierarchy.
- Specifies the required file system type.
- Specifies the name of the mount point (preferably an empty directory).
- Specifies the name of the host NFS server.
- Specifies the name of the z/OS UNIX directory on the NFS server. The '/hfs' prefix is optional based on the implicit prefix selection setting.
- Specifies the processing attribute for the NFS server.
- Specifies the
PARM
operand option for the NFS client.
In this example, the mount command is used to mount an AIX® home directory.
mount filesystem(nfs02) type(nfs) mountpoint('/u/nfsdir2')
parm('aix6000:/home/user,xlat(y)')
In this example:
- Description
- Specifies the name of the file system to be added to the file system hierarchy.
- Specifies the required file system type.
- Specifies the name of the mount point (preferably an empty directory).
- Specifies the name of the host AIX NFS server.
- Specifies the name of the home directory on the AIX NFS server.
- Specifies the
PARM
operand option for the NFS client.
In this example, the mount command is used to mount an AIX home directory using the NFS version 4 protocol.
mount filesystem(nfs03) type(nfs) mountpoint('/u/nfsdir2')
parm('aix6000:/home/user,xlat(y),vers(4)')
In this example:
- Description
- Specifies the name of the file system to be added to the file system hierarchy.
- Specifies the required file system type.
- Specifies the name of the mount point (preferably an empty directory).
- Specifies the name of the host AIX NFS server.
- Specifies the name of the home directory on the AIX NFS server.
- Specifies the
PARM
operand option for the NFS client. - Specifies the version of NFS protocol that is being used.
In this example, the mount command is used to mount a Windows Share using the NFS version 4 protocol.
mount filesystem(nfs04) type(nfs) mountpoint('/u/nfsdir4')
parm('windowshost:"D:/",xlat(y),vers(4)')
In this example:
- Description
- Specifies the name of the file system to be added to the file system hierarchy.
- Specifies the required file system type.
- Specifies the name of the mount point (preferably an empty directory).
- Specifies the hostname of the Windows NFS server.
- Specifies the name of the share on the Windows NFS server.
- Specifies the
PARM
operand option for the NFS client. - Specifies the version of NFS protocol that is being used.