Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am running ubuntu 10.10 64 bit on my mac mini. After installing nfs-common, and attempting to mount using

mount -t nfs4 -o proto=tcp,port=2049 192.168.1.139:/volume1/magneto/ ./test

I keep getting this error:

mount.nfs4: mounting 192.168.1.139:/volume1/magneto/ failed, reason given by server: No such file or directory

When i run

showmount -e 192.168.1.139
Export list for 192.168.1.139:
/volume1/magneto *

It seems to indicate that the volume is there and that i'm typing the correct thing. I tried removing the trailing slash and no luck.

Does anyone have any idea why this is happening? I'm using this NAS: http://www.synology.com/us/products/DS1511+/index.php

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Unlike NFSv3, NFSv4 hides the prefix of the exported path (the NFS root). The prefix is configured in the exports on the NAS.

Try:

mount -t nfs4 -o proto=tcp,port=2049 192.168.1.139:/magneto/ ./test

Or:

mount -t nfs4 -o proto=tcp,port=2049 192.168.1.139:/ ./test
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.