[linux-lvm] What is the use of thin snapshots if the external origin cannot be set to writable ?

Bryn M. Reeves bmr at redhat.com
Wed Nov 25 12:38:53 UTC 2020


On Tue, Nov 24, 2020 at 05:29:36PM +0530, Sreyan Chakravarty wrote:
> On Mon, Nov 23, 2020 at 6:34 PM Bryn M. Reeves <bmr at redhat.com> wrote:
> > It means re-installing but if the system is set up to use a thin pool
> > and thin provisioned logical volumes from the start then you can use
> > snapshots without any of the limitations that you've bumped into with
> > external origin devices.
> 
> 
> Do I have to reinstall my system for thin snapshots ?
> 
> Can't I just clone my filesystem and then create a thin pool ?

You can, it's just typically easier for most users to re-install than to
execute the necessary steps to convert the system after the fact.

If you have sufficient space then you can just create a thin pool, copy
your existing file systems into it and then fix up the fstab, grub boot
entries, initramfs and any other configuration that may still reference
the old device names. Once you're finished you can remove the original
volumes and reclaim the space for use by the thin pool.

Regards,
Bryn.




More information about the linux-lvm mailing list