[Bugs] [Bug 1356824] New: glusterfs-3.7.1-16 problem with size difference in listing dir and file

bugzilla at redhat.com bugzilla at redhat.com
Fri Jul 15 06:44:58 UTC 2016


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

            Bug ID: 1356824
           Summary: glusterfs-3.7.1-16 problem with size difference in
                    listing dir and file
           Product: GlusterFS
           Version: 3.7.1
         Component: fuse
          Assignee: bugs at gluster.org
          Reporter: mike at hulsman.net
                CC: bugs at gluster.org
   External Bug ID: CentOS 11169



Description of problem:
When listing a file on a mounted gluster directory, you get another size than
listing the directory where the file is in.

See this example:
mount -t glusterfs p1h2c04-str.infra.proxy.nl:/vol01 /test/mike/
[root at localhost pending]# ls -la
/test/mike/a0513b98-5161-492c-b9b2-4a27694bcf81/images/8eceec5b-769c-42b1-b5f1-b715b5ad3c3c/7d0e0cf8-429f-46d4-87ae-a670766a11c2
-rw-rw----. 1 36 36 1923022848 Jul 14 15:22
/test/mike/a0513b98-5161-492c-b9b2-4a27694bcf81/images/8eceec5b-769c-42b1-b5f1-b715b5ad3c3c/7d0e0cf8-429f-46d4-87ae-a670766a11c2

[root at localhost pending]# ls -la
/mnt/a0513b98-5161-492c-b9b2-4a27694bcf81/images/8eceec5b-769c-42b1-b5f1-b715b5ad3c3c/7d0e0cf8-429f-46d4-87ae-a670766a11c2
-rw-rw----. 1 36 36 268435456 Jul 14 15:22
/mnt/a0513b98-5161-492c-b9b2-4a27694bcf81/images/8eceec5b-769c-42b1-b5f1-b715b5ad3c3c/7d0e0cf8-429f-46d4-87ae-a670766a11c2

Version-Release number of selected component (if applicable):
The default gluster pkgs in CentOS 7.2.15.11 are:
glusterfs-libs-3.7.1-16.0.1.el7.centos.x86_64
glusterfs-3.7.1-16.0.1.el7.centos.x86_64
glusterfs-client-xlators-3.7.1-16.0.1.el7.centos.x86_64
glusterfs-fuse-3.7.1-16.0.1.el7.centos.x86_64

How reproducible:
All the time

Steps to Reproduce:
1. Install CentOS 7.2.15.11 
2. Mount a gluster volume
3. ls the directory, ls a file in that directory

Actual results:
See above example

Expected results:
The same size all the time.

Additional info:
See:https://bugs.centos.org/view.php?id=11169
In recent gluster versions the problem does not exist.
But CentOS 7.2.15.11 is using the 3.7.1-16 version.

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