Skip to content

Fix "No snapper configs found for any data drives in..."#39

Open
JKJameson wants to merge 1 commit into
automorphism88:masterfrom
JKJameson:master
Open

Fix "No snapper configs found for any data drives in..."#39
JKJameson wants to merge 1 commit into
automorphism88:masterfrom
JKJameson:master

Conversation

@JKJameson
Copy link
Copy Markdown

My configuration would replace the configuration file correctly, for example

data d1 /mnt/disk1/.snapshots/2/snapshot/
data d2 /mnt/disk2/.snapshots/2/snapshot/
data d3 /mnt/disk3/.snapshots/2/snapshot/
data d4 /mnt/disk4/.snapshots/2/snapshot/
data d5 /mnt/disk5/.snapshots/2/snapshot/
data d6 /mnt/disk6/.snapshots/2/snapshot/

This is expected behavior, however snapraid-btrfs will then attempt to match /mnt/disk1/.snapshots/2/snapshot/ to /mnt/disk1 and fail to detect the disk.

The patch I have prepared removes the /.snapshots/*/snapshot/ substring to correctly match the disk as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant