[Bugs] [Bug 1303153] Gluster creating 0 byte files

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 10 12:04:01 UTC 2016


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

Sandeep Patel <spatel at omnifone.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(spatel at omnifone.c |
                   |om)                         |



--- Comment #6 from Sandeep Patel <spatel at omnifone.com> ---
Hi,

Output from trying to copy the file from the fuse mount

[root at gchead001 ~]# cp
/archive-new/AUDIO/9283/1fba3d8628054bdeb33420ebddb6a52f.FLAC /media/
cp: reading `/archive-new/AUDIO/9283/1fba3d8628054bdeb33420ebddb6a52f.FLAC': No
data available

Output from ls
[root at gchead001 ~]# ls -al /archive-new/AUDIO/9283/1fba3*
---------T 1 root root 0 Jun 13  2015
/archive-new/AUDIO/9283/1fba3d8628054bdeb33420ebddb6a52f.FLAC
---------T 1 root root 0 Jun 13  2015
/archive-new/AUDIO/9283/1fba3d8628054bdeb33420ebddb6a52f.FLAC

>From the fuse mount, only the 0 byte file is displayed.

Stat of original file

[root at gc002b ~]# stat
/export/brick1/archive/.glusterfs/33/16/33162f64-2b27-4ba8-a185-00e283100615
  File:
`/export/brick1/archive/.glusterfs/33/16/33162f64-2b27-4ba8-a185-00e283100615'
  Size: 17758681        Blocks: 34688      IO Block: 4096   regular file
Device: 800h/2048d      Inode: 10738449972  Links: 2
Access: (0744/-rwxr--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2015-03-29 22:30:03.000000000 +0000
Modify: 2011-08-30 17:01:30.000000000 +0000
Change: 2015-04-27 22:23:43.227636476 +0000

Stat of 0-byte file

[root at gc003a ~]# stat
/export/brick2/archive/.glusterfs/33/16/33162f64-2b27-4ba8-a185-00e283100615
  File:
`/export/brick2/archive/.glusterfs/33/16/33162f64-2b27-4ba8-a185-00e283100615'
  Size: 0               Blocks: 0          IO Block: 4096   regular empty file
Device: 810h/2064d      Inode: 45097217517  Links: 2
Access: (1000/---------T)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2015-06-13 23:19:16.351062000 +0000
Modify: 2015-06-13 23:19:16.351062000 +0000
Change: 2016-02-26 16:13:51.675356487 +0000

I have also attached an image of how the file appears browsing from samba.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Aj57O9OFep&a=cc_unsubscribe


More information about the Bugs mailing list