pkolaczk / fclones

Efficient Duplicate File Finder
MIT License
1.83k stars 70 forks source link

Os Error 2 while accessing zfs system #198

Closed varvenk closed 1 year ago

varvenk commented 1 year ago

Hi On the latest ubuntu 22.04 with kernel 5.19.0-40-generic #41~22.04.1-Ubuntu I am seeing a consistent error

fclones group /mypool/plex_data/ [2023-04-29 21:30:15.990] fclones: error: Can't access /mypool/plex_data: No such file or directory (os error 2) [2023-04-29 21:30:15.998] fclones: error: Some input paths could not be accessed.

Fdupes etc. can access this path. fclones -V fclones 0.30.0

Mount output mount mypool on /mypool type zfs (rw,xattr,noacl) mypool/plex_data on /mypool/plex_data type zfs (rw,xattr,noacl)

varvenk commented 1 year ago

Wanted to update. I installed 0.29.3 from .deb pkg and it was able to find and parse out the paths. So seems specific to 0.30.0. I also tried installing from the deb file and that works. So I assume error is only limited to the .snap file. Thanks

th1000s commented 1 year ago

Works fine here, fclones 0.30.0 and zfs 2.1.2 on Debian. What do the lines of strace output around this "access error" (near the statx syscall) say? Try running with strace -e file fclones ..., and is that different from strace -e file ls -d /mypool/plex_data?

pkolaczk commented 1 year ago

Have you tried running snap connect fclones:removable-media ?

Theoretically this should be already autoconnected by default now, but maybe somehow on your system it didn't? Or maybe snap doesn't give you simply the access to that mount point for different reasons, but then this is worth reporting to snap maintainers.