[Gluster-users] can I delete these xattrop files?

Ashish Pandey aspandey at redhat.com
Mon Jul 25 07:01:25 UTC 2016


Hi, 

You should not delete any file manually. Most of the time it is not safe. 
I would suggest to run gluster v heal <volname> info to see if there are files to be healed. 
You can execute "gluster v heal <volname>" to heal any file present in heal info command. You could also try "gluster v heal <volname> full" for scanning and healing each and every file of your volume. 
However, it would take long time depending on the size of data. 

Still if you see this issue, please send volume info and status along with heal info and glustershd logs. 

Ashish 
----- Original Message -----

From: "Kingsley" <gluster at gluster.dogwind.com> 
To: "gluster-user" <gluster-users at gluster.org> 
Sent: Friday, July 22, 2016 6:18:37 PM 
Subject: [Gluster-users] can I delete these xattrop files? 

We have a few 4 way replicated volumes but one of the volumes has 4 
xattrop files on a couple of the bricks that don't seem to have a 
corresponding linked file within .glusterfs/XX/YY/. The other bricks 
don't have any lingering xattrop files. 

Is it safe to delete these? 

This is gluster 3.6.3. 

[root at gluster1b-1 brick]# ls -l /data/brick/*/.glusterfs/indices/xattrop/????????-????-* 
----------. 5 root root 0 Mar 2 09:31 /data/brick/gv0/.glusterfs/indices/xattrop/08713e43-7bcb-43f3-818a-7b062abd6e95 
----------. 5 root root 0 Mar 2 09:31 /data/brick/gv0/.glusterfs/indices/xattrop/436dcbec-a12a-4df9-b8ef-bae977c98537 
----------. 5 root root 0 Mar 2 09:31 /data/brick/gv0/.glusterfs/indices/xattrop/67cafb25-1ce0-4578-9277-07ff91afb3a7 
----------. 5 root root 0 Mar 2 09:31 /data/brick/gv0/.glusterfs/indices/xattrop/81dc9194-2379-40b5-a949-f7550433b2e0 
[root at gluster1b-1 brick]# 
[root at gluster1b-1 brick]# ls -l /data/brick/gv0/.glusterfs/08/71/08713e43-7bcb-43f3-818a-7b062abd6e95 /data/brick/gv0/.glusterfs/43/6d/436dcbec-a12a-4df9-b8ef-bae977c98537 /data/brick/gv0/.glusterfs/67/ca/67cafb25-1ce0-4578-9277-07ff91afb3a7 /data/brick/gv0/.glusterfs/81/dc/81dc9194-2379-40b5-a949-f7550433b2e0 
ls: cannot access /data/brick/gv0/.glusterfs/08/71/08713e43-7bcb-43f3-818a-7b062abd6e95: No such file or directory 
ls: cannot access /data/brick/gv0/.glusterfs/43/6d/436dcbec-a12a-4df9-b8ef-bae977c98537: No such file or directory 
ls: cannot access /data/brick/gv0/.glusterfs/67/ca/67cafb25-1ce0-4578-9277-07ff91afb3a7: No such file or directory 
ls: cannot access /data/brick/gv0/.glusterfs/81/dc/81dc9194-2379-40b5-a949-f7550433b2e0: No such file or directory 



[root at gluster2b-1 brick]# ls -l /data/brick/*/.glusterfs/indices/xattrop/????????-????-* 
----------. 5 root root 0 Nov 7 2015 /data/brick/gv0/.glusterfs/indices/xattrop/08713e43-7bcb-43f3-818a-7b062abd6e95 
----------. 5 root root 0 Nov 7 2015 /data/brick/gv0/.glusterfs/indices/xattrop/386291a9-deb0-4a24-88e4-6f1b58d18ed7 
----------. 5 root root 0 Nov 7 2015 /data/brick/gv0/.glusterfs/indices/xattrop/4ae84dcc-266c-4d3e-8984-e6a755de0a27 
----------. 5 root root 0 Nov 7 2015 /data/brick/gv0/.glusterfs/indices/xattrop/81dc9194-2379-40b5-a949-f7550433b2e0 
[root at gluster2b-1 brick]# 
[root at gluster2b-1 brick]# ls -l /data/brick/gv0/.glusterfs/08/71/08713e43-7bcb-43f3-818a-7b062abd6e95 /data/brick/gv0/.glusterfs/38/62/386291a9-deb0-4a24-88e4-6f1b58d18ed7 /data/brick/gv0/.glusterfs/4a/e8/4ae84dcc-266c-4d3e-8984-e6a755de0a27 /data/brick/gv0/.glusterfs/81/dc/81dc9194-2379-40b5-a949-f7550433b2e0 
ls: cannot access /data/brick/gv0/.glusterfs/08/71/08713e43-7bcb-43f3-818a-7b062abd6e95: No such file or directory 
ls: cannot access /data/brick/gv0/.glusterfs/38/62/386291a9-deb0-4a24-88e4-6f1b58d18ed7: No such file or directory 
ls: cannot access /data/brick/gv0/.glusterfs/4a/e8/4ae84dcc-266c-4d3e-8984-e6a755de0a27: No such file or directory 
ls: cannot access /data/brick/gv0/.glusterfs/81/dc/81dc9194-2379-40b5-a949-f7550433b2e0: No such file or directory 

-- 
Cheers, 
Kingsley. 

_______________________________________________ 
Gluster-users mailing list 
Gluster-users at gluster.org 
http://www.gluster.org/mailman/listinfo/gluster-users 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160725/d84f70e1/attachment.html>


More information about the Gluster-users mailing list