Hi,
I have setup an NFS server to share two media folders on my OpenSuse 12.2 system for playing media files on my raspberry Pi (client). I used the Yast module. One folder is on a hard disk mounted at /Data-1 and the second folder is in my home directory. The output of cat /etc/exports:
/Data-1/Films2 192.168.0.100(fsid=0,crossmnt,ro,all_squash,sync,no_subtree_check,insecure) 192.168.0.101(fsid=0,crossmnt,ro,all_squash,sync,no_subtree_check,insecure) 192.168.0.102(fsid=0,crossmnt,ro,all_squash,sync,no_subtree_check,insecure) 192.168.0.103(fsid=0,crossmnt,ro,all_squash,sync,no_subtree_check,insecure) 192.168.0.1/24(fsid=0,crossmnt,ro,all_squash,sync,no_subtree_check,insecure) 192.168.0.105(fsid=0,crossmnt,ro,all_squash,sync,no_subtree_check,insecure)
/home/stephan/Films 192.168.0.100(fsid=0,crossmnt,ro,all_squash,sync,no_subtree_check,insecure) 192.168.0.101(fsid=0,crossmnt,ro,all_squash,sync,no_subtree_check,insecure) 192.168.0.102(fsid=0,crossmnt,ro,all_squash,sync,no_subtree_check,insecure) 192.168.0.103(fsid=0,crossmnt,ro,all_squash,sync,no_subtree_check,insecure) 192.168.0.1/24(fsid=0,crossmnt,ro,all_squash,sync,no_subtree_check,insecure) 192.168.0.105(fsid=0,crossmnt,ro,all_squash,sync,no_subtree_check,insecure)
When I mount the first folder (/Data-1/Fims2) from the client (using qputty) all is well. When I try to mount the second folder from the client, the contents displayed in the folder is that of the first folder. . . .
The commands used to mount the different folders:
sudo mount -v 192.168.0.102:/Data-1/Films2 /FimsPi2
sudo mount -v 192.168.0.102:/home/stephan/Films /FilmsPi
It makes no difference which folder I mount first, the only folder that is ever displayed is the folder /Data-1/Films2.
my etc/fstab has the following contents:
/dev/disk/by-id/ata-WDC_WD20EARX-00PASB0_WD-WCAZA8905424-part2 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD20EARX-00PASB0_WD-WCAZA8905424-part5 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD20EARX-00PASB0_WD-WCAZA8905424-part6 /home ext4 defaults 1 2
/dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ1KPB21283-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/disk/by-id/ata-SAMSUNG_HD204UI_S2H7JD2Z904488-part1 /Data-1 ext4 defaults 1 2
some more output from the server side that might help:
rpcinfo -p localhost
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 49077 mountd
100005 1 tcp 42682 mountd
100005 2 udp 59352 mountd
100005 2 tcp 49038 mountd
100005 3 udp 49557 mountd
100005 3 tcp 60968 mountd
100024 1 udp 34660 status
100024 1 tcp 58939 status
100003 2 tcp 2049 nfs
100003 3 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
100227 2 udp 2049 nfs_acl
100227 3 udp 2049 nfs_acl
100021 1 udp 60047 nlockmgr
100021 3 udp 60047 nlockmgr
100021 4 udp 60047 nlockmgr
100021 1 tcp 38896 nlockmgr
100021 3 tcp 38896 nlockmgr
100021 4 tcp 38896 nlockmgr
and from the client side:
sudo rpcinfo -p localhost
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
100024 1 udp 53070 status
100024 1 tcp 35720 status
100021 1 udp 58577 nlockmgr
100021 3 udp 58577 nlockmgr
100021 4 udp 58577 nlockmgr
100021 1 tcp 41332 nlockmgr
100021 3 tcp 41332 nlockmgr
100021 4 tcp 41332 nlockmgr
Does anyone have any idea how tho solve this so I can watch all my movies -
Thanks for the help,
Regards,
Stephan
My server system:
Linux 3.4.11-2.16-desktop x86_64
openSUSE 12.2 (x86_64)
KDE: 4.8.5 (4.8.5) “release 2”
My client system:
raspberry Pi running openelec, raspbian Wheezy and Xbian