Re: NFS mounts but ls says "Input/output error"
- From: "Charlie Gibbs" <cgibbs@xxxxxxxxxxxxxxxx>
- Date: 30 Nov 07 08:03:06 -0800
In article <47502178$0$3816$5402220f@xxxxxxxxxxxxxxx>, mblume@xxxxxxxxx
(Martin Blume) writes:
"Charlie Gibbs" schrieb
[NFS mounts but ls has input/output error]
What say the logs (/var/log/messages, I believe nfsd logs
also there)?
Each mount or umount generates an "rpc.mountd: authenticated
[un]mount request from <client IP address:port> for <directory
name>" message on the server, even on directories that give an
error when I try to do an ls.
What are the permissions on the directories?
Duh! /home/cjg was 711, while /bigspace, another directory which
mounts and works just fine, is 755. A simple chmod did the trick.
Subsequently, directories within /home/cjg, which had permissions
of 700, were inaccessible until I changed them to 755, although I've
found that 744 (read permission) is enough for me to look inside.
It turns out that the user IDs I'm using on the client machine
don't match the user ID to which the server's directories and files
belong. Running as root on the client made no difference, but
I don't have no_root_squash specified so that's not surprising.
Many thanks for the tip - you've saved my hair. It seems odd,
though, that ls would return an obscure message like "Input/output
error" rather than some sort of "permission denied" message, which
would have immediately led me to the cause of the error...
--
/~\ cgibbs@xxxxxxxxxxxxxxxx (Charlie Gibbs)
\ / I'm really at ac.dekanfrus if you read it the right way.
X Top-posted messages will probably be ignored. See RFC1855.
/ \ HTML will DEFINITELY be ignored. Join the ASCII ribbon campaign!
.
- References:
- NFS mounts but ls says "Input/output error"
- From: Charlie Gibbs
- Re: NFS mounts but ls says "Input/output error"
- From: Ashish Shukla आशीष शुक्ल
- Re: NFS mounts but ls says "Input/output error"
- From: Charlie Gibbs
- Re: NFS mounts but ls says "Input/output error"
- From: Charlie Gibbs
- Re: NFS mounts but ls says "Input/output error"
- From: Martin Blume
- NFS mounts but ls says "Input/output error"
- Prev by Date: Re: mounted NFS blocks "forever"
- Next by Date: Re: mounted NFS blocks "forever"
- Previous by thread: Re: NFS mounts but ls says "Input/output error"
- Next by thread: confuse for arp response
- Index(es):
Relevant Pages
|