Mingfan Lu
2013-Nov-21 10:17 UTC
[Gluster-users] strange file size is 0 with 777 permission.
I have a volume named upload. I upload some kind of file to the volume and then use mv to rename the file after that, I found the file size is 0 with 777 permission. ============ volume information ============= gluster volume info upload Volume Name: upload Type: Distributed-Replicate Volume ID: 6220fd5f-635c-44fb-a627-55dc796d5d1f Status: Started Number of Bricks: 3 x 2 = 6 Transport-type: tcp Bricks: Brick1: 10.10.135.23:/mnt/xfsd/upload Brick2: 10.10.135.24:/mnt/xfsd/upload Brick3: 10.10.135.25:/mnt/xfsd/upload Brick4: 10.10.135.26:/mnt/xfsd/upload Brick5: 10.10.135.27:/mnt/xfsd/upload Brick6: 10.10.135.28:/mnt/xfsd/upload Options Reconfigured: performance.quick-read: off performance.read-ahead: off server.allow-insecure: on features.limit-usage: /:22TB features.quota: enable nfs.enable-ino32: on features.quota-timeout: 5 ================ example ==================== -rwxrwxrwx 1 root root 0 Nov 21 17:23 b9003ee83d28e6b8057e7d57813986fb.mp4 10.10.135.23 /mnt/xfsd/upload/bj/operation/video/2013/11/21/f7/b9003ee83d28e6b8057e7d57813986fb.mp4 does not exist! 10.10.135.24 trusted.glusterfs.dht.linkto="upload-replicate-2" trusted.glusterfs.gfid=764531a81e3040098a423bc226c8c2fc ---------T 2 root root 0 Nov 21 17:23 /mnt/xfsd/upload/bj/operation/video/2013/11/21/f7/b9003ee83d28e6b8057e7d57813986fb.mp4 ---------T 2 root root 0 Nov 21 17:23 /mnt/xfsd/upload/.glusterfs/76/45/764531a8-1e30-4009-8a42-3bc226c8c2fc 10.10.135.25 /mnt/xfsd/upload/bj/operation/video/2013/11/21/f7/b9003ee83d28e6b8057e7d57813986fb.mp4 does not exist! 10.10.135.26 /mnt/xfsd/upload/bj/operation/video/2013/11/21/f7/b9003ee83d28e6b8057e7d57813986fb.mp4 does not exist! 10.10.135.27 trusted.glusterfs.gfid=764531a81e3040098a423bc226c8c2fc -rw-r--r-- 2 root root 1685321 Nov 21 17:23 /mnt/xfsd/upload/bj/operation/video/2013/11/21/f7/b9003ee83d28e6b8057e7d57813986fb.mp4 -rw-r--r-- 2 root root 1685321 Nov 21 17:23 /mnt/xfsd/upload/.glusterfs/76/45/764531a8-1e30-4009-8a42-3bc226c8c2fc 10.10.135.28 trusted.glusterfs.gfid=764531a81e3040098a423bc226c8c2fc -rw-r--r-- 2 root root 1685321 Nov 21 17:23 /mnt/xfsd/upload/bj/operation/video/2013/11/21/f7/b9003ee83d28e6b8057e7d57813986fb.mp4 -rw-r--r-- 2 root root 1685321 Nov 21 17:23 /mnt/xfsd/upload/.glusterfs/76/45/764531a8-1e30-4009-8a42-3bc226c8c2fc even I make it 10.10.135.23 as offline. I still get such issue. Could anyone help? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131121/d8ba4095/attachment.html>