AIX - NFS
Commands
exportfs
Display exported FS:
Export all FS:
Remove (Unexport) FS:
Services
List NFS services:
Restart NFS services:
Mount
Create NFS mount (write in /etc/filesystems):
mknfsmnt \
-f {local-path} \ # Local path
-d {nfs-path} \ # NFS path
-h {nfs-server} \ # NFS server
-w {bg|fg} \ # Background (bg) or Forground (fg)
-M {sec-method} \ # Security Method (sys,krb5,...)
-k {any|tcp|udp} # Transport Protocol
-K {2|3|4} \ # NFS Version
-b {rsize} \ # Buffer Read Size
-c {wsize} \ # Buffer Write Size
-o {timeout} \ # Timeout
-S|-H \ # Softmount|Hardmount
-A # Automount
# Ex: mknfsmnt \
# -f /data/nfs \
# -d /nfs_data \
# -h nfs-srv \
# -w bg -M sys -K 3 -k tcp \
# -b 32768 -c 32768 \
# -o 600 \
# -S -A
Mount NFS share:
Examples
Export file:
NFS share from /etc/filesystems:
/data:
dev = "/data"
vfs = nfs
nodename = nfs-srv
mount = true
options = bg,soft,intr,sec=sys
account = false
Links
- https://www.ibm.com/docs/en/aix/7.2?topic=m-mknfsmnt-command