Bug 830121
Summary: | Nfs mount doesn't report "I/O Error" when there is GFID mismatch for a file | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Shwetha Panduranga <shwetha.h.panduranga> | |
Component: | replicate | Assignee: | Vivek Agarwal <vagarwal> | |
Status: | CLOSED DUPLICATE | QA Contact: | ||
Severity: | urgent | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 3.3-beta | CC: | gluster-bugs, jdarcy, mailbox, sankarshan, spandura, vinaraya | |
Target Milestone: | --- | Keywords: | Reopened, Triaged | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 853683 (view as bug list) | Environment: | ||
Last Closed: | 2013-08-28 11:03:59 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 853683, 858498 |
Description
Shwetha Panduranga
2012-06-08 09:48:01 UTC
[06/08/12 - 20:49:16 root@APP-CLIENT1 nfsc1]# rm testdir/file rm: remove regular file `testdir/file'? y rm: cannot remove `testdir/file': Input/output error [06/08/12 - 20:48:59 root@APP-CLIENT1 nfsc1]# rm testdir/file rm: remove regular file `testdir/file'? y rm: cannot remove `testdir/file': Input/output error [06/08/12 - 20:49:04 root@APP-CLIENT1 nfsc1]# cat testdir/file Test Case: GFID Mismatch should report I/O Error when all bricks are up [06/08/12 - 20:49:16 root@APP-CLIENT1 nfsc1]# rm testdir/file rm: remove regular file `testdir/file'? y rm: cannot remove `testdir/file': Input/output error The symptom's not quite the same, but it's very close and the underlying cause is identical. *** This bug has been marked as a duplicate of bug 830134 *** Reopening this bug as this is not duplicate of the bug 830134. In bug 830134 the EIO is not reported on NFS Mount even when files are in data split-brain. In this bug it's entry split-brain not the data split-brain. The root cause looks similar to 853682. *** This bug has been marked as a duplicate of bug 853682 *** NFS lookups are cached by NFS client. Therefore all NFS lookup call may not reach server. To test this behavior we can mount NFS with lookupcache=none option. This will disable client side lookup cache. Fuse mount does not seem to cache lookups and the split-brain check is done only at lookups therefore Fuse mount seems to be working. I think AFR should handle such scenario (lookup cache) as well. |