Re: Alert before LVM snapshot becomes full

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

 



Hi,

Thank you, I will look to try to create my own lvm snapshot dmeventd plugin.

My problem is really special. Unfortunately I can not extend my snapshot.

Loïc


On Wed, May 29, 2013 at 5:15 PM, Zdenek Kabelac <zkabelac@redhat.com> wrote:
Dne 29.5.2013 09:56, Loďc napsal(a):

Hi all,

I would like to raise my problem because I have not found the answer to my
question by searching on the Internet. Hoping that one of you had experience
with this kind of problem.

I'm looking for a way to launch a script or disable an LVM snaphot before it
becomes full.
For example I would like to launch a script that will umount the LVM snapshot
and delete it if it reaches 90%. That is to avoid LVM issue when snapshot is full.

Any ideas ?


Write dmeventd plugin - similar as you can find in upstream git source tree.


BTW - what's is the point to delete it 90% and delete it when it's invalid ?

If you don't need the snapshot you should remove it instantly - since it's impact system performance.

And if you need it - it's probably more useful to extend the snapshot.

Zdenek



_______________________________________________
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