Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only track device id if it is a hardlink (has linkcount > 1) #392

Open
Valentin-Metz opened this issue Dec 27, 2024 · 0 comments
Open

Only track device id if it is a hardlink (has linkcount > 1) #392

Valentin-Metz opened this issue Dec 27, 2024 · 0 comments
Labels
S-triage Status: Waiting for a maintainer to triage this issue/PR

Comments

@Valentin-Metz
Copy link

Rustic currently tracks the device id by default. This causes issues when working with removable drives or ZFS.
Specifically, the device id is not stable in such a case, which leads to a lot of unnecessarily changed blobs.
image

There has been an extensive discussion of this in restic/restic#3041 and the proposed fix restic/restic#4006 is to only track the device id when necessary. This would provide a sane default instead of manually having to supply --ignore-devid, which might have unintended side-effects on files with hardlinks.

@github-actions github-actions bot added the S-triage Status: Waiting for a maintainer to triage this issue/PR label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-triage Status: Waiting for a maintainer to triage this issue/PR
Projects
None yet
Development

No branches or pull requests

1 participant