I’ve been using opensuse for many years and have decided to set up a central file server for all of the computers in our home using 13.1. I can ssh into it instantly. I have worked through the opensuse nfs server how to but I cannot get my client to see the server even with the firewall down. I have set up a static IP address on the client and server all going through a cisco gigabit switch as well as adding the host and client to the respective hosts files. I’m also using 2 x 2gb hard drives in a raid 0 configuration for /srv and a small (30gb) ssd for /. I have nfsv4 enabled on the server but neither a v3 or v4 will mount on the client.
when I run showmount -e 192.168.1.2 on the client it takes some time but I get
linux-86pk:/home/andy # showmount -e 192.168.1.2
Export list for 192.168.1.2:
/srv *
/srv/documents *
/srv/angelapublic *
/srv/angelapictures *
/srv/angelamobile *
/srv/angelaharc *
/srv/angeladowloads *
/srv/angeladesktop *
/srv/andyvideos *
/srv/andypublic *
/srv/andypictures *
/srv/andymusic *
/srv/andymobile *
/srv/andyihoho *
/srv/andydownloads *
/srv/andydocuments *
/srv/andydesktop *
/srv/andycycling *
on the server:
my exports file:
/srv/andycycling *(rw,no_root_squash,sync,no_subtree_check)
/srv/andydesktop *(rw,no_root_squash,sync,no_subtree_check)
/srv/andydocuments *(rw,no_root_squash,sync,no_subtree_check)
/srv/andydownloads *(rw,no_root_squash,sync,no_subtree_check)
/srv/andyihoho *(rw,no_root_squash,sync,no_subtree_check)
/srv/andymobile *(rw,no_root_squash,sync,no_subtree_check)
/srv/andymusic *(rw,no_root_squash,sync,no_subtree_check)
/srv/andypictures *(rw,no_root_squash,sync,no_subtree_check)
/srv/andypublic *(rw,no_root_squash,sync,no_subtree_check)
/srv/andyvideos *(rw,no_root_squash,sync,no_subtree_check)
/srv/angeladesktop *(rw,no_root_squash,sync,no_subtree_check)
/srv/angeladowloads *(rw,no_root_squash,sync,no_subtree_check)
/srv/angelaharc *(rw,no_root_squash,sync,no_subtree_check)
/srv/angelamobile *(rw,no_root_squash,sync,no_subtree_check)
/srv/angelapictures *(rw,no_root_squash,sync,no_subtree_check)
/srv/angelapublic *(rw,no_root_squash,sync,no_subtree_check)
/srv/documents *(rw,no_root_squash,sync,no_subtree_check)
/srv *(rw,no_root_squash,sync,no_subtree_check)
~
linux-ulh0:/home/andy # rpcinfo -p
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100005 1 udp 20048 mountd
100005 1 tcp 20048 mountd
100005 2 udp 20048 mountd
100005 2 tcp 20048 mountd
100005 3 udp 20048 mountd
100005 3 tcp 20048 mountd
100024 1 udp 57907 status
100024 1 tcp 51317 status
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049 nfs_acl
100227 3 tcp 2049 nfs_acl
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 2 udp 2049 nfs_acl
100227 3 udp 2049 nfs_acl
100021 1 udp 45434 nlockmgr
100021 3 udp 45434 nlockmgr
100021 4 udp 45434 nlockmgr
100021 1 tcp 39557 nlockmgr
100021 3 tcp 39557 nlockmgr
100021 4 tcp 39557 nlockmgr
linux-ulh0:/home/andy # showmount -e
Export list for linux-ulh0:
/srv *
/srv/documents *
/srv/angelapublic *
/srv/angelapictures *
/srv/angelamobile *
/srv/angelaharc *
/srv/angeladowloads *
/srv/angeladesktop *
/srv/andyvideos *
/srv/andypublic *
/srv/andypictures *
/srv/andymusic *
/srv/andymobile *
/srv/andyihoho *
/srv/andydownloads *
/srv/andydocuments *
/srv/andydesktop *
/srv/andycycling *
linux-ulh0:/home/andy # showmount -a
All mount points on linux-ulh0:
It will not work trying to mount through Yast, fstab or a manual mount using “mount -t nfs 192.168.1.2:/srv /home/andy/.mnt” which just times out with no entries on /var/log/messages about nfs.
.
I’ve trawled the internet and various man pages but can’t figure out for the life of me what I’m doing wrong! Any help gratefully received!
Thanks.
Andy.