[Bugs] [Bug 1654370] Bitrot: Scrub status say file is corrupted even it was just created AND 'path' in the output is broken

bugzilla at redhat.com bugzilla at redhat.com
Wed Nov 28 16:28:49 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1654370



--- Comment #2 from david.spisla at iternity.com ---
After the files get marked as corrupted, they seems to be 'Read Only' although
the write bits are not removed. The files are not WORMed, too.

fs-davids-c1-n1:/home/iternity # rm -f /gluster/archives/archive1/data/file*
rm: cannot remove '/gluster/archives/archive1/data/file1.txt': Read-only file
system
rm: cannot remove '/gluster/archives/archive1/data/file2.txt': Read-only file
system
fs-davids-c1-n1:/home/iternity # stat /gluster/archives/archive1/data/file*
  File: /gluster/archives/archive1/data/file1.txt
  Size: 6             Blocks: 1          IO Block: 131072 regular file
Device: 2fh/47d    Inode: 12435617968312838415  Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2018-11-28 15:00:29.449687434 +0000
Modify: 2018-11-28 15:00:29.607247905 +0000
Change: 2018-11-28 15:00:29.607247905 +0000
 Birth: -
  File: /gluster/archives/archive1/data/file2.txt
  Size: 6             Blocks: 1          IO Block: 131072 regular file
Device: 2fh/47d    Inode: 10024527123976042269  Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2018-11-28 15:16:02.935008036 +0000
Modify: 2018-11-28 15:16:02.938274179 +0000
Change: 2018-11-28 15:16:02.938274179 +0000
 Birth: -

fs-davids-c1-n1:/home/iternity # getfattr -d -m ""
/gluster/brick1/glusterbrick/data/file2.txt
getfattr: Removing leading '/' from absolute path names
# file: gluster/brick1/glusterbrick/data/file2.txt
trusted.afr.dirty=0sAAAAAAAAAAAAAAAA
trusted.bit-rot.bad-file=0sMQA=
trusted.bit-rot.signature=0sAQIAAAAAAAAAZ+5UeOqtsDS6WZROuXd5e0nKaqjTV0WH8268vutl9w4=
trusted.bit-rot.version=0sAgAAAAAAAABb/qsZAAmLDQ==
trusted.gfid=0szJ3EL9TvSseLHkZOmdw3HQ==
trusted.gfid2path.d3c3e99ef3917352="f49da84b-d63c-40f5-9ed4-e66a262c671b/file2.txt"
trusted.glusterfs.mdata=0sAQAAAAAAAAAAAAAAAFv+sTIAAAAAN+ztgwAAAABb/rEyAAAAADfs7YMAAAAAW/6xMgAAAAA3uxck
trusted.pgfid.f49da84b-d63c-40f5-9ed4-e66a262c671b=0sAAAAAQ==
trusted.start_time="1543418162"
trusted.worm_file=0sMQA=

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the Docs Contact for the bug.


More information about the Bugs mailing list