Re: What is the use of thin snapshots if the external origin cannot be set to writable ?

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

 



Il 2020-11-21 04:10 Sreyan Chakravarty ha scritto:
I mean what is the point of creating a snapshot if I can't change my
original volume ?

Is there some sort of resolution ?

External thin snapshot are useful to share a common, read-only base (ie: a "gold-master" image) with different writable thin lvm overlay volumes. They can not be merged into external origin; otherwise, a single merge operation would invalidate *all* other thin snapshot relying on the same origin.

Classical LVM snapshots are good for temporary, short-lived snapshots - basically taken for backup purpose only (and immediately removed after the backup completed). You should not use them for long-lived snapshots (otherwise you can see much lower performance and delayed boot).

If you want to have long-lived snapshot you should use LVM thin snapshots. For root volumes, you have two choices: - use a thin lvm volume for root, which is a supported use case (but it will probably require a system reinstallation); - continue using your classical LVM as a immutable base and use a thin lvm with external snapshot to store all new writes.

Regards.


--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti@xxxxxxxxxx - info@xxxxxxxxxx
GPG public key ID: FF5F32A8

_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux