From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Loïc <loic@recisio.com>
Subject: Re: [linux-lvm] Alert before LVM snapshot becomes full
Date: Wed, 29 May 2013 17:15:43 +0200 [thread overview]
Message-ID: <51A61B9F.4010905@redhat.com> (raw)
In-Reply-To: <CAA9cXK679Fwn+Ow4hxVUunkuusa7xoH+qYNj6fUR060pQjwjzA@mail.gmail.com>
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
next prev parent reply other threads:[~2013-05-29 15:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-29 7:56 [linux-lvm] Alert before LVM snapshot becomes full Loïc
2013-05-29 15:15 ` Zdenek Kabelac [this message]
2013-06-05 8:39 ` Loïc
-- strict thread matches above, loose matches on Subject: below --
2013-04-02 9:30 Loïc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51A61B9F.4010905@redhat.com \
--to=zkabelac@redhat.com \
--cc=linux-lvm@redhat.com \
--cc=loic@recisio.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.