How to remove files from glusterfs cache (hardlinks) after file deletion directly on brick.
Go inside gluster 'cache' folder eg. /data/.glusterfs/.glusterfs
Find and copy these files with dir structure to safe place
find . -links 1 -type f -exec rsync -arvRH --progress --remove-source-files {} /data/old_files/ ;
Check & remove.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With