Input Output Error In Linux
Contents |
after time Pages: 1 #1 2014-09-16 13:51:35 Carl Karl Member Registered: 2013-06-12 Posts: 225 [solved] NFS: "ls: reading directory .: Input/output error" after time Hello,I got the following configuration:NFS-server: Always on, linux input output error ls connected via LAN.NFS-clients: 2 computers, connected via LAN and WLAN. On standby:
Input Output Error Linux Rm
auto umount NFS-share via system-sleep-hook with systemd.This works flawlessly some hours or even days. But after some time,
Input Output Error Linux Usb
the following happens:1. mount nfs-share: no error message2a. trying to access that folder via filemanager, e.g. thunar: folder seems to be empty (it isn't on server!), but the correct freesize
Bash Input Output Error
of the NFS-share on server is displayed in the statusbar.2b. trying to access that folder via commandline: $ ls ls: reading directory .: Input/output errorThe very same worked just a few hours before, I haven't changed anything meanwhile. Apart from standby (--> auto umount NFS-share) and resume (manual mount NFS-share) on the clients which worked before, too.Any idea what's going wrong?additional linux bus error info:server: /etc/exports _______________________ /srv/nfs/myshare 192.168.2.0/24(rw,all_squash,anonuid=33,anongid=33,no_subtree_check)(yes, the mapping is needed and right.)clients:/etc/fstab _______________________ servername:/srv/nfs/myshare /home/carl/nfs nfs4 noauto,soft,user,_netdev,timeo=14,rsize=8192,wsize=8192 0 0/usr/lib/systemd/system-sleep/umount-nfs _______________________ #!/bin/sh case $1 in pre) umount -f /home/carl/nfs ;; esac Last edited by Carl Karl (2014-09-21 17:07:47) Offline #2 2014-09-16 14:15:27 nomorewindows Member Registered: 2010-04-03 Posts: 3,015 Re: [solved] NFS: "ls: reading directory .: Input/output error" after time Somehow your nfs mounts have gone stale. You'd need to remount them or restart nfs related services. Dmesg or syslog output may help. I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...Look ma, no mouse. Offline #3 2014-09-16 14:29:10 Carl Karl Member Registered: 2013-06-12 Posts: 225 Re: [solved] NFS: "ls: reading directory .: Input/output error" after time Indeed, there could be something interesting in dmesg on the server:[ 4.190117] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory [ 4.190596] NFSD: starting 90-second grace period (net ffffffff818a9540) [ 5.445237] [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off [ 5.895519] r8169 0000:04:00.0 enp4s0: link up [ 5.895529] IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready [72346.265850] usb
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu file input output error linux Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official linux input subsystem Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! linux input output error deleting file Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Input/output error when https://bbs.archlinux.org/viewtopic.php?id=187131 accesing a directory Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 7 of 7 Thread: Input/output error when accesing a directory Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode https://ubuntuforums.org/showthread.php?t=1605384 Switch to Threaded Mode October 25th, 2010 #1 tjoff View Profile View Forum Posts Private Message Just Give Me the Beans! Join Date Apr 2009 Location Denmark Beans 58 DistroUbuntu 10.04 Lucid Lynx Input/output error when accesing a directory Hi I have a directory "foo" on a NTFS partition of my hard drive, which i created a couple of days ago. After creation it worked fine and i put some files in it, but the day after i get the following error: me@mymachine:/media/disk1$ ls -l foo ls: cannot access foo: Input/output error me@mymachine:/media/disk1$ ls -l ls: cannot access foo: Input/output error total 101 d????????? ? ? ? ? ? foo (+ a succesful listing of other files and directories) I get the Input/output error no matter what i try to do to the directory (rm, mv, cd, etc.), and no matter which privileges i have. I read some threads suggesting that it is a hardware problem. I tried running ntfsfix on the partition: me@mymachine:~$ sudo ntfsfix /dev/sda3 Mounting volume... OK Processing of $MFT a
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie Input/output error User Name Remember Me? Password Linux - Newbie This Linux forum is for members that are new to Linux. Just starting out and have a question? If http://www.linuxquestions.org/questions/linux-newbie-8/input-output-error-222152/ it is not in the man pages or the how-to's this is the place! 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 http://stackoverflow.com/questions/18819812/ls-reading-directory-input-output-error 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 input output 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. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux input output error Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 08-25-2004, 06:19 AM #1 rob19 Member Registered: Mar 2003 Location: New Zealand Distribution: Red Hat Linux 8 & 9 Posts: 32 Rep: Input/output error I have been running a Web server with RH9 for about six months now. Everything has been going fine and I have not made any changes for a while. However, I have just noticed that Webalizer is no longer producing reports properly (they seem garbled) and now I cannot even copy files via FTP or even do a mkdir without getting an error (see below). Code: mkdir testing mkdir: cannot create directory `testing': Input/output error I tried to search for this and found people had similar errors but they mostly seemed to be tampering with their partitions and I have not been doing this. One pr
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up ls: reading directory .: Input/output error [closed] up vote 2 down vote favorite My system raised the I/O error when I tried to use 'ls' on a mounted hard disk. I am using hadoop@hbase1:/hddata$ uname -a Linux hbase1 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux hadoop@hbase1:/hddata$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/hbase2--vg-root 468028968 2715496 441532304 1% / udev 6081916 4 6081912 1% /dev tmpfs 2436652 336 2436316 1% /run none 5120 0 5120 0% /run/lock none 6091620 0 6091620 0% /run/shm /dev/sda1 1922727280 867279740 957771940 48% /hddata /dev/sdb1 233191 27854 192896 13% /boot 10.18.103.101:/data/marketdata 1883265024 1644255232 143344640 92% /srv/data/marketdatah The last several lines of dmesg hadoop@hbase1:/hddata$ dmesg | tail [316263.280056] EXT4-fs (sda1): previous I/O error to superblock detected [316263.281326] sd 0:0:0:0: [sda] Unhandled error code [316263.281329] sd 0:0:0:0: [sda] [316263.281330] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK [316263.281332] sd 0:0:0:0: [sda] CDB: [316263.281334] Write(10): 2a 00 00 00 00 3f 00 00 08 00 [316263.281342] end_request: I/O error, dev sda, sector 63 [316263.282584] Buffer I/O error on device sda1, logical block 0 [316263.283799] lost page write due to I/O error on sda1 [316263.283842] EXT4-fs error (device sda1): ext4_find_entry:1270: inode #2: comm bash: reading directory lblock 0 linux filesystems