Bug 1297300
Summary: | Stale stat information for corrupted objects (replicated volume) | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Venky Shankar <vshankar> |
Component: | bitrot | Assignee: | Bug Updates Notification Mailing List <rhs-bugs> |
Status: | CLOSED ERRATA | QA Contact: | RamaKasturi <knarra> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rhgs-3.1 | CC: | asrivast, byarlaga, khiremat, knarra, rhs-bugs, sankarshan, smohan, storage-qa-internal |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | RHGS 3.1.2 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.7.5-16 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1296399 | Environment: | |
Last Closed: | 2016-03-01 06:07:09 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: | 1296399 | ||
Bug Blocks: | 1297213, 1297284 |
Description
Venky Shankar
2016-01-11 06:24:18 UTC
Just an update to this. A lot of bitrot error messages are seen in the brick logs. [2016-01-09 08:10:31.194770] E [MSGID: 116012] [bit-rot-stub.h:364:br_stub_is_bad_object] 0-disperse_vol1-bitrot-stub: failed to get the inode context for the inode 1572c2f5-9917-423b-a987-86a7a78d342e [2016-01-09 08:10:31.252071] E [MSGID: 116012] [bit-rot-stub.h:364:br_stub_is_bad_object] 0-disperse_vol1-bitrot-stub: failed to get the inode context for the inode 1572c2f5-9917-423b-a987-86a7a78d342e [2016-01-09 08:10:31.288027] E [MSGID: 116012] [bit-rot-stub.h:364:br_stub_is_bad_object] 0-disperse_vol1-bitrot-stub: failed to get the inode context for the inode ba5f4b4c-2022-43c5-8d45-fa65ac8f3227 [2016-01-09 08:10:31.296192] E [MSGID: 116012] [bit-rot-stub.h:364:br_stub_is_bad_object] 0-disperse_vol1-bitrot-stub: failed to get the inode context for the inode b7b9d689-4b21-44eb-86c8-1c7f9f6b32ba [2016-01-09 08:10:31.383698] E [MSGID: 116012] [bit-rot-stub.h:364:br_stub_is_bad_object] 0-disperse_vol1-bitrot-stub: failed to get the inode context for the inode ba5f4b4c-2022-43c5-8d45-fa65ac8f3227 [2016-01-09 08:10:31.501594] E [MSGID: 116012] [bit-rot-stub.h:364:br_stub_is_bad_object] 0-disperse_vol1-bitrot-stub: failed to get the inode context for the inode f7d80536-d2c1-48e0-a9de-0a7c3c55689b [2016-01-09 08:10:31.566981] E [MSGID: 116012] [bit-rot-stub.h:364:br_stub_is_bad_object] 0-disperse_vol1-bitrot-stub: failed to get the inode context for the inode 9676610d-8d4b-4362-b230-6f2107050059 [2016-01-09 08:10:31.569765] E [MSGID: 116012] [bit-rot-stub.h:364:br_stub_is_bad_object] 0-disperse_vol1-bitrot-stub: failed to get the inode context for the inode f7d80536-d2c1-48e0-a9de-0a7c3c55689b [2016-01-09 08:10:31.630599] E [MSGID: 116012] [bit-rot-stub.h:364:br_stub_is_bad_object] 0-disperse_vol1-bitrot-stub: failed to get the inode context for the inode 9676610d-8d4b-4362-b230-6f2107050059 *** Bug 1297284 has been marked as a duplicate of this bug. *** Verified and works fine with build glusterfs-3.7.5-16.el7rhgs.x86_64. Followed the steps below to verify this bug: 1. Create a replicated volume, enable bitrot, mount, perform I/O 2. Wait for files to get signed 3. Corrupt an object (modify form brick directly) from one of the replica (preferably first replica) 4. Wait till scrubber marks the object as corrupted 5. Perform I/O on the file again 6. stat to check object size stat of the corrupted file before performing I/O on the file: ============================================================ [root@dhcp37-75 vol_rep]# stat newfile3 File: ‘newfile3’ Size: 5 Blocks: 1 IO Block: 131072 regular file Device: 2ah/42d Inode: 9552773721163233512 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Context: system_u:object_r:fusefs_t:s0 Access: 2016-01-17 17:15:21.570454864 +0530 Modify: 2016-01-17 17:15:21.572454864 +0530 Change: 2016-01-18 11:29:36.455934094 +0530 Birth: - stat of the corrputed file after performing I/O on the file: ============================================================ [root@dhcp37-75 vol_rep]# stat newfile3 File: ‘newfile3’ Size: 42 Blocks: 1 IO Block: 131072 regular file Device: 2ah/42d Inode: 9552773721163233512 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Context: system_u:object_r:fusefs_t:s0 Access: 2016-01-17 17:15:21.570454864 +0530 Modify: 2016-01-18 11:30:07.493933375 +0530 Change: 2016-01-18 11:30:08.920933342 +0530 Birth: - I see that the size, modify and access time of the file has been changed after doing an I/O and it does not return stale entries. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0193.html |