Comments (4)
Thanks, I've solved! A small note, after rollback if you want to access at your partition with all subvolume you must do:
mount -t btrfs -o subvolid=5 /dev/nvmeXpYnZ /your/mountpoint
instead
mount -t btrfs /dev/nvmeXpYnZ /your/mountpoint
from snapper-rollback.
Thanks for the detailed bug report! In step 2, try mounting /dev/nvme0n1p1
with -o subvolid=5
option instead of -o subvol=@
The reason for this is we're looking to get access to the btrfs root subvolume (subvolid=5
), not the linux root (/
), both of which are quite separate concepts. I'm afraid the terminology is rather confusing, but this is what the community has chosen. I'll encourage you to check the some terminology
section in snapper-rollback.conf
.
Also for step 3, you're looking for something like sudo snapper-rollback 5
, without the SNAPID
Assuming you have a flat layout and that your snapper made a valid snapshot id 5, those 2 steps should be sufficient to get everything working again.
my doubt is, for rollback I must boot snapshot that I want to restore sure? Or I must boot on my root's partiton and restore from that?
As long as you can run the script and it has access to a mounted subvolid=5
, you can boot from anything you'd like, it shouldn't matter.
from snapper-rollback.
Without the -o subvolid=5
, mount
will probably mount the default subvolume, which should be your linux root (@
) so the -o subvolid=5
is indeed necessary.
Glad you were able to solve the issue!
from snapper-rollback.
It's all ok, now I can use snapper for restoring. If you want, you can close this issue
from snapper-rollback.
Related Issues (14)
- Necessity of `mountpoint` and `dev` settings HOT 1
- [FEATURE] Rollback snapper default layout snapshots (e.g. `@home`) HOT 14
- [BUG] No module btrfsutil were found HOT 5
- Add support for snapshot auto-deletion HOT 3
- [BUG] still booting read only after roll back HOT 10
- The difference between `snapper-rollback`, and the default `snapper rollback`. HOT 4
- 'mountpoint' value when running from installed system HOT 1
- Error on rollback HOT 6
- mountpoint = /btrfsroot HOT 4
- Don't have subvolid 5 HOT 2
- I am left without network device after rollback HOT 1
- Usable with /@ root volume? HOT 6
- Snapshot not restored despite success message HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snapper-rollback.