Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Having bought a DNS-320 I aim to use it similarly to an existing DNS-323 as NFS server, using rsync to sync between the 2 NAS boxes for backup, with another linux host as client, which will serve samba and slimserver. I have successfully run NFS server on the DNS-323 for more then 2 years with FFP 0.5 from 10 Jun 2010, but am struggling with DNS-320.
The problem I have is when I attempt to mount on the NFS client I see:
root@raspie:~# mount -t nfs -v -o 'vers=3' 192.168.7.233:/mnt/HD /mnt/plink/export mount.nfs: timeout set for Wed Jan 16 19:53:49 2013 mount.nfs: trying text-based options 'vers=3,addr=192.168.7.233' mount.nfs: prog 100003, trying vers=3, prot=6 mount.nfs: trying 192.168.7.233 prog 100003 vers 3 prot TCP port 2049 mount.nfs: prog 100005, trying vers=3, prot=17 mount.nfs: trying 192.168.7.233 prog 100005 vers 3 prot UDP port 32772 mount.nfs: mount(2): Permission denied mount.nfs: access denied by server while mounting 192.168.7.233:/mnt/HD root@raspie:~#
I have rebuilt DNS-320 from scratch, checked everything I know about and read many postings of similar problems without success. I note in the above output that the final mount attempt uses Version 3, UDP, port 32772, which is in line with the rpcinfo output (below), but on the DNS-323, where this is working, I see it uses Version 3, UDP, port 1027. That is in line with the rpcinfo for that server, but I don't know why these are different, and whether this is a problem.
Authentication is set up using ssh-keygen with the id_rsa.pub copied to the DNS-320 and that allows SSH access without password, so seems good. I have also tried with that removed, to see whether prompted for password, but the result is the same.
Exports file is as below. It is the default file created at /ffp/etc/exports and linked to /etc/exports by the script by /ffp/start/nfsd.sh
/mnt/HD 192.168.7.0/24(rw,no_root_squash,no_subtree_check) /mnt/HD_a4 192.168.7.0/24(rw,no_root_squash,no_subtree_check) /mnt/USB 192.168.7.0/24(rw,no_root_squash,no_subtree_check) /mnt/isoMount 192.168.7.0/24(rw,no_root_squash,no_subtree_check) /mnt/web_page 192.168.7.0/24(rw,no_root_squash,no_subtree_check)
On the client I can see:
root@raspie:~# showmount -e 192.168.7.233 Export list for 192.168.7.233: /mnt/web_page 192.168.7.0/24 /mnt/isoMount 192.168.7.0/24 /mnt/USB 192.168.7.0/24 /mnt/HD_a4 192.168.7.0/24 /mnt/HD 192.168.7.0/24 root@raspie:~#
Also on the client:
root@raspie:~# rpcinfo -p 192.168.7.233 program vers proto port service 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100024 1 udp 32769 status 100024 1 tcp 52462 status 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100021 1 tcp 42527 nlockmgr 100021 3 tcp 42527 nlockmgr 100021 4 tcp 42527 nlockmgr 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100021 1 udp 32771 nlockmgr 100021 3 udp 32771 nlockmgr 100021 4 udp 32771 nlockmgr 100005 1 udp 32772 mountd 100005 1 tcp 49010 mountd 100005 2 udp 32772 mountd 100005 2 tcp 49010 mountd 100005 3 udp 32772 mountd 100005 3 tcp 49010 mountd root@raspie:~#
On the server I added 2 entries to /etc/services which are recreated by an echo in /ffp/etc/fun_plog.local because I was previously getting an error running /ffp/start/nfsd.sh, but I did not need to do that on the DNS-323:
nfs 2049/tcp nfs 2049/udp
So I am stuck as to next step and would be truly grateful for any advice on this.
Thanks
Pete
Offline
I have installed syslog to try and understand what is going wrong. After failed login attempt I see in server syslog:
Jan 18 01:02:55 plink320 rpc.mountd[4616]: authenticated mount request from 192.168.7.231:792 for /mnt/HD/HD_a2 (/mnt/HD/HD_a2) Jan 18 01:02:55 plink320 rpc.mountd[4616]: qword_eol: fflush failed: errno 9 (Bad file descriptor) Jan 18 01:02:55 plink320 rpc.mountd[4616]: Cannot export /mnt/HD/HD_a2, possibly unsupported filesystem or fsid= required
The first message suggests authentication is OK, but there seems to be a problem with the file system being exported ?
I changed the exports file in light of the message, but still get the same problem. exports is now:
/mnt/HD/HD_a2 *(rw,no_root_squash,no_subtree_check,fsid=0) /mnt/HD_a4 192.168.7.0/24(rw,no_root_squash,no_subtree_check) /mnt/USB 192.168.7.0/24(rw,no_root_squash,no_subtree_check) /mnt/isoMount 192.168.7.0/24(rw,no_root_squash,no_subtree_check) /mnt/web_page 192.168.7.0/24(rw,no_root_squash,no_subtree_check)
Any suggestions would be welcome,
Thanks,
Pete
Offline
I found the solution. Apparently there is a bug in util-linux-2.20; have found various bug reports on this relating to the errors I was seeing in syslog. Downgraded to util-linux-2.18 from kylek repository and that has solved the problem.
Offline