Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
08-24-2004, 09:08 AM
|
#1
|
LQ Newbie
Registered: Aug 2004
Posts: 15
Rep:
|
"/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 
|
|
|
08-24-2004, 09:09 AM
|
#2
|
LQ Newbie
Registered: Aug 2004
Posts: 15
Original Poster
Rep:
|
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.
|
|
|
08-24-2004, 12:14 PM
|
#3
|
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140
|
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
|
|
|
08-24-2004, 12:38 PM
|
#4
|
LQ Newbie
Registered: Aug 2004
Posts: 15
Original Poster
Rep:
|
Im gonna try that since it works fine on all other computers linked to the NFS server. 
|
|
|
08-24-2004, 01:00 PM
|
#5
|
LQ Newbie
Registered: Aug 2004
Posts: 15
Original Poster
Rep:
|
Fuck, no error anymore. The SSH just hangs instead, fucking shit 
|
|
|
08-24-2004, 01:06 PM
|
#6
|
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140
|
If ssh hang it may be a netfilter problem ? Or are you sure that sshd is running in the server ?
|
|
|
08-24-2004, 01:10 PM
|
#7
|
LQ Newbie
Registered: Aug 2004
Posts: 15
Original Poster
Rep:
|
Sorry, what i meant was that the whole "ls" hung up when i tried... 
|
|
|
08-24-2004, 01:15 PM
|
#8
|
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140
|
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 ?
|
|
|
08-24-2004, 01:23 PM
|
#9
|
LQ Newbie
Registered: Aug 2004
Posts: 15
Original Poster
Rep:
|
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? 
|
|
|
08-24-2004, 01:50 PM
|
#10
|
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140
|
try open udp 2049 and tcp 2049 in your machine
Last edited by Cedrik; 08-24-2004 at 01:52 PM.
|
|
|
08-24-2004, 02:00 PM
|
#11
|
LQ Newbie
Registered: Aug 2004
Posts: 15
Original Poster
Rep:
|
Quote:
Originally posted by Cedrik
try open udp 2049 and tcp 2049 in your machine
|
Still no result... Same error....
root@FiKUS:/glftpd/ftp-data/users.ext# ls
/usr/bin/ls: reading directory .: Input/output error
|
|
|
08-24-2004, 02:06 PM
|
#12
|
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140
|
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 ?)
|
|
|
08-24-2004, 02:14 PM
|
#13
|
LQ Newbie
Registered: Aug 2004
Posts: 15
Original Poster
Rep:
|
Quote:
Originally posted by Cedrik
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 ?)
|
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?!
Last edited by DiZi; 08-24-2004 at 02:16 PM.
|
|
|
08-24-2004, 02:24 PM
|
#14
|
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140
|
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 ?
|
|
|
08-24-2004, 02:30 PM
|
#15
|
LQ Newbie
Registered: Aug 2004
Posts: 15
Original Poster
Rep:
|
Quote:
Originally posted by Cedrik
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 ?
|
No wierd points no.
Yes it shows the other exports !
|
|
|
All times are GMT -5. The time now is 07:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|