Hi Joe,
I tried deleting both 0-bit versions of one of the dublicated file, like so: [root@gluster01 ~]# getfattr -m . -d -e hex /export/brick14gfs01/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd getfattr: Removing leading '/' from absolute path names # file: export/brick14gfs01/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd security.selinux=0x73797374656d5f753a6f626a6563745f723a66696c655f743a733000 trusted.afr.dirty=0x000000000000000000000000 trusted.afr.sr_vol01-client-34=0x000000000000000000000000 trusted.afr.sr_vol01-client-35=0x000000000000000000000000 trusted.gfid=0xaefd184508414a8f8408f1ab8aa7a417 [root@gluster03 ~]# getfattr -m . -d -e hex /export/brick14gfs03/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd getfattr: Removing leading '/' from absolute path names # file: export/brick14gfs03/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd security.selinux=0x73797374656d5f753a6f626a6563745f723a66696c655f743a733000 trusted.afr.dirty=0x000000000000000000000000 trusted.afr.sr_vol01-client-34=0x000000000000000000000000 trusted.afr.sr_vol01-client-35=0x000000000000000000000000 trusted.gfid=0xaefd184508414a8f8408f1ab8aa7a417 [root@gluster01 ~]# rm -f /export/brick14gfs01/.glusterfs/ae/fd/aefd1845-0841-4a8f-8408-f1ab8aa7a417 /export/brick14gfs01/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd [root@gluster03 ~]# rm -f /export/brick14gfs03/.glusterfs/ae/fd/aefd1845-0841-4a8f-8408-f1ab8aa7a417 /export/brick14gfs03/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd An "ls" showed that this was successful.. 10 minutes later these deleted files are back (presumably after a self-heal had passed): [root@gluster01 ~]# find /export/*/27* -size 0 -name '3009f448-cf6e-413f-baec-c3b9f0cf9d72*' -exec ls -la {} \; -rw-r--r--. 2 root root 0 Feb 18 00:51 /export/brick14gfs01/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd Notice how the last modification date is the same as the deleted files (the moment I rebooted the machines and the duplication-misery was triggered). Do you have any idea what this means? About you blog (http://joejulian.name/blog/dht-misses-are-expensive/), I don't quiet understand how I can use the hash: [root@gluster01 ~]# python gf_dm_hash.py 3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd 0x2b3634edL .. to locate/identify the good replica pair of that file. I also still have these versions (with actual data): [root@gluster01 ~]# getfattr -m . -d -e hex /export/brick13gfs01/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd getfattr: Removing leading '/' from absolute path names # file: export/brick13gfs01/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000 trusted.afr.dirty=0x000000000000000000000000 trusted.afr.sr_vol01-client-32=0x000000000000000000000000 trusted.afr.sr_vol01-client-33=0x000000000000000000000000 trusted.afr.sr_vol01-client-34=0x000000000000000000000000 trusted.afr.sr_vol01-client-35=0x000000010000000100000000 trusted.gfid=0xaefd184508414a8f8408f1ab8aa7a417 [root@gluster02 ~]# getfattr -m . -d -e hex /export/brick13gfs02/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd getfattr: Removing leading '/' from absolute path names # file: export/brick13gfs02/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd security.selinux=0x73797374656d5f753a6f626a6563745f723a66696c655f743a733000 trusted.afr.dirty=0x000000000000000000000000 trusted.afr.sr_vol01-client-32=0x000000000000000000000000 trusted.afr.sr_vol01-client-33=0x000000000000000000000000 trusted.gfid=0xaefd184508414a8f8408f1ab8aa7a417 [root@gluster02 ~]# getfattr -m . -d -e hex /export/brick15gfs02/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd getfattr: Removing leading '/' from absolute path names # file: export/brick15gfs02/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd security.selinux=0x73797374656d5f753a6f626a6563745f723a66696c655f743a733000 trusted.afr.dirty=0x000000000000000000000000 trusted.afr.sr_vol01-client-40=0x000000000000000000000000 trusted.afr.sr_vol01-client-41=0x000000000000000000000000 trusted.gfid=0xaefd184508414a8f8408f1ab8aa7a417 [root@gluster03 ~]# getfattr -m . -d -e hex /export/brick13gfs03/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd getfattr: Removing leading '/' from absolute path names # file: export/brick13gfs03/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd security.selinux=0x73797374656d5f753a6f626a6563745f723a66696c655f743a733000 trusted.afr.dirty=0x000000000000000000000000 trusted.afr.sr_vol01-client-40=0x000000000000000000000000 trusted.afr.sr_vol01-client-41=0x000000000000000000000000 trusted.gfid=0xaefd184508414a8f8408f1ab8aa7a417 My bet would be that I can delete the first two of these files. For the rest they look identical: [root@gluster01 ~]# ls -al /export/brick13gfs01/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd -rw-r--r--. 2 root root 44332659200 Feb 17 23:55 /export/brick13gfs01/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd [root@gluster02 ~]# ls -al /export/brick13gfs02/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd -rw-r--r--. 2 root root 44332659200 Feb 17 23:55 /export/brick13gfs02/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd [root@gluster02 ~]# ls -al /export/brick15gfs02/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd -rw-r--r--. 2 root root 44332659200 Feb 17 23:55 /export/brick15gfs02/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd [root@gluster03 ~]# ls -al /export/brick13gfs03/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd -rw-r--r--. 2 root root 44332659200 Feb 17 23:55 /export/brick13gfs03/272b2366-dfbf-ad47-2a0f-5d5cc40863e3/3009f448-cf6e-413f-baec-c3b9f0cf9d72.vhd Cheers, Olav On 21/02/15 01:37, Olav Peeters wrote:
|
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users