Nfs /bin/ls Reading Directory . Input/output Error
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,
Ls Reading Directory . Input/output Error Centos
connected via LAN.NFS-clients: 2 computers, connected via LAN and WLAN. On standby: linux input output error deleting file 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 nfs 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
Input/output Error Ubuntu
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
Ls: Reading Directory .: Input/output Error Ext4
wrong?additional 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.2658
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook cannot open directory . input/output error Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights
Ls Reading Directory . Input/output Error Redhat
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 while copying linux Input/output error when 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 https://bbs.archlinux.org/viewtopic.php?id=187131 Thread: Input/output error when accesing a directory Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode 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, https://ubuntuforums.org/showthread.php?t=1605384 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 and $MFTMirr completed successfully. NTFS volume version is 3.1. NTFS partition /dev/sda3 was processed successfully. I have also run the short and the long SMART test from the disk utility, resulting in the overall assessment: Disk is healthy. It would be nice to know how to recover the data in the directory, but i have backup so that part is not crucial. I could also reformat the whole drive to ext4, which I eventually would have done in any case. Or i could just ignore the defective folder which does not harm anyone. However if this problem is the first warning of a failing drive,
login Username: * Password: * Create new account Request new password Tickets per project All tickets French Republican Calendar and Decimal Time API Linux distribution Linux hardware Linux server Linux http://linux.overshoot.tv/ticket/64 software Programming Web site lftp Home » Linux software » Issues » https://community.hpe.com/t5/System-Administration/ls-la-commands-gives-Input-Output-error-on-NFS-share/td-p/4316293 ls: cannot access *** Input/output error ls: cannot access *** Input/output error Thu, 05/06/2010 - 05:44 - augustin Jump to:Most recent comment Project:Linux software Component:Documentation Category:bug report Priority:normal Assigned:Unassigned Status:active Related pages:#29: filesystem :-:-: #65: Troubleshooting a failing hard drive DescriptionI have an external USB drive. I can mount output error it and browse some of its directories. However, when I try to browse a specific directory, I get: ls: cannot access *** Input/output error Login or register to post comments Comments #1 augustin - 05/06/2010 - 05:44 Related pages:+29: filesystem wiki. Login or register to post comments #2 augustin - 05/06/2010 - 05:52 http://en.wikipedia.org/wiki/S.M.A.R.T. do smart test $ sudo apt-get install reading directory . smartmontools http://ubuntuforums.org/showthread.php?t=1129872 Login or register to post comments #3 augustin - 05/06/2010 - 05:54 try e2fsck http://www.mail-archive.com/cwelug@googlegroups.com/msg00823.html Login or register to post comments #4 augustin - 05/06/2010 - 05:55 Reboot with force fsck to check your filesystems shutdown -F -r now http://bbs.archlinux.org/viewtopic.php?pid=549952 Login or register to post comments #5 augustin - 05/06/2010 - 05:57 fdisk -l dd if=/dev/zero of=/dev/sdb http://www.linuxforums.org/forum/misc/122254-solved-cant-remove-files-us... Login or register to post comments #6 augustin - 05/06/2010 - 06:15 (Probably) the filesystem is corrupted. I would copy/clone the the whole partition (using eg. dd) just to make data safe (don't forget to unmount the partition first). Then you can experiment with one of the copies to recover the files and fix filesystem; try to run fsck, or this might help as well: http://www.cgsecurity.org/ (photorec, testdisk) http://linux.derkeiler.com/Mailing-Lists/SuSE/2009-11/msg02355.html Login or register to post comments #7 augustin - 05/06/2010 - 06:17 with USB unless you have gone out of your way to write another file system over the one you have then your friend is a little tool called dosfsck as long as it is not mounted dosfsck /dev/sd..... you cha
Things Small and Medium Business Service Providers All Solutions Services Advise, Transform and Manage Financing and Flexible Capacity IT Support Services Education and Training Services All Services Products Integrated Systems Composable Systems Converged Systems Hyper Converged Systems Blade Systems Infrastructure Management Software Application Lifecycle Management Application Delivery Management Big Data Analytics DevOps Enterprise Security Hybrid and Private Cloud Information Governance Information Management IT Service Management Operations Management Server Management Software as a Service (SaaS) Software-Defined Data Center Storage Management All Software Servers Rack Servers Tower Servers Blade Servers Density Optimized Mission Critical Servers Servers for Cloud Server Management All Servers Storage All-flash and Hybrid Storage Midrange and Enterprise Storage Entry Storage Systems Data Availability, Protection and Retention Software Defined Storage Management and Orchestration Storage Networking All Storage Networking Switches Routers Access Points and Controllers Wireless LAN Campus and Branch Networking Data Center Networking Wide Area Network Software Defined Networking Network Functions Virtualization Network Management All Networking About UsSupportClearType to search2086159Solutions Transform to a Hybrid Infrastructure Protect Your Digital Enterprise Empower the Data-Driven Organization Enable Workplace Productivity Cloud Security Big Data Mobility Infrastructure Internet of Things Small and Medium Business Service Providers All Solutions Services Advise, Transform and Manage Financing and Flexible Capacity IT Support Services Education and Training Services All Services Products Integrated Systems Composable Systems Converged Systems Hyper Converged Systems Blade Systems Infrastructure Management Software Application Lifecycle Management Application Delivery Management Big Data Analytics DevOps Enterprise Security Hybrid and Private Cloud Information Governance Information Management IT Service Management Operations Management Server Management Software as a Service (Saa