Errors while mounting NFS share from Linux to QNAP NAS
I'm trying to mount a share from a Linux computer to QNAP via NFS. NOT QNAP NFS share to Linux! Generally, the share mounts, but after the 3rd attempt:
Code:
mount -w -vt nfs -o rw,soft -O user=root,password=pass 192.168.0.2:/something_tam /share/CACHEDEV2_DATA/mnt |
It looks to be trying nfs4.2 first, then retrying lower versions until it gets one that works. Maybe
Code:
mount -w -vt nonfs4 ... |
Look at the output of the mount command to see how the share is being mounted. For version 3 it should look something like
Quote:
Code:
mount -vt nfs -o rw,soft,vers=3 192.168.0.2:/something_tam /share/CACHEDEV2_DATA/mnt |
THX - WORKS:
Code:
[/share/homes/media/Pobrane] # /bin/mount -vt nfs -o rw,soft,vers=3 -O user=<user>,password=<pass> 192.168.0.2:/home/maciek/back/RSYNC /share/CACHEDEV2_DATA/mnt |
The nfs client negotiates the version with the server, trying version 4 first, 3 second, and 2 last. You are just seeing the attempts because your using the verbose option (-v) and using vers=3 bypasses the negotiation. Did you verify without the vers option nfs was connecting using version 3? The actual error maybe due to the -w which may not be supported by the QNAP mount command or nfs client.
|
Installed version of QNAP FW, the NFS server can work with NFS ver 3 and 4.
Versions 2 and 4.2 are not supported by server. I have no information about client. But of course the problem I have is QNAP NFS client implementation. It looks very strange. If ver 4 is specified and error is reported but share is mounted anyway: Code:
[/share/homes/media/Pobrane] # /bin/mount -vt nfs -o rw,soft,vers=4 -O user=<user>,password=<pass> 192.168.0.2:/home/maciek/back/RSYNC /share/CACHEDEV2_DATA/mnt Without NFS ver specification, negotiation accrues and share is mounted - as follows: Code:
[/share/homes/media/Pobrane] # /bin/mount -vt nfs -o rw,soft -O user=<user>,password=<pass> 192.168.0.2:/home/maciek/back/RSYNC /share/CACHEDEV2_DATA/mnt |
All times are GMT -5. The time now is 07:40 PM. |