Re: how do I know a subvolume is a snapshot?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed 2019-07-17 (11:24), Nikolay Borisov wrote:
> 
> 
> On 17.07.19 3. 2:24 G., Ulli Horlacher wrote:
> 
> > I thought, I can recognize a snapshot when it has a Parent UUID, but this
> > is not true for snapshots of toplevel subvolumes: 
> 
> As you have asked this before - in my testing this is not true.

It is true on all my SUSE and Ubuntu systems, for all versions.


> Alternatively you have to parse the root tree - the ROOT_ITEM's offset
> member should be 0 for well-known trees/ordinary subvolume or the
> transaction id when the snapshot was created.

Where can I find this ROOT_ITEM offset member? Which command?


-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail: horlacher@xxxxxxxxxxxxxxxxxxxx
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<eff513b1-a77c-cd5f-5af7-87eae73cff6a@xxxxxxxx>



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux