balooning/dynamic snapshots?

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

 



Right now, one has to specify a snapshot size.

If the snapshot takes more space that one specified with -s (size), that snapshot is automatically dropped, and is no longer usable.


Sometimes, it is just not possible to know beforehand how much data will change, but on the other hand, specifying 100% snapshot size is not possible or hard to estimate.


Is it possible to make a "balooning", or dynamic LVM snapshot? That is, if the snapshot reaches its maximum, it will be automatically resized, provided we still have space on the medium.

Looking at lvm manuals, I didn't see such a feature, and the only possibility seems to be to create a userspace program which would check the status of the snapshots periodically, and resize them if needed - but this seems crude, and may not work sometimes (very loaded system, volumes with a lot of writes etc.).


--
Tomasz Chmielewski
http://lists.wpkg.org

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
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