Accidentally removed /.snapshots/1 rendering my system unbootable

In an attempt to cleanup diskspace I removed /.snapshots/1 which immediately resulted in several commands not working anymore. The only thing that could be done is shutting the system down in the hope that it would come up again after reboot, but unfortunately that’s not the case.

I have no idea what the snapshot was all about but it seems pretty important. Any remedy apart from reinstalling the system to revert back from this situatios. Any ideas/help is welcome.

Yes that was a very bad idea you can manage snapshots with the snapper command but deleting them with normal directory commands essentially broke your system, I admit I have no idea how or if it can be repaired. In any case for future reference if you plan to use BTRFS with snapper here are the base instruction

https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.snapper.html

Maybe a reinstall using upgrade (yes same version upgrade) may bring things back. But it may take a new install.

Thanks, Gogalthorp. I will download an image up-to-date version. I updated yesterday to latest versions, so the image will not be too far off I guess.:cry:

Please show output of “btrfs subvolume list -a /mount/point/for/root/partition”.

The DVD image will be the original release <without> all the updates that have been since released.
After your repair (I think should be successful), you should immediately update before rebooting

zypper up

Also, if your machine was still running (or if you can get it to run in any way which doesn’t seem possible) with a network connection, you could have tried to repair/re-install using the following which automatically includes all the latest (assumes you have both the OSS and OSS update repos enabled).

zypper dup

TSU