-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 24.04.2015 um 16:08 schrieb Lentes, Bernd: > Hi, > > it should be just a small problem, but it is one. How can I rollback t o a snapshot of my root filesystem ? > Googeling, I found a lot of solutions, each different. > I finally choosed this one: https://btrfs.wiki.kernel.org/index.php/Us eCases#I_want_to_be_able_to_do_rollbacks_with_Btrfs > > I made the snapshot, changed some configuration, and afterwards I'd li ke to rollback to the snapshot: > > - btrfs subvolume snapshot -r / /.snapshots/vor_nvidia > > - change some configuration > > - btrfs subvolume set-default 625 (id of the snapshot) > > - reboot ...
It seems, that you has set the RO "readonly" flag on the subvolume. The btrfs tool may se/unset the flag like # mount /dev/sdXY /mnt -o subvol=/ # btrfs su list . ID 258 gen 13711 top level 5 path backup [ ... ] # btrfs prop list backup ro Set/get read-only flag of subvolume. compression Set/get compression for a file or directory root@pc6:/mnt# btrfs prop get backup ro=true root@pc6:/mnt# btrfs prop set backup ro false root@pc6:/mnt# btrfs prop get backup ro=false This worked on: root@pc6:/mnt# uname -a ; btrfs --version Linux pc6 3.19.3-3-ARCH #1 SMP PREEMPT Wed Apr 8 14:10:00 CEST 2015 x86_64 GNU/Linux btrfs-progs v3.19 mit freundlichen Grüßen Jürgen Sauer - -- Jürgen Sauer - automatiX GmbH, +49-4209-4699, juergen.sa...@automatix.de Geschäftsführer: Jürgen Sauer, Gerichtstand: Amtsgericht Walsrode • HRB 120986 Ust-Id: DE191468481 • St.Nr.: 36/211/08000 GPG Public Key zur Signaturprüfung: http://www.automatix.de/juergen_sauer_publickey.gpg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlU+EZgACgkQW7UKI9EqarFm9ACgzHjBGXV8Jlscn2ADV1fmdSo6 qgcAn0wWESh7XADCX2Lp8DWrz3FPSnMS =5tHu -----END PGP SIGNATURE----- -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html