Open segator opened 4 years ago
Thanks for the report. Could you please provide below details to understand the issue better.
--dry-run
or --analyze
which doesn't perform any write operation on the disks.
$ docker run -itd --device /dev/mapper/cachedev_0 -v /btrfs_mnt:/mnt laks/dduper
$ docker exec -it <container-id> bash
$ apt-get install strace
$ strace -o /mnt/logs.txt dduper --device /dev/mapper/cachedev --dir /mnt --analyze
Hi @segator , You had chance to explore this further?
leaf parent key incorrect 7939913383936 ERROR: failed to read block groups: Operation not permitted
Google Search points above may be related BTRFS related issue. I'll go ahead mark this as closed. If you have more details, please re-open this issue. thank you!
I think this issue may be related to BTRFS subvolume which has been reported by others too.
Quick update on subvolume: I spent 3 or 4 days trying to figure out issue with sub-volume, I can dump csum of subvolume from different code path. Still need some work to explore the btrfs disk-layout.
Hi trying to run your amazing tool on a synology with BTRFS using your docker as described in install.md
but i'm seeing errors /dev/mapper/cachedev_0 is the dev that synology mounts the BTRFS(checked with the mount command) maybe is because synology have NVME caching