"/usr/bin/ls: reading directory .: Input/output error"
Hey, ive got this wierd problem, running Kernelversion 2.6.7 on Slackware 10.0
i get "/usr/bin/ls: reading directory .: Input/output error" when im trying "ls" on the share. Please help me :) |
Oh, and im using a NFS share. Tried to reboot the NFS-server and remounting and such. Works on all the other machines using this server.
|
I have no problem with mount nfs share point with a fstab line as :
10.0.0.10:/shared /mnt/net nfs rw,sync,noauto,user,rsize=8192,timeo=14,wsize=8192,intr 0 0 It may be a permission problem also |
Im gonna try that since it works fine on all other computers linked to the NFS server. :)
|
Fuck, no error anymore. The SSH just hangs instead, fucking shit :(
|
If ssh hang it may be a netfilter problem ? Or are you sure that sshd is running in the server ?
|
Sorry, what i meant was that the whole "ls" hung up when i tried... :(
|
I don't get it, you talk about nfs share and now ssh... Could you post your entire commands session that leads you to this error ?
|
The problem is, i cant list files in my NFS share. Your former help didn't work either.
The client, my machine, is behind a NAT, with port 111 open on both TCP and UDP. There are other clients who's also behind NAT's on the same NFS server, thoose without a problem like mine. Portmap is ofcourse also running. Any ideas? :cry: |
try open udp 2049 and tcp 2049 in your machine
|
Quote:
root@FiKUS:/glftpd/ftp-data/users.ext# ls /usr/bin/ls: reading directory .: Input/output error |
did you try to ls as simple user (not root) ?
and does the output of... : mount ...confirm that the share is mounted ? Also the command : df ...works properly (it does not hang ?) |
Quote:
ls doesn't work as another user than root either. Mount shows the mount df works and it doesn't hang up. :\ And the thing is, ive got two mounts from the same NFS-server, one of these two works fine to list, but the other doesn't, as you've seen. Bigger file maybe?! |
I assume that you have not weird mount point for your share like one as /mnt/net and the other as /mnt/net/other
does 'showmount -e <nfs server>' shows the exports from the server ? |
Quote:
Yes it shows the other exports ! |
All times are GMT -5. The time now is 01:22 PM. |