[linux-lvm] Unusually long boot times with LVM Snapshots
Bryn M. Reeves
bmr at redhat.com
Mon Nov 23 13:13:21 UTC 2020
On Fri, Nov 20, 2020 at 09:48:10PM +0530, Sreyan Chakravarty wrote:
> How can I check which type of snapshot I am using ?
> I am very interested in knowing more about these newer snapshots.
> I think I am using the older COW snapshots.
> I created it using:
> sudo lvcreate -L 70GB -s -n test_snapshot
This is a classic (aka CoW/copy-on-write or "thick") snapshot since it
was created with a size (-L 70GB). When creating a thin snapshot you do
not specify a size for the snapshot LV - it consumes space from the
associated thin pool as needed.
Generally you can find information about the LVs on your system using
the "lvs" command. The "Attr" field displays lv attributes including the
volume type - see the NOTES section of 'man lvs' for the meaning of the
values. The lvs report can also show you whether a snapshot is using CoW
or thinp and the amount of data it is consuming.
More information about the linux-lvm