Reading Directory . Input/output Error Nfs
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" ls reading directory . input/output error in linux after time Hello,I got the following configuration:NFS-server: Always on, connected ls reading directory . input/output error ubuntu via LAN.NFS-clients: 2 computers, connected via LAN and WLAN. On standby: auto umount NFS-share via system-sleep-hook linux input output error deleting file with systemd.This works flawlessly some hours or even days. But after some time, the following happens:1. mount nfs-share: no error message2a. trying to access that
Ls Reading Directory . Input/output Error Centos
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 worked just a few hours before, I ls: reading directory .: input/output error ext4 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,017 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 int
Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software mount.nfs: Input/output cannot open directory . input/output error error User Name Remember Me? Password Linux - Software This forum is
Mount.nfs Input/output Error Rhel5
for Software issues. Having a problem installing a new program? Want to know which application is best for
Ls: Reading Directory .: Input/output Error Nfs
the job? Post your question in this forum. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you https://bbs.archlinux.org/viewtopic.php?id=187131 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 http://www.linuxquestions.org/questions/linux-software-2/mount-nfs-input-output-error-578484/ | 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 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-20-2007, 02:34 PM #1 w
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 company Business Learn more about http://serverfault.com/questions/761071/input-output-error-when-attempting-to-mount-a-windows-nfs-share hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask https://forums.freebsd.org/threads/7034/ Question _ Server Fault is a question and answer site for system and network administrators. Join them; 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 Input/output error when attempting to mount a Windows NFS share up vote 0 down vote favorite output error I created the Windows Server 2012 share using: PS C:\Windows\system32> nfsshare testshare2=C:\testshare2 -o anon=yes anonuid=0 anongid=0 rw=uuu.uuu.uuu.uuu testshare2 was shared successfully Where uuu.uuu.uuu.uuu is the IP of my Ubuntu system. Next, from the Ubuntu machine I mounted the Windows NFS share as follows: sudo mount -t nfs xxx.xxx.xxx.xxx:/testshare2 /mnt/testshare2 Where xxx.xxx.xxx.xxx is the IP of the Windows Server 2012 machine. No errors are shown when mounting, but when I ls the mounted directory, the following appears: ls: cannot open reading directory . directory /mnt/testshare2/: Input/output error I'm not showing any errors in Ubuntu's syslog. Here are properties of the share in Server 2012: Edit 1: I get the same input/output error when attempting to mount the Server 2012 NFS share from a RHEL7 machine. Mount works fine I just can't ls directory or touch files. Edit 2: In Server 2012, the NFS log shows a successful mount to both Ubuntu and RHEL machines. linux windows-server-2012 nfs network-share share|improve this question edited Mar 2 at 20:26 asked Mar 2 at 17:51 a coder 314320 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote This is solved. On Server 2012: Opened Server Manager -> Shares Removed the existing share Deleted the previously shared folder Started a new share using the New Share Wizard Selected NFS Share - Quick then clicked Next. Selected a new folder to share in Type a custom path then clicked Next. Confirmed Share name, local path and remote paths then clicked Next. On the Authentication window, I selected No server authentication (AUTH_SYS), then selected Enable unmapped user access by UID/GID and made sure the Allow unmapped user acess by UID/GID radio button was selected. Then clicked Next. On the Share Permissions window, I clicked Add. An Add Permissions window popped up. Here, next to Host, I entered the IP of the remote Linux computer that would be mounting, left Lan