[Bugs] [Bug 1297280] New: tar on a glusterfs mount displays "file changed as we read it" even though the file was not changed

bugzilla at redhat.com bugzilla at redhat.com
Mon Jan 11 05:34:13 UTC 2016


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

            Bug ID: 1297280
           Summary: tar on a glusterfs mount displays "file changed as we
                    read it" even though the file was not changed
           Product: GlusterFS
           Version: 3.7.6
         Component: replicate
          Assignee: bugs at gluster.org
          Reporter: wuyl at hygenomics.com
                CC: bugs at gluster.org, gkuri at ieee.org,
                    gluster-bugs at redhat.com, kdhananj at redhat.com,
                    ssampat at redhat.com, wuyl at hygenomics.com



Created attachment 1113494
  --> https://bugzilla.redhat.com/attachment.cgi?id=1113494&action=edit
error report log of tar

still got the issue of "file changed as we read it" when tar on glusterfs,
version 3.7.6


Description of problem:
-----------------------
same as Bug #1212842

tar command on the glusterfs mount point is seen to report the following error
on small files -

tar: ./linux-4.3.3/arch/cris/include/arch-v32/mach-a3/mach/hwregs/iop/asm: file
changed as we read it

There were no changes made to files while the tar command was in progress. Cab
be duplicated on 3 X 2 volume.


volume information:

# gluster volume info new_volume

Volume Name: new_volume
Type: Distributed-Replicate
Volume ID: 1cb209b9-c174-4bac-8a31-245647d8bf46
Status: Started
Number of Bricks: 3 x 2 = 6
Transport-type: tcp
Bricks:
Brick1: DN-02:/native/brick02
Brick2: DN-03:/native/brick03
Brick3: DN-04:/native/brick04
Brick4: DN-05:/native/brick05
Brick5: DN-06:/native/brick06
Brick6: DN-07:/native/brick07
Options Reconfigured:
performance.io-thread-count: 2
cluster.consistent-metadata: on
cluster.quorum-type: auto
performance.cache-size: 3GB
performance.readdir-ahead: on



Version-Release number of selected component (if applicable):
--------------------------------------------------------------
# rpm -qa glusterfs
glusterfs-3.7.6-1.el6.x86_64


How reproducible:
------------------
Easily reproducible.


Steps to Reproduce:
--------------------
1. Created the above volume with the volume options as seen above and started
it.
2. Mounted the volume using fuse.
3. On the mount point, download the linux kernel, followed by untar and then
tar-ing it again -
# wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.3.3.tar.xz; tar xf
linux-4.3.3.tar.xz; for i in {1..10}; do tar zcvf test$i.tar linux-4.3.3 2>
tar$i.log; done

can see error everytime.


Actual results:
----------------
While the tar command is continuously running, the above described messages are
seen for many files.


Expected results:
------------------
tar is expected to run successfully without any warning.

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


More information about the Bugs mailing list