Mount examples
Table 1 shows how to mount z/OS UNIX files from various platforms.
| Clients | Command Examples |
|---|---|
| AIX, UNIX/Linux, Solaris | mount -o vers=n,sec=r,proto=x mvshost1:"/hfs/smith"
/u/smith/mnt Note: For NFS version 4 mounts to the z/OS
NFS Server, it is recommended to use the "nordirplus" mount option
from Linux NFS Clients.
|
| Linux Redhat EL 5 (NFS version 4 only) | mount -t nfs4 -o sec=r,proto=x mvshost1:"/hfs/smith"
/u/smith/mnt Note: For NFS version 4 mounts to the z/OS
NFS Server, it is recommended to use the "nordirplus" mount option
from Linux NFS Clients.
|
| Windows | mount \\mvshost1\hfs\smith z: |
| Any (UNIX, Linux, Windows), with implicit prefix | mount .... mvshost1:/smith .... |
In the examples:
- Description
- Specifies the name of the MVS host.
- Specifies the HFS prefix. Note that the HFS Prefix is not required, depending on the implicit prefix selection algorithm specified in the IMPPREFIX site attribute.
- Specifies the HFS directory to be mounted.
- Specifies the local mount point.
- Specifies NFS protocol version 4 for Linux (optional)
- Specifies the NFS protocol version to be used (2 or 3 for Linux; 2, 3, or 4 for others) (optional)
- Specifies the mount security flavors. Valid options are sys, krb5, krb5i, and krb5p. Kerberos RPCSEC_GSS security flavors (krb5, krbpi, krb5p) are only supported by the z/OS NFS Server on NFS version 3 and NFS version 4 mounts.
- Specifies the transport protocol for the NFS client to communicate with the NFS server. Valid options are tcp or udp. (Note for IPv6, some platforms use proto=tcp6 instead of tcp)
Note:
- The /hfs prefix value is used by the z/OS NFS server to determine if a file is a z/OS UNIX file, and does not appear in the path name of an HFS file once it is mounted.
- The HFS prefix is not required, depending on the implicit prefix selection algorithm specified in the IMPPREFIX site attribute.