OpenVZ Forum


Home » General » Support » *SOLVED* NFS again: ls: reading directory .: Input/output error
*SOLVED* NFS again: ls: reading directory .: Input/output error [message #15093] Wed, 18 July 2007 17:46 Go to next message
aphexer is currently offline  aphexer
Messages: 6
Registered: May 2007
Location: Belgium
Junior Member
When I export a directory which is not group executable I get this error: ls: reading directory .: Input/output error when running ls on it.

I assume it's just me, having set the permissions wrong. Anyone a clue why it doesn't just say permission denied?

Step by step:

I have 2 VE's: one NFS server(10.1.1.2), the other NFS client(10.1.1.7).

On the server VE:
# mkdir /test
# chmod 755 /test
(setup /etc/exports)
relevant line:
/test 10.1.1.0/24(ro,root_squash)

On the client VE:
# mount 10.1.1.2:/test /mnt
# ls /mnt
dir1
(it worked)

# umount /mnt

On the server again:
# chmod g-x /test

Client again:
# mount 10.1.1.2:/test /mnt
# ls /mnt
ls: reading directory /mnt: Input/output error

When I change the root_squash to no_root_squash the error is gone...

Thanks in advance for any help:)

[Updated on: Thu, 19 July 2007 09:01] by Moderator

Report message to a moderator

Re: NFS again: ls: reading directory .: Input/output error [message #15104 is a reply to message #15093] Thu, 19 July 2007 08:34 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

Am I right, that you use user-space server in your VE? If so, then I'm pretty sure, that this problem is not OpenVZ related: you can reproduce this behaviour on two usual (not virtualized) nodes.

And if so, the question should got to the author of the user-space nfs server.

Thanks,
Vasily

[Updated on: Thu, 19 July 2007 08:35]

Report message to a moderator

Re: NFS again: ls: reading directory .: Input/output error [message #15107 is a reply to message #15093] Thu, 19 July 2007 08:47 Go to previous message
aphexer is currently offline  aphexer
Messages: 6
Registered: May 2007
Location: Belgium
Junior Member
Yeah, that's true, it's unfsd3 Smile I'll go see there then.

Thanks,
Previous Topic: setting up mrtg to account openVZ VPS bandwidth
Next Topic: Online migration "Error: undump failed: Invalid argument"
Goto Forum:
  


Current Time: Fri Jul 12 04:23:41 GMT 2024

Total time taken to generate the page: 0.02256 seconds