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:

Operand
Description
nfs00
Specifies the name of the file system to be added to the file system hierarchy.
nfs
Specifies the required file system type.
/u/nfsdir
Specifies the name of the mount point (preferably an empty directory).
stlmvs3
Specifies the name of the host NFS server.
user
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)')
text
Specifies the processing attribute for the NFS server.
soft
Specifies the PARM operand option for the NFS client.
timeo(100)
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:

Operand
Description
nfs01
Specifies the name of the file system to be added to the file system hierarchy.
nfs
Specifies the required file system type.
/u/nfsdir1
Specifies the name of the mount point (preferably an empty directory).
stlmvs3
Specifies the name of the host NFS server.
/hfs/u/user
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.
binary
Specifies the processing attribute for the NFS server.
soft
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:

Operand
Description
nfs02
Specifies the name of the file system to be added to the file system hierarchy.
nfs
Specifies the required file system type.
/u/nfsdir2
Specifies the name of the mount point (preferably an empty directory).
aix6000
Specifies the name of the host AIX NFS server.
/home/user
Specifies the name of the home directory on the AIX NFS server.
xlat(y)
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:

Operand
Description
nfs03
Specifies the name of the file system to be added to the file system hierarchy.
nfs
Specifies the required file system type.
/u/nfsdir2
Specifies the name of the mount point (preferably an empty directory).
aix6000
Specifies the name of the host AIX NFS server.
/home/user
Specifies the name of the home directory on the AIX NFS server.
xlat(y)
Specifies the PARM operand option for the NFS client.
vers(4)
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:

Operand
Description
nfs04
Specifies the name of the file system to be added to the file system hierarchy.
nfs
Specifies the required file system type.
/u/nfsdir4
Specifies the name of the mount point (preferably an empty directory).
windowshost
Specifies the hostname of the Windows NFS server.
D:/
Specifies the name of the share on the Windows NFS server.
xlat(y)
Specifies the PARM operand option for the NFS client.
vers(4)
Specifies the version of NFS protocol that is being used.