You are not logged in.

#1 2024-08-20 01:29:27

itarill
Member
Registered: 2020-06-03
Posts: 60

[Solved] btrfs - I'm stuck in a RO file system

So I have made a mistake trying to fix my audio sinks. I am using snap-pac and snapper, btw. I tried to revert (from an otherwise working RW file system) to one using first btrfs-assistant, then grub-btrfs. And now my head hurts as I cannot seem to be able to get back to a RW state. Can anyone please guide me back to the light?


#23 is the one where my audio is glitchy, #24 is where it is wrecked already.

...
23  | single |       | Tue Aug 20 02:00:09 2024 | root | timeline | timeline                                                                 |
24  | pre    |       | Tue Aug 20 02:44:06 2024 | root | number   | pacman -S dnsmasq                                                        |
25- | post   |    24 | Tue Aug 20 02:44:07 2024 | root | number   | dnsmasq nftables                                                         |
26  | single |       | Tue Aug 20 03:00:01 2024 | root | timeline | timeline                                                                 |

I did check the changes between them via

snapper status 22..23

but in general I'm happy if I can get back to #23.
At this point and this late I'm now really sure what the conceptual difference between the ID 292 (below) and #23 is...


sudo btrfs subvolume list /

...
ID 292 gen 800 top level 260 path @.snapshots/23/snapshot
ID 293 gen 711 top level 5 path @
ID 294 gen 732 top level 260 path @.snapshots/24/snapshot
ID 295 gen 828 top level 260 path @.snapshots/25/snapshot
ID 296 gen 756 top level 256 path @_backup_2024-08-20T00:33:14.918Z_test_backup_2024-08-20T00:57:18.442Z_test/var/lib/portables
ID 297 gen 756 top level 256 path @_backup_2024-08-20T00:33:14.918Z_test_backup_2024-08-20T00:57:18.442Z_test/var/lib/machines
ID 298 gen 798 top level 5 path @_backup_2024-08-20T00:33:14.918Z_test_backup_2024-08-20T01:10:46.228Z_test2
ID 299 gen 772 top level 264 path @home/.snapshots/6/snapshot
ID 300 gen 773 top level 260 path @.snapshots/26/snapshot
ID 301 gen 796 top level 5 path @_backup_2024-08-20T00:33:14.918Z_teszt
ID 302 gen 812 top level 260 path @.snapshots/clone

Last edited by itarill (2024-08-20 09:18:56)

Offline

#2 2024-08-20 09:18:44

itarill
Member
Registered: 2020-06-03
Posts: 60

Re: [Solved] btrfs - I'm stuck in a RO file system

Solved.

sudo snapper --ambit classic rollback 23

And then reboot into #30, which was made by the command above as a writable copy of #23.

Offline

Board footer

Powered by FluxBB