均在客户端操作
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 77G 21G 53G 28% /
tmpfs 3.8G 284K 3.8G 1% /dev/shm
/dev/sda1 485M 35M 426M 8% /boot
/dev/sda2 97G 85G 7.2G 93% /var
/dev/sda6 99G 26G 69G 27% /win7
10.10.60.89:/home/nfs
858G 210M 814G 1% /mnt
挂接nfs server的client端执行nfsstat -m命令,可以得出nfs server端nfs版本为4:查看vers=4得出
# nfsstat -m
/mnt from 10.10.60.89:/home/nfs
Flags: rw,relatime,vers=4,rsize=1048576,wsize=1048576,
namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,
clientaddr=10.10.60.98,minorversion=0,addr=10.10.60.89