Talk:Mounting an NFS share on Ubuntu

From QNAPedia
Jump to navigation Jump to search

In Ubuntu 14.04, portmap has been replaced with rcpbind.

At any rate, the mount command give here just produces a mount.nfs: an incorrect mount option was specified error on the system I just tried it on.  The share is set up to allow the user in question read/write access, and NFS host access turned on for this share in Edit Shared Folder Permission, so I'm not sure what the issue is yet. It is possible to mount the share with cifs. Have also tried adding the vers=3 option, after -o and this did not fix the issue. SMcCandlish (talk) 10:53, 26 February 2016 (CST)

Mounting an NFS share on Ubuntu

I had the same problem as the previous user...

mount.nfs: an incorrect mount option was specified

...it looks like the username and password options are not valid for nfs mounts.  I tried using vers=5, and this time I did not get the error above, but the drive did not mount...

ryan@jonesdesktop:~$ sudo mount -vvv -t nfs -o username=ryan,password=removed,vers=5 192.168.0.101:ryan /home/ryan/ryannas
mount: fstab path: "/etc/fstab"
mount: mtab path:  "/etc/mtab"
mount: lock path:  "/etc/mtab~"
mount: temp path:  "/etc/mtab.tmp"
mount: UID:        0
mount: eUID:       0
mount: spec:  "192.168.0.101:ryan"
mount: node:  "/home/ryan/ryannas"
mount: types: "nfs"
mount: opts:  "username=ryan,password=removed,vers=5"
mount: external mount: argv[0] = "/sbin/mount.nfs"
mount: external mount: argv[1] = "192.168.0.101:ryan"
mount: external mount: argv[2] = "/home/ryan/ryannas"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw,username=ryan,password=removed,vers=5"

...this output looks like everything went fine, but the drive is not mapped.  Has anyone figured out how to resolve this?