Re: faster snapshot creation?

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

 



Il 2020-02-22 12:58 Eric Toombs ha scritto:
So, is there a sort of "dumber" way of making these snapshots, maybe by
changing the allocation algorithm or something?

Hi, I think that total snapshot creation time is dominated by LVM flushing its (meta)data to the physical disks. Two things to try:
- use thin lvm snapshot (see man lvmthin);
- create a pv/vg/lv from a memory-backed loop device (ie: truncate --size=1G /dev/shm/test.img; losetup -f /dev/shm/test.img; pvcreate /dev/loop0 and so on...)

--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it [1]
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