View of filesystem without duplicated directories mounts?

Status
Not open for further replies.

IanWorthington

Contributor
Joined
Sep 13, 2013
Messages
144
I'm looking to find duplicate files on my zfs volume to delete using hashdeep (plus my own analysis program).

One issue I'm facing is that as I mount directories from that volume into, for example, the plexmediaserver jail, which is also on that same volume, then a recursive hashdeep of /mnt/volume1 will return those files twice.

Is there any alternative directory view of the entire volume which will allow me to access a unique list of all the files on the system?

Ian
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Don't run the program from the root dataset. This way it won't include your jails dataset.

Sent from my Nexus 5X using Tapatalk
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Can you just exclude the jails subfolders from analysis?
I can't think of a way to do this without unmounting the jails dataset. And I think that the only place where this will come up is the jails.
 
Status
Not open for further replies.
Top