[Bugs] [Bug 1207979] New: BitRot :- In case of NFS mount, Object Versioning and file signing is not working as expected

bugzilla at redhat.com bugzilla at redhat.com
Wed Apr 1 07:14:19 UTC 2015


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

            Bug ID: 1207979
           Summary: BitRot :- In case of NFS mount, Object Versioning and
                    file signing is not working as expected
           Product: GlusterFS
           Version: mainline
         Component: bitrot
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: racpatel at redhat.com
                CC: bugs at gluster.org
      Docs Contact: bugs at gluster.org



Description of problem:
=======================
If file is edited from NFS mount then Version is not incremented and bitd is
not updating checksum for file


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

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

Steps to Reproduce:
===================
1. create and NFS mount volume.
2. enable bitrot
3. create few files.
4. Update file from NFs mount and check version and checksum

on client:-
[root at rhs-client44 linux-3.19]# mount | grep nfs
rhs-client44.lab.eng.blr.redhat.com:/rac1 on /mnt/rac1 type nfs
(rw,addr=10.70.36.68)

On server:- 
[root at rhs-client44 linux-3.19]# getfattr -d -m . -e hex /pavanbrick6/r1/f5
getfattr: Removing leading '/' from absolute path names
# file: pavanbrick6/r1/f5
trusted.gfid=0x3f396fffe3754fa8ba6a62afc00b39a4
trusted.glusterfs.bit-rot.signature=0x01000000000000000100000000000000e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
trusted.glusterfs.bit-rot.version=0x0100000000000000551a639300053ca4

from client:-
[root at rhs-client44 linux-3.19]# echo "abc" >> /mnt/rac1/f5


verify on server:-
[root at rhs-client44 linux-3.19]# getfattr -d -m . -e hex /pavanbrick6/r1/f5
getfattr: Removing leading '/' from absolute path names
# file: pavanbrick6/r1/f5
trusted.gfid=0x3f396fffe3754fa8ba6a62afc00b39a4
trusted.glusterfs.bit-rot.signature=0x01000000000000000100000000000000e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
trusted.glusterfs.bit-rot.version=0x0100000000000000551a639300053ca4


Actual Result:-
===============
Object version is not incremented and checksum is not updated

Expect Result:-
===============
On modification it should increment object version and re calculate

-- 
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