Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] How to monitor and possibly autoextend snapshots
@ 2008-10-24  9:33 marcin.kaluza
  2008-10-24 16:30 ` Jonathan Brassow
  2008-10-28  6:43 ` [linux-lvm] libdlm.h: No such file or directory Stepan Kadlec
  0 siblings, 2 replies; 10+ messages in thread
From: marcin.kaluza @ 2008-10-24  9:33 UTC (permalink / raw)
  To: linux-lvm

Hi

Is there a way to get notified, when the snapshot fills up to a certain
level? i.e.  via dmsetup wait [] ? I looked for event numbers but couldn't
find any doc for them.
The best thing would be to make snapshots autoextensible when given a max
size and resize value (just like oracle tablespaces do), but I suppose
that would require much coding...
Any thoughts?

We're using lvm snapshots for samba shadow copies and database cloning,
but there's a problem with monitoring snapshots % of usage - now we just
have a daemon that polls lvdisplay periodically and extends the lv when
necessary. But this is unreliable - you have to either poll often or keep
enough of free space and still you can end up with a trashed snap.

Martin

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

end of thread, other threads:[~2008-11-04 12:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-24  9:33 [linux-lvm] How to monitor and possibly autoextend snapshots marcin.kaluza
2008-10-24 16:30 ` Jonathan Brassow
2008-10-27 12:17   ` Marcin Kałuża
2008-10-28 20:50     ` Jonathan Brassow
2008-10-29 11:10       ` Marcin Kałuża
2008-10-29 14:26       ` Marcin Kałuża
2008-10-29 16:16         ` Jonathan Brassow
2008-11-04 12:10           ` Marcin Kałuża
2008-10-28  6:43 ` [linux-lvm] libdlm.h: No such file or directory Stepan Kadlec
2008-10-28  8:30   ` Christine Caulfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox