1825715 Members
3004 Online
109686 Solutions
New Discussion

Nfs mount problem

 
Tarek Ghaddar
New Member

Nfs mount problem

Hi i want to share directories through unix systems but i got some problems. On one workstation i shared directories and on the other i'm trying to mount. On the client if i issue: mount servername:/directory /my_directory it works fine, but if i try on client to do cd /net/servername/directory i got this error message:
/net/servername/directory: No such file or directory..
why? with the mount command it works. On the server the nfs.server is up and on the client nfs.client is up..so any help??
Thanks
4 REPLIES 4
Frederic Sevestre
Honored Contributor

Re: Nfs mount problem

Hi,
Is the mount directory the same than the directory you try to go in ?
Did you type :
# mount servername:/directory /net/servername/directory ?
After the mount type bdf to check if the mount worked propely.

Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
Tarek Ghaddar
New Member

Re: Nfs mount problem

It's not the same directory. And as you told me to do
mount server:/directory /net/servername/directory it doesn't work, but it's because /net/servername/directory does not exist. By typing cd /net/servername/directory is a fast way to mount directories via nfs.
Frederic Sevestre
Honored Contributor

Re: Nfs mount problem

Did you try
# cd

I tried the cd /net/severname/directory on one of my server, with the same results : not found
But cd works fine.

Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
Tarek Ghaddar
New Member

Re: Nfs mount problem

I've solved. The problem was related to the /etc/auto_master that was wrong configurated.
Thanks for your help.