Giter Club home page Giter Club logo

Comments (4)

zarMarco avatar zarMarco commented on August 16, 2024 2

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.

jrabinow avatar jrabinow commented on August 16, 2024

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.

jrabinow avatar jrabinow commented on August 16, 2024

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.

zarMarco avatar zarMarco commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.