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

cannot create hard link during snapshot #2

Open
antocuni opened this issue Dec 5, 2017 · 0 comments
Open

cannot create hard link during snapshot #2

antocuni opened this issue Dec 5, 2017 · 0 comments

Comments

@antocuni
Copy link

antocuni commented Dec 5, 2017

I am not sure whether this is a bug in the code or in the documentation (or both 😅).

This is more or less what I did:

$ mount /dev/sdb1 /data
$ mount /dev/sdc1 /mnt/external
$ rsync-system-backup /data /mnt/external

The "backup" step worked fine. Then the script tried to create a snapshot under /mnt/2017-12-05 15:24:47/, and I get tons of errors like this, since /mnt/external and /mnt/2017*` are on two different disks:

cp: cannot create hard link '/mnt/2017-12-05 15:24:47/...' to '/mnt/external/...': Invalid cross-device link

In general, I'd say that creating the snapshots in the parent directory of the destination is a bit confusing: or, at least, it's not what I'd expect. Maybe it would be better to create them under a special /mnt/external/snaphosts folder, or similar?

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

No branches or pull requests

1 participant