Linux 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 .: mount.nfs input/output error rhel5 Input/output error" after time Hello,I got the following configuration:NFS-server: Always
Ls Reading Directory . Input/output Error In Linux
on, connected via LAN.NFS-clients: 2 computers, connected via LAN and WLAN. On standby: auto umount input/output error linux NFS-share via system-sleep-hook with systemd.This works flawlessly some hours or even days. But after some time, the following happens:1. mount nfs-share: no error message2a. ls: reading directory .: input/output error nfs trying to access that folder via filemanager, e.g. thunar: folder seems to be empty (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
Ls Reading Directory . Input/output Error Centos
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 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: "
Red Hat Certificate System Red Hat Satellite Subscription Asset Manager Red Hat Update Infrastructure ls reading directory input output error ubuntu Red Hat Insights Ansible Tower by Red Hat Cloud Computing ls reading directory . input/output error redhat Back Red Hat CloudForms Red Hat OpenStack Platform Red Hat Cloud Infrastructure Red Hat Cloud
Ls: Reading Directory .: Input/output Error Ext4
Suite Red Hat OpenShift Container Platform Red Hat OpenShift Online Red Hat OpenShift Dedicated Storage Back Red Hat Gluster Storage Red Hat Ceph Storage https://bbs.archlinux.org/viewtopic.php?id=187131 JBoss Development and Management Back Red Hat JBoss Enterprise Application Platform Red Hat JBoss Data Grid Red Hat JBoss Web Server Red Hat JBoss Portal Red Hat JBoss Operations Network Red Hat JBoss Developer Studio JBoss Integration and Automation Back Red Hat JBoss Data Virtualization Red Hat JBoss Fuse https://access.redhat.com/solutions/48225 Red Hat JBoss A-MQ Red Hat JBoss BPM Suite Red Hat JBoss BRMS Mobile Back Red Hat Mobile Application Platform Services Back Consulting Technical Account Management Training & Certifications Red Hat Enterprise Linux Developer Program Support Get Support Production Support Development Support Product Life Cycle & Update Policies Knowledge Search Documentation Knowledgebase Videos Discussions Ecosystem Browse Certified Solutions Overview Partner Resources Tools Back Red Hat Insights Learn More Red Hat Access Labs Explore Labs Configuration Deployment Troubleshooting Security Additional Tools Red Hat Access plug-ins Red Hat Satellite Certificate Tool Security Back Product Security Center Security Updates Security Advisories Red Hat CVE Database Security Labs Resources Overview Security Blog Security Measurement Severity Ratings Backporting Policies Product Signing (GPG) Keys Community Back Discussions Red Hat Enterprise Linux Red Hat Virtualization Red Hat Satellite Customer Portal Private Groups All Discussions Start a Discussion Blogs Customer Portal Red Hat Pr
com> Subject: Re: RHEL 5 & NFS Input/Output Error https://www.redhat.com/archives/redhat-list/2008-February/msg00129.html Date: Tue, 19 Feb 2008 21:13:53 +0100 This message usually means that NFS server and client do not agree on the version of NFS offered, however this might not be the cause of your problems. So, could you login as root to the RHEL3 boxes output error and do an: rpcinfo -p server (server=resolvable name of your RHEL5). and provide the output? Also, what are the mount options you use on the /etc/fstab file (or automount config) on the RHEL3 side to mount the home dirs from RHEL5? Do the NFS imported reading directory . partitions show up in df, does it hang, display the partitions as mounted but with no util info?... GM Ryan Golhar wrote: Interstingly enough, I'm seeing the same thing - I have a RHEL 5 NFS server running and a bunch of RHEL 3 workstations mounting user home directories from the RHEL 5 server. I can ssh into the workstations but creating files gives the same Input/Output error. The server hard drives are fine BUT I do see this in /var/log/messages on every occurrence on the clients: kernel: svc: unknown version (3) I'm not able to log into the clients from the GUI so something serious is going on. References: RHEL 5 & NFS Input/Output Error From: Ryan Golhar [Date Prev][Date Next] [Thread Prev][Thread Next] [Thread Index] [Date Index] [Author Index]