how to replay a snapshot (btrfs) ?

Lentes, Bernd bernd.lentes at helmholtz-muenchen.de
Tue Jul 26 20:09:19 UTC 2016


----- Am 26. Jul 2016 um 21:27 schrieb Rashkae ubuntu at tigershaunt.com:

> On 16-07-26 03:16 PM, Rashkae wrote:
>> You'll notice that @home is missing from this list.  We aren't looking
>> at the same top level directory anymore.  Possibly an effect of having
>> some weird default subvolume now.
>>
>> I'm not at all sure what's the best way for you to untangle this knot
>> from here.
>>
>> Good luck.
>>
> 
> That was rude of me, after I helped get you here... I'm sorry.
> 
> So you can boot from a live CD, that's good.
> 
> First, we need to fix the default subvolume, so mount your device, set
> default id to 5, unmount / and remount the device, do an ls.  If you got
> it right, @home should re-appear.
> 
> At that point, get a new brtrfs sub list output so we can see what
> subvolumes are available and where they are to be found.

root at ubuntu:~# btrfs sub get-default /mnt/root/
ID 5 (FS_TREE)
root at ubuntu:~#
root at ubuntu:~# btrfs sub list /mnt/root/
ID 257 gen 39426 top level 5 path @
ID 258 gen 39390 top level 5 path @home
ID 285 gen 39218 top level 257 path @/old/snapshots/root_190720162124
ID 300 gen 39222 top level 257 path @/@
root at ubuntu:~#
root at ubuntu:~# ll /mnt/root/
total 16
drwxr-xr-x 1 root root  12 Jun  8 15:19 ./
drwxr-xr-x 1 root root  60 Jul 26 20:01 ../
drwxr-xr-x 1 root root 252 Jul 26 18:12 @/
drwxr-xr-x 1 root root  26 Jul 19 17:51 @home/
root at ubuntu:~#

Bernd
 

Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Dr. Alfons Enhsen, Renate Schlusen (komm.)
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671





More information about the ubuntu-users mailing list