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 previous 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

 
Read Message
Read Message
Read Message
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:31:01 GMT 2024

Total time taken to generate the page: 0.02253 seconds