Re: find snapshot parent?

Ulli Horlacher
2019-07-07T22:18:42Z

On Sun 2019-07-07 (12:12), Nikolay Borisov wrote:

> root@ubuntu-virtual:~# mount /dev/vdc /media/scratch/
>
> root@ubuntu-virtual:~# btrfs subvol show /media/scratch/
> /
> Name: <FS_TREE>
> UUID: 80633e8d-fa8a-4922-ac0c-b46d7b2e2d81
> Parent UUID: -
> Received UUID: -
> Creation time: 2019-07-07 09:09:15 +0000
> Subvolume ID: 5
> Generation: 8
> Gen at creation: 0
> Parent ID: 0
> Top level ID: 0
> Flags: -
> Snapshot(s):
> snap1
> snap-ro

root@fex:~# lsb_release -d
Description: Ubuntu 18.04.2 LTS

root@fex:~# btrfs version
btrfs-progs v4.15.1

root@fex:~# mount|grep /local
/dev/sdd1 on /local type btrfs (rw,relatime,space_cache,user_subvol_rm_allowed,subvolid=5,subvol=/)

root@fex:~# btrfs subvolume show /local
/
Name: <FS_TREE>
UUID: -
Parent UUID: -
Received UUID: -
Creation time: -
Subvolume ID: 5
Generation: 1633457
Gen at creation: 0
Parent ID: 0
Top level ID: 0
Flags: -

No UUID!

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/
REF:<8bc57b91-fc13-979b-a25a-b7a16094d09a@suse.com>