Nfs Mount 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 mount.nfs input/output error rhel5 following configuration:NFS-server: Always on, connected via LAN.NFS-clients: 2 computers, connected via ls reading directory . input/output error in linux LAN and WLAN. On standby: auto umount NFS-share via system-sleep-hook with systemd.This works flawlessly some hours or input/output error linux even days. But after some time, 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
Ls: Reading Directory .: Input/output Error Nfs
(it isn't on server!), but the correct freesize 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 ls reading directory . input/output error centos mount NFS-share) on the clients which worked before, too.Any idea what's going 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 R
Start 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 ls reading directory input output error ubuntu company Business Learn more about hiring developers or posting ads with us Server Fault Questions
Ls Reading Directory . Input/output Error Redhat
Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them;
Ls: Reading Directory .: Input/output Error Ext4
it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top getting input/output error from NFS client on https://bbs.archlinux.org/viewtopic.php?id=187131 RHEL5 up vote 1 down vote favorite I have two RHEL5 boxes on a private network together (192.168.2.0/24) and I am trying to export a file system from one to the other but I keep getting the following error: mount.nfs: Input/output error on the client side I see this output: mount: trying 192.168.2.101 prog 100003 vers 3 prot tcp port 2049 mount: trying 192.168.2.101 prog 100005 vers 3 prot tcp port 960 and on http://serverfault.com/questions/182851/getting-input-output-error-from-nfs-client-on-rhel5 the server side I see this: Sep 20 14:14:32 omicron mountd[18739]: authenticated mount request from 192.168.2.87:635 for /srv/nfs/web (/srv/nfs/web) but that's all. I opened up iptables so that the whole 192.168.2.0/24 network is allowed to communicate freely but the public side is locked down to 22,80 etc.... any ideas? linux redhat nfs share|improve this question edited Jun 27 '12 at 12:41 Josh 4,791145799 asked Sep 20 '10 at 14:19 Andrew Watson 9112 add a comment| 5 Answers 5 active oldest votes up vote 1 down vote I had a similar problem, please have a look at this link. And this one. Basically you have to open much more ports. share|improve this answer answered Sep 20 '10 at 14:26 ringø 3,21031938 add a comment| up vote 1 down vote Make sure portmapper is running On centos chkconfig --list | grep portmap To start it on centos and set it to start at boot service portmap start chkconfig portmap on share|improve this answer edited Jun 27 '12 at 12:40 Josh 4,791145799 answered Apr 9 '12 at 21:11 Jason 111 add a comment| up vote 1 down vote For a similar problem, I have added to the syntax of the mount command the following options "-o nolock, udp." mount -o nolock,udp 192.168.4.11:/var/nfs /mnt/nfs/ Apparently this problem when the service nfslook is not 'sta
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME https://ubuntuforums.org/showthread.php?t=1474797 Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki http://blog.zwiegnet.com/linux-server/inputoutput-error-from-nfs-client-on-centos/ Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search output error Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] NFS mounting fails (mount(2): Input/output error, mount system call failed) Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 reading directory . to 2 of 2 Thread: NFS mounting fails (mount(2): Input/output error, mount system call failed) Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode May 6th, 2010 #1 bjtuna View Profile View Forum Posts Private Message Visit Homepage A Carafe of Ubuntu Join Date Jul 2005 Location Boise, Idaho, USA Beans 111 DistroUbuntu 12.04 Precise Pangolin NFS mounting fails (mount(2): Input/output error, mount system call failed) I have been using Ubuntu for several years now. I have always had the following line in /etc/fstab: Code: 192.168.0.30:/shares/SimplePool/Storage /home/brian/Storage nfs rw,auto,rsize=8192,wsize=8192,intr,soft,retry=5 0 0 That, along with having Code: nfs-common installed, has always worked great for accessing my remote NFS server. Unfortunately Ubuntu 10.04 (Lucid) isn't cooperating. If I try to manually mount /home/brian/Storage it will hang. I ran the following equivalent command to debug: Code: sudo mount -v -t nfs -o rw,auto,rsize=8192,wsize=
Plan - Why it's Necessary and What May Be NeededRsync vs TAR Backup CentOS LinuxOffsite Backup Script LinuxInstall Security updates only Yum CentOSAcceptable timeframe to restore hosted servicesLinux TutorialsConfigure DHCP Server CentOS 6Expand a Filesystem on CentOS LinuxFind Version of Linux You are RunningInstall RPM Package on CentOS LinuxLinux ConsultingLinux Server TypesMount CIFS/Windows Share on FedoraMount NFS Share on CentOS 5OpenCobol 2.0 Spec File CentOS/RedHat 6Patching and Installing Updates on CentOSUn-Install Zimbra Community CentOS 6Untangle 9.3 Backup ScriptUse DD to Clone Linux Hard DriveWhere To Get Linux?Choosing a Smart Root PasswordMySQL Replication CentOS All DatabasesInstall 389 Directory Server CentOSInstall Webmin on CentOS 5Active Directory 389 Directory Server SyncInstall Webmin on CentOS 6389 Directory Server MultiMaster Replication CentOSConfigure LDAP Server on CentOS 6Configuring Network CentOS 6Expand SAN LUN Oracle Linux 6Install Zimbra Community CentOS 6Mount a Drive on CentOS LinuxMount SAN Volume Oracle LinuxSetting up NTP CentOS 6 network time syncronizing389 Directory Server Password Policy CentOSConfigure TLS/SSL 389 Directory Server CentOS389 Directory Server TLS Client CentOSSetup CentOS IPv6Change Default Folder for Linux UserConfigure Kickstart CentOS 6Configure MySQL Multi-Master ReplicationConfigure NFS for CentOS 5Create Samba Share for Active DirectoryDisable SELinux CentOS 7Fixing Broken Packages LinuxImport a PST Into Zimbra CommunityInstall Ksplice on Linux MintInstall OpenVAS on CentOSInstall Webmin on CentOS 6.3Mounting an ISO on CentOS LinuxSetup NFS Server on CentOS 6Setup Webmin For GmailMount Floppy Drive on CentOS LinuxMount NFS Share Windows 7Get List of Folder Names With ls and awkMounting Windows Share on CentOSusing at command LinuxAllow SSH Connecti