On 12/02/2014 01:42 AM, Achim Gratz wrote:
Roman Bysh writes:
How soon did you create your initial snapshot? Was it a single snapshot? I want to create a pre after the initial install and a post after the update. So if something goes wrong in the future I can restore it.
The initial snapshot was created when I gave snapper a config for the root filesystem. The install didn't creaqte one, and I started wondering about two weeks into using the machine why I wasn't seeing any snapshots.
The main problem in btfs is when you get "csum" errors in the filesystem. See the errors I posted earlier. When I restored my earliest snapshot the csum errors still existed.
I'm not sure a snapshot would help you here. For the snapshots to work I'd think the filesystem must not be corrupt. So, depending on what the error is and where it might take out the snapshots just as well.
A snapshot is nothing more than telling btrfs "if anything writes to this file, make a copy of it and keep the old data around".
The filesystem is kaput. Other than a running a backup I must reinstall from my DVD. I've never had this problem with ext4.
Too bad there is no way to recover using a btrfs tool.
Maybe in two or three years. I will try tomorrow.