linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Alert before LVM snapshot becomes full
@ 2013-04-02  9:30 Loïc
  0 siblings, 0 replies; 4+ messages in thread
From: Loïc @ 2013-04-02  9:30 UTC (permalink / raw)
  To: linux-lvm

Hi all,

Is there 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%.

Lo�c

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [linux-lvm] Alert before LVM snapshot becomes full
@ 2013-05-29  7:56 Loïc
  2013-05-29 15:15 ` Zdenek Kabelac
  0 siblings, 1 reply; 4+ messages in thread
From: Loïc @ 2013-05-29  7:56 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 500 bytes --]

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 ?

Thank you in advance.

Loïc

[-- Attachment #2: Type: text/html, Size: 1191 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] Alert before LVM snapshot becomes full
  2013-05-29  7:56 [linux-lvm] Alert before LVM snapshot becomes full Loïc
@ 2013-05-29 15:15 ` Zdenek Kabelac
  2013-06-05  8:39   ` Loïc
  0 siblings, 1 reply; 4+ messages in thread
From: Zdenek Kabelac @ 2013-05-29 15:15 UTC (permalink / raw)
  To: LVM general discussion and development; +Cc: Loïc

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] Alert before LVM snapshot becomes full
  2013-05-29 15:15 ` Zdenek Kabelac
@ 2013-06-05  8:39   ` Loïc
  0 siblings, 0 replies; 4+ messages in thread
From: Loïc @ 2013-06-05  8:39 UTC (permalink / raw)
  To: LVM general discussion and development

[-- Attachment #1: Type: text/plain, Size: 1206 bytes --]

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
>
>
>

[-- Attachment #2: Type: text/html, Size: 1971 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-05  8:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-29  7:56 [linux-lvm] Alert before LVM snapshot becomes full Loïc
2013-05-29 15:15 ` Zdenek Kabelac
2013-06-05  8:39   ` Loïc
  -- strict thread matches above, loose matches on Subject: below --
2013-04-02  9:30 Loïc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).