trapexit / mergerfs-tools

Optional tools to help manage data in a mergerfs pool
ISC License
372 stars 42 forks source link

Create mergerfs.findfile #144

Open id628 opened 4 months ago

id628 commented 4 months ago

This script tells you which drive holds the file you're looking for. It also warns you if there are multiple copies in different drives.

id628 commented 4 months ago

@trapexit I have been using mergerfs (with Snapraid) for many years now, and often I needed to know which physical drive a file was actually stored on. Recently, I started a file migration project that made this crucial to me. So using the knowledge exposed by mergerfs.consolidate, I created this script to identify the drive mergerfs found the file on, and also if it's duplicated on other drives (redundant, I know, but helpful in my case).