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

Kingsley gluster at gluster.dogwind.com
Fri Jul 22 12:48:37 UTC 2016


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.



More information about the Gluster-users mailing list