Bug 1224216 - BitRot :- bit-rot.signature and bit-rot.version xattr should not be set if bitrot is not enabled on volume
Summary: BitRot :- bit-rot.signature and bit-rot.version xattr should not be set if b...
Keywords:
Status: CLOSED DUPLICATE of bug 1298258
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: bitrot
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: RHGS 3.2.0
Assignee: Raghavendra Bhat
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
: 1406743 (view as bug list)
Depends On:
Blocks: 1223636 1359599 1406743
TreeView+ depends on / blocked
 
Reported: 2015-05-22 10:52 UTC by RajeshReddy
Modified: 2017-04-25 09:04 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1207152
: 1359599 (view as bug list)
Environment:
Last Closed: 2017-04-25 09:04:45 UTC
Embargoed:


Attachments (Terms of Use)

Description RajeshReddy 2015-05-22 10:52:36 UTC
+++ This bug was initially created as a clone of Bug #1207152 +++

Description of problem:
=======================
event though bitrot is not enabled on volume it is setting xattr bit-rot.signature and bit-rot.version

Version-Release number of selected component (if applicable):
=============================================================
0.803.gitf64666f.el6.x86_64

How reproducible:
=================
always

Steps to Reproduce:
===================
1. create and mount volume.
Volume Name: tier_distrep
Type: Distributed-Replicate
Volume ID: ad81ef54-70ec-41f2-800c-17e5025acb26
Status: Started
Number of Bricks: 5 x 2 = 10
Transport-type: tcp
Bricks:
Brick1: rhs-client38:/pavanbrick2/tier_distrep/hb2m
Brick2: rhs-client37:/pavanbrick2/tier_distrep/hb2
Brick3: rhs-client37:/pavanbrick2/tier_distrep/hb1m
Brick4: rhs-client44:/pavanbrick2/tier_distrep/hb1
Brick5: rhs-client44:/pavanbrick1/tier_distrep/b1
Brick6: rhs-client37:/pavanbrick1/tier_distrep/b1m
Brick7: rhs-client37:/pavanbrick1/tier_distrep/b2
Brick8: rhs-client38:/pavanbrick1/tier_distrep/b2m
Brick9: rhs-client44:/pavanbrick1/tier_distrep/b3m
Brick10: rhs-client38:/pavanbrick1/tier_distrep/b3

2. create few files.
3. verify xattr for files in backend

[root@rhs-client44 try]# getfattr -d -m . -e hex /pavanbrick1/tier_distrep/b1/f12
getfattr: Removing leading '/' from absolute path names
# file: pavanbrick1/tier_distrep/b1/f12
trusted.gfid=0x9142b9dfe68c47149d95dfd037177723
trusted.glusterfs.bit-rot.signature=0xff000000000000000000000000000000
trusted.glusterfs.bit-rot.version=0x010000000000000055152f6c000566ef


Actual results:
===============
even though bitrot is not enabled on volume it is setting xattr bit-rot.signature and bit-rot.version

Comment 4 Kotresh HR 2016-07-25 06:16:56 UTC
Upstream Patch:

http://review.gluster.org/14442 (master)

Comment 5 Riyas Abdulrasak 2016-12-21 11:25:44 UTC
*** Bug 1406743 has been marked as a duplicate of this bug. ***

Comment 7 Kotresh HR 2017-04-25 09:04:45 UTC

*** This bug has been marked as a duplicate of bug 1298258 ***


Note You need to log in before you can comment on or make changes to this bug.