
Originally Posted by
wilsonal2
For everyone that had problems mounting the Valkyrie NAS via NFS I have the solution. The problem was that every time you tried to mount the NAS you got a error message of “mount.nfs: access denied by server while mounting 10.25.70.90:/mnt/data/public” (my Valkyrie NAS ip is 10.25.70.90) and no matter what you tried you could not get it to work. Even though using “showmount -e 10.25.70.90” replied with the NAS export list (/mnt/data/public 10.25.70.*) and “rpcinfo -p 10.25.70.90” showed that the NAS was listening to the correct ports and ready to accept a nfs mount request for nfs versions 2, 3, 4. Well like so many things that we have learned about the Valkyrie what is says and what is does is not the same thing. The Valkyrie does support NFS mounts with version 3, 4 or the firmware (I'm using ver. 4) BUT ONLY USING NFS3 NOT NFS4. If you use “mount -v -t nfs -o vers=3 10.25.70.90:/mnt/data/public /mnt/NAS” (I'm running Fedora 16) the Valkyrie will mount via NFS just fine, every time. Since most modern linux OS default to NFSv4 and the Valkyrie rpcinfo says it will accept NFSv4 your system does not try NFSv3 or NFSv2 to mount. By forcing your system to use NFSv3 you can now mount the NAS export just fine.
Also mounting via NFS the I/O speed to the device improves dramatically. I have not done benchmark test yet but transferring 735M using a 1gig network took only 40 sec. For me this was better then I ever had in the past using cifs to mount
I'm happy to hear that things are working for you - I wish I could say that the solution was a universal fix :-(
Code:
[jerry@unix Download]$ sudo mount -v -t nfs -o vers=3 diskspace:/mnt/data/public /mnt/diskspace
mount.nfs: timeout set for Fri Mar 16 21:38:24 2012
mount.nfs: trying text-based options 'vers=3,addr=192.168.1.30'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.30 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.30 prog 100005 vers 3 prot UDP port 2520
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting diskspace:/mnt/data/public
[jerry@unix Download]$ showmount -e diskspace
bash: showmount: command not found
You have new mail in /var/spool/mail/jerry
[jerry@unix Download]$ sudo showmount -e diskspace
Export list for diskspace:
/mnt/data/public 192.168.1.*
I'll gladly entertain other thoughts/ideas