showmount --exports
vagy
sudo exportfs -v
rpcinfo -s
program version(s) netid(s) service owner 100000 2,3,4 local,udp,tcp,udp6,tcp6 portmapper superuser 100024 1 tcp6,udp6,tcp,udp status 118 100003 4,3,2 udp6,tcp6,udp,tcp nfs superuser ...
rpcinfo | awk '$5~"nfs|service"'
program version netid address service owner 100003 2 tcp 0.0.0.0.8.1 nfs superuser 100003 3 tcp 0.0.0.0.8.1 nfs superuser ...
rpcinfo -m localhost nfs
PORTMAP (version 2) statistics NULL SET UNSET GETPORT DUMP CALLIT 1 0/0 0/0 21/21 2 0/0 PMAP_GETPORT call statistics prog vers netid success failure nfs 4 tcp 1 0 ...
/etc/default/nfs-kernel-server
: ... RPCNFSDOPTS='--no-nfs-version 4 --no-nfs-version 3' ...
/etc/init.d/nfs-kernel-server restart
vers
vagy mountvers
opció használatával: mount 192.168.0.1:/foo/bar /my/foo/bar -t nfs -o 'mountvers=3'