1820754 Members
3607 Online
109627 Solutions
New Discussion юеВ

Re: NFS mount

 
SOLVED
Go to solution
Praveen Bezawada
Respected Contributor

NFS mount

Hi
I am trying to NFS mount from client machine
I made the entry
/SD_CDROM -access x.x.x.x
in server machine
exportfs -a
started nfs.server
and on client machine i started
nfs.client
then
mount -F nfs :/SD_CDROM /CDROM
I get the error
nfs mount: get_fh : :: RPC : Unknown Host
What could be the problem
Thanks in advance
Praveen
7 REPLIES 7
Rick Garland
Honored Contributor

Re: NFS mount

Unknown Host - check for the resolution of the server. Can you mount using the IP address instead of the hostname?
Praveen Bezawada
Respected Contributor

Re: NFS mount

HI
When I give IP i get permission denied.. : (
MARTINACHE
Respected Contributor
Solution

Re: NFS mount

Hi,

- Try to ping hostnames from cleint and server.

- If mount FS as root on client, you have to add -root ... in /etc/exports file of the server.

Regards,

Patrice.
Patrice MARTINACHE

Re: NFS mount

I'm surprised no one caught this. On his second error. The hostname error was valid. The second error, we saw he tried mount /SD_CDROM/CDROM. He only exported /SD_CDROM. In order for him to access /SD_CDROM/CDROM, that is what he would have to put in the /etc/exports file.

Best,

Chris Stamps
Gustavo_3
New Member

Re: NFS mount

I had the same problem, and the solution was that my nfs server was down in the machine where i ran the "exporfs" command.

/sbin/init.d/nfs.server start

...and that's it.

I hope it helps.

Best regards.

Pablo.
KapilRaj
Honored Contributor

Re: NFS mount

the problem is , teh nfs server is not able to resolve the client's hostname. add the client in /etc/hosts in server should fix it.

Kaps
Nothing is impossible
Muthukumar_5
Honored Contributor

Re: NFS mount

Hai,

Use the root option on exporting directories as like
exportfs -iv -o -root=x.x.x.x /SD_CDROM

You are giving access using the ip-address. What is ur entries in the NFS client /etc/hosts file. Did u check the connectivity to server using ping,linkloop.

The problem is because of server connectivity. Check RPC informations and mount informations with
nfsstat -r
nfsstat -m

If the rpc informations,no calls will be made for transaction.

Make the proper connectivity between the server and client. Check the hostname resolvation.

Regards,
Muthukumar
Easy to suggest when don't know about the problem!