Bug 48771
Summary: | Input/output errors will almost all file operations over NFS4 | ||
---|---|---|---|
Product: | File System | Reporter: | Mehmet Giritli (mehmet) |
Component: | NFS | Assignee: | Trond Myklebust (trondmy) |
Status: | CLOSED DOCUMENTED | ||
Severity: | normal | ||
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.4.9 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | dmesg |
Description
Mehmet Giritli
2012-10-14 12:13:38 UTC
Created attachment 83421 [details]
dmesg
Can you please post the contents of "cat /proc/mounts"? Of course. Here you go: rootfs / rootfs rw 0 0 /dev/root / ext4 rw,noatime,data=ordered 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 tmpfs /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0 rc-svcdir /lib64/rc/init.d tmpfs rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 udev /dev tmpfs rw,nosuid,relatime,size=10240k,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0 shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0 /dev/sda6 /var ext4 rw,noatime,data=ordered 0 0 /dev/sdd1 /usr/portage/distfiles ext4 rw,noatime,data=ordered 0 0 /dev/sdd2 /mnt/media/backups ext4 rw,noatime,data=ordered 0 0 /dev/sda7 /home ext4 rw,noatime,data=ordered 0 0 /dev/mapper/donkey-downloads /mnt/media/donkey ext4 rw,noatime,data=ordered 0 0 /dev/sdb1 /mnt/media/library/main ext4 rw,noatime,data=ordered 0 0 /dev/sdb2 /mnt/media/library/sub-1 ext4 rw,noatime,data=ordered 0 0 /dev/sdb3 /mnt/media/library/sub-2 ext4 rw,noatime,data=ordered 0 0 /dev/sdd1 /exports/distfiles ext4 rw,noatime,data=ordered 0 0 /dev/root /exports/portage ext4 rw,noatime,data=ordered 0 0 /dev/sda6 /exports/www ext4 rw,noatime,data=ordered 0 0 /dev/sda6 /exports/dav ext4 rw,noatime,data=ordered 0 0 /dev/root /exports/media ext4 rw,noatime,data=ordered 0 0 /dev/sdd2 /exports/media/backups ext4 rw,noatime,data=ordered 0 0 /dev/mapper/donkey-downloads /exports/media/donkey ext4 rw,noatime,data=ordered 0 0 /dev/sdb1 /exports/media/library/main ext4 rw,noatime,data=ordered 0 0 /dev/sdb2 /exports/media/library/sub-1 ext4 rw,noatime,data=ordered 0 0 /dev/sdb3 /exports/media/library/sub-2 ext4 rw,noatime,data=ordered 0 0 /dev/sda7 /exports/home ext4 rw,noatime,data=ordered 0 0 rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0 nfsd /proc/fs/nfsd nfsd rw,nosuid,nodev,noexec,relatime 0 0 Sorry. I should have been more specific: I meant on the NFSv4 client. No problem. Here is the content: rootfs / rootfs rw 0 0 /dev/root / ext4 rw,noatime,data=ordered 0 0 devtmpfs /dev devtmpfs rw,relatime,size=4050612k,nr_inodes=1012653,mode=755 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 tmpfs /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 cgroup_root /sys/fs/cgroup tmpfs rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0 openrc /sys/fs/cgroup/openrc cgroup rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release-agent.sh,name=openrc 0 0 cpu /sys/fs/cgroup/cpu cgroup rw,nosuid,nodev,noexec,relatime,cpu 0 0 cpuacct /sys/fs/cgroup/cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpuacct 0 0 blkio /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0 shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0 /dev/sdb3 /boot ext4 rw,noatime,data=ordered 0 0 /dev/sdb6 /home ext3 rw,noatime,data=ordered 0 0 /dev/mapper/media-musica /mnt/media/musica ext4 rw,noatime,data=ordered 0 0 /dev/mapper/media-videos /mnt/media/videos ext4 rw,noatime,data=ordered 0 0 /dev/sdb8 /mnt/media/Documents ext3 rw,noatime,data=ordered 0 0 /dev/sdc1 /mnt/media/Data ext4 rw,noatime,data=ordered 0 0 /dev/mapper/media-musica /exports/musica ext4 rw,relatime,data=ordered 0 0 /dev/sdb8 /exports/documents ext3 rw,relatime,data=ordered 0 0 /dev/mapper/media-videos /exports/videos ext4 rw,relatime,data=ordered 0 0 /dev/sdc1 /exports/data ext4 rw,relatime,data=ordered 0 0 /dev/sdb6 /exports/home ext3 rw,relatime,data=ordered 0 0 rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0 /etc/autofs/auto.misc /mnt/autofs autofs rw,relatime,fd=6,pgrp=2463,timeout=600,minproto=5,maxproto=5,indirect 0 0 nfsd /proc/fs/nfsd nfsd rw,nosuid,nodev,noexec,relatime 0 0 smeagol:/portage/ /usr/portage nfs4 rw,nosuid,nodev,noexec,relatime,vers=4.0,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.2.3,local_lock=none,addr=192.168.2.2 0 0 smeagol:/distfiles/ /usr/portage/distfiles nfs4 rw,nosuid,nodev,noexec,relatime,vers=4.0,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.2.3,local_lock=none,addr=192.168.2.2 0 0 smeagol:/media/ /mnt/autofs/gollum-media nfs4 rw,relatime,vers=4.0,rsize=131072,wsize=8192,namlen=255,soft,proto=tcp,port=0,timeo=10,retrans=2,sec=sys,clientaddr=192.168.2.3,local_lock=none,addr=192.168.2.2 0 0 smeagol:/media/donkey/ /mnt/autofs/gollum-media/donkey nfs4 rw,relatime,vers=4.0,rsize=131072,wsize=8192,namlen=255,soft,proto=tcp,port=0,timeo=10,retrans=2,sec=sys,clientaddr=192.168.2.3,local_lock=none,addr=192.168.2.2 0 0 smeagol:/ /mnt/autofs/gollum-home nfs4 rw,relatime,vers=4.0,rsize=131072,wsize=8192,namlen=255,soft,proto=tcp,port=0,timeo=10,retrans=2,sec=sys,clientaddr=192.168.2.3,local_lock=none,addr=192.168.2.2 0 0 The reason for the EIO is that you are using soft mounts (which return EIO when the server is unresponsive) in combination with a 1 second timeout. Please leave the timeout at 60seconds (timeo=600) when using a TCP connection. TCP provides reliability guarantees that make resends unnecessary, except in the event of a disconnection. Thanks man. I have been focusing so mush on the server side of things that I completely forgot to have a look at the client settings. Thanks a lot. No problem. Closing this bug then... |