Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm kind of new to working with NFS shares, but here's what I have.

Server:

/etc/hosts.allow:

ALL: client1.mydomain.com, client2.mydomain.com

/etc/hosts.deny:

portmap:ALL
lockd:ALL
mountd:All
rquotad:ALL
statd:ALL

/etc/exports:

/mnt/storage client1.mydomain.com(rw) client2.mydomain.com(rw)
/mnt/logs client1.mydomain.com(rw) client2.mydomain.com(rw)

On a client computer, I run the following:

mount server1.mydomain.com:/mnt/storage /mnt/storage

It hangs for a very long time, then fails with:

mount.nfs: Input/output error

What's the problem here, how can I tell what's going wrong?

share|improve this question
    
can you add the output of 'showmount -e servername' on the client? –  Michael Mittelstadt Jun 16 '11 at 0:31
    
Just a thought, but the URIs can be successfully resolved to IP addresses? –  Dabu Jun 16 '11 at 7:01
add comment

1 Answer

up vote 0 down vote accepted

I needed simply to run portmapper on each client before trying to mount. Weird. I would assume that the mount.nfs command would know to do that, but it apparently doesn't.

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.