Bug 448479
Summary: | NFS soft mount doesn't work as expected | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | masanari iida <masanari_iida> |
Component: | nfs-utils | Assignee: | Jeff Layton <jlayton> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 4.6 | CC: | staubach, steved |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-06-10 10:19:42 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
masanari iida
2008-05-27 07:28:07 UTC
I think that U7 should have some patches to fix this. When I test this with a U7 kernel, I get an EIO error back on both syscalls that touch the mount. Using the same mount options as you are: ... 08:26:42.106601 close(3) = 0 <0.000024> 08:26:42.106902 open("/mnt/rhel5/testfile2", O_WRONLY|O_CREAT|O_NOCTTY|O_NONBLOCK, 0666) = -1 EIO (Input/output error) <22.786684> 08:27:04.895655 --- SIGWINCH (Window changed) @ 0 (0) --- 08:27:04.895781 utime("/mnt/rhel5/testfile2", NULL) = -1 EIO (Input/output error) <59.993695> ... ...so a little longer on the timeouts than expected it looks like, but it did fail. I'm testing this on a FV xen guest, and timing there is a little screwy I think. So the syscall timing may not be perfect. This is testing with: kernel-smp-2.6.9-72.EL.jtltest.42.x86_64.rpm ...from my people page: http://people.redhat.com/jlayton/ ...though I think the patches that fix this are probably in all U7 kernels. Could you test this someplace non-critical with either the kernels from my people page or something else >= -72.EL and see if it's still reproducible? I have tested kernel-smp-2.6.9-72.EL.jtltest.42.i686.rpm on NFS client. This new kernel works as expected. - EIO returned just after the command is executed. - Write failed to NFS server, after NFS Server back to operation. (This is expected behavior.) Command executed 14:27:18 execve("/bin/touch", ["touch"..., "/mnt/nfs/abc123"...], [/* 23 vars */]) = 0 (snip) 14:27:18 open("/mnt/nfs/abc123", O_WRONLY|O_CREAT|O_NOCTTY|O_NONBLOCK|O_LARGEFILE, 0666) = -1 EIO (Input/output error) <= 14:28:18 utime("/mnt/nfs/abc123", NULL) = -1 EIO (Input/output error) 14:29:18 open("/usr/share/locale/locale.alias", O_RDONLY) = 3 14:29:18 fstat64(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0 14:29:18 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cd5000 Thank you for support |