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 have added this line to my /etc/fstab in my ubuntu environment

fs-abc-03.abc.mycompany.com:/vol/vol02902/drive /projects/drive nfs intr,nolock 0 0

but after I reboot and I 'cd /projects/drive', it said 'path not found'.

What else I need to do/trouble shoot this problem?

share|improve this question
    
What error message, if any, do you receive when you do sudo mount /projects/drive ? –  Lars Rohrbach Nov 10 '12 at 0:14
    
It said 'mount.nfs: mount point /projects/drive does not exist' –  michael Nov 10 '12 at 0:26
    
Ah, then do sudo mkdir -p /projects/drive and try again. –  Lars Rohrbach Nov 10 '12 at 0:27
add comment

1 Answer

The mountpoint (/projects/drive) needs to exist before the NFS mount can succeed. So make sure you create it with

 sudo mkdir -p /projects/drive

Once the mountpoint exists, you can test the mount, to see if you get any displayed error messages (such as the remote server denying mount access, or you have some configuration typo in your /etc/fstab):

 sudo mount /projects/drive

If that works, then you should be all set for the next reboot to mount it automatically.

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.