[bug #19207] ls -l returns different sizes for directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



URL:
  <http://savannah.nongnu.org/bugs/?19207>

                 Summary: ls -l returns different sizes for directories
                 Project: Gluster
            Submitted by: adauria
            Submitted on: Monday 03/05/2007 at 12:28
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Improper behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The second directory listing below was done immediately after the first.  As
you can see, the 5th column varies between the two listing.  Look at
directory '47'.  This appears to happen with directories only.  The
directories affected continue to change between listings.  

The size reported for files is consistent.

When these listing were done, there was only 1 client attached to the cluster
and the cluster was otherwise idle.



client1 / # ls -l /mnt/1
total 0
drwxr-xr-x 2 root root 25 Mar  3 23:36 1
drwxr-xr-x 2 root root 26 Mar  3 23:36 10
drwxr-xr-x 2 root root  6 Mar  3 23:37 11
drwxr-xr-x 2 root root  6 Mar  3 23:47 12
drwxr-xr-x 2 root root  6 Mar  3 23:47 13
drwxr-xr-x 2 root root  6 Mar  3 23:47 14
drwxr-xr-x 2 root root 26 Mar  3 23:47 15
drwxr-xr-x 2 root root  6 Mar  3 23:47 16
drwxr-xr-x 2 root root  6 Mar  3 23:47 17
drwxr-xr-x 2 root root  6 Mar  3 23:47 18
drwxr-xr-x 2 root root  6 Mar  3 23:47 19
drwxr-xr-x 2 root root  6 Mar  3 23:36 2
drwxr-xr-x 2 root root 26 Mar  3 23:47 20
drwxr-xr-x 2 root root 26 Mar  3 23:47 21
drwxr-xr-x 2 root root  6 Mar  3 23:47 22
drwxr-xr-x 2 root root  6 Mar  3 23:47 23
drwxr-xr-x 2 root root  6 Mar  3 23:47 24
drwxr-xr-x 2 root root 26 Mar  3 23:47 25
drwxr-xr-x 2 root root  6 Mar  3 23:47 26
drwxr-xr-x 2 root root  6 Mar  3 23:47 27
drwxr-xr-x 2 root root  6 Mar  3 23:47 28
drwxr-xr-x 2 root root  6 Mar  3 23:47 29
drwxr-xr-x 2 root root  6 Mar  3 23:36 3
drwxr-xr-x 2 root root 26 Mar  3 23:47 30
drwxr-xr-x 2 root root  6 Mar  3 23:47 31
drwxr-xr-x 2 root root  6 Mar  3 23:47 32
drwxr-xr-x 2 root root  6 Mar  3 23:47 33
drwxr-xr-x 2 root root  6 Mar  3 23:47 34
drwxr-xr-x 2 root root 26 Mar  3 23:47 35
drwxr-xr-x 2 root root  6 Mar  3 23:47 36
drwxr-xr-x 2 root root  6 Mar  3 23:47 37
drwxr-xr-x 2 root root  6 Mar  3 23:47 38
drwxr-xr-x 2 root root  6 Mar  3 23:47 39
drwxr-xr-x 2 root root  6 Mar  3 23:36 4
drwxr-xr-x 2 root root 26 Mar  3 23:47 40
drwxr-xr-x 2 root root 26 Mar  3 23:47 41
drwxr-xr-x 2 root root  6 Mar  3 23:47 42
drwxr-xr-x 2 root root  6 Mar  3 23:47 43
drwxr-xr-x 2 root root  6 Mar  3 23:47 44
drwxr-xr-x 2 root root 26 Mar  3 23:47 45
drwxr-xr-x 2 root root  6 Mar  3 23:47 46
drwxr-xr-x 2 root root  6 Mar  3 23:47 47
drwxr-xr-x 2 root root  6 Mar  3 23:47 48
drwxr-xr-x 2 root root  6 Mar  3 22:47 49
drwxr-xr-x 2 root root 25 Mar  3 23:36 5
drwxr-xr-x 2 root root  6 Mar  3 23:36 6
drwxr-xr-x 2 root root  6 Mar  3 23:36 7
drwxr-xr-x 2 root root  6 Mar  3 23:36 8
drwxr-xr-x 2 root root  6 Mar  3 23:36 9

client1 / # ls -l /mnt/1
total 0
drwxr-xr-x 2 root root 25 Mar  3 23:36 1
drwxr-xr-x 2 root root 26 Mar  3 23:36 10
drwxr-xr-x 2 root root  6 Mar  3 23:37 11
drwxr-xr-x 2 root root  6 Mar  3 23:47 12
drwxr-xr-x 2 root root  6 Mar  3 23:47 13
drwxr-xr-x 2 root root  6 Mar  3 23:47 14
drwxr-xr-x 2 root root 26 Mar  3 23:47 15
drwxr-xr-x 2 root root  6 Mar  3 23:47 16
drwxr-xr-x 2 root root  6 Mar  3 23:47 17
drwxr-xr-x 2 root root  6 Mar  3 23:47 18
drwxr-xr-x 2 root root  6 Mar  3 23:47 19
drwxr-xr-x 2 root root  6 Mar  3 23:36 2
drwxr-xr-x 2 root root 26 Mar  3 23:47 20
drwxr-xr-x 2 root root 26 Mar  3 23:47 21
drwxr-xr-x 2 root root  6 Mar  3 23:47 22
drwxr-xr-x 2 root root  6 Mar  3 23:47 23
drwxr-xr-x 2 root root  6 Mar  3 23:47 24
drwxr-xr-x 2 root root 26 Mar  3 23:47 25
drwxr-xr-x 2 root root  6 Mar  3 23:47 26
drwxr-xr-x 2 root root  6 Mar  3 23:47 27
drwxr-xr-x 2 root root  6 Mar  3 22:47 28
drwxr-xr-x 2 root root  6 Mar  3 23:47 29
drwxr-xr-x 2 root root  6 Mar  3 23:36 3
drwxr-xr-x 2 root root 26 Mar  3 23:47 30
drwxr-xr-x 2 root root  6 Mar  3 23:47 31
drwxr-xr-x 2 root root  6 Mar  3 23:47 32
drwxr-xr-x 2 root root  6 Mar  3 23:47 33
drwxr-xr-x 2 root root  6 Mar  3 23:47 34
drwxr-xr-x 2 root root 26 Mar  3 23:47 35
drwxr-xr-x 2 root root  6 Mar  3 23:47 36
drwxr-xr-x 2 root root  6 Mar  3 23:47 37
drwxr-xr-x 2 root root  6 Mar  3 23:47 38
drwxr-xr-x 2 root root  6 Mar  3 23:47 39
drwxr-xr-x 2 root root  6 Mar  3 23:36 4
drwxr-xr-x 2 root root 26 Mar  3 23:47 40
drwxr-xr-x 2 root root 26 Mar  3 23:47 41
drwxr-xr-x 2 root root  6 Mar  3 23:47 42
drwxr-xr-x 2 root root  6 Mar  3 23:47 43
drwxr-xr-x 2 root root  6 Mar  3 23:47 44
drwxr-xr-x 2 root root 26 Mar  3 23:47 45
drwxr-xr-x 2 root root  6 Mar  3 23:47 46
drwxr-xr-x 2 root root 26 Mar  3 22:47 47
drwxr-xr-x 2 root root  6 Mar  3 22:47 48
drwxr-xr-x 2 root root  6 Mar  3 22:47 49
drwxr-xr-x 2 root root 25 Mar  3 23:36 5
drwxr-xr-x 2 root root  6 Mar  3 23:36 6
drwxr-xr-x 2 root root  6 Mar  3 23:36 7
drwxr-xr-x 2 root root  6 Mar  3 23:36 8
drwxr-xr-x 2 root root  6 Mar  3 23:36 9

Linux client1 2.6.17-gentoo-r8 #4 SMP Thu Nov 2 13:19:28 CET 2006 x86_64
Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux
client1 / # gcc --version
gcc (GCC) 4.1.2 (Gentoo 4.1.2)
glibc-2.5
glusterfs-1.3.0-pre2.2
sys-fs/fuse-2.6.3






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?19207>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux