Skip to content

Possibility of non-destructive rollback to older snapshot similar to Btrfs? #17014

Answered by amotin
foxtrotcz asked this question in Q&A
Discussion options

You must be logged in to vote

What worries me here most is the unmount operation. If even a single file from that mount point is open, Linux kernel won't let you to unmount it. And swapping the dataset beneath application without unmounting is a request for data corruption. If that is not a problem for you, just write a script of few lines doing that. But you need to keep also in mind possible interaction with other processes on a system, that will see the created clone and may get surprised by it in some way.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@amotin
Comment options

amotin Jan 31, 2025
Collaborator

Answer selected by foxtrotcz
@foxtrotcz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants