public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* dm_snapshot experimental? potential repercussions?
@ 2005-02-02 16:02 Kristina Clair
  2005-02-02 17:34 ` Alasdair G Kergon
  0 siblings, 1 reply; 2+ messages in thread
From: Kristina Clair @ 2005-02-02 16:02 UTC (permalink / raw)
  To: linux-kernel

Hello,

I have been told that dm_snapshot is still experimental in the 2.6.10
kernel, and I was advised not to have more than one snapshot created
at a time for the same logical volume.

Basically I am just wondering what the potential problems are with
dm_snapshot.  Is there anything particular that I should look out for?

Thanks for any advice,
Kristina

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

* Re: dm_snapshot experimental? potential repercussions?
  2005-02-02 16:02 dm_snapshot experimental? potential repercussions? Kristina Clair
@ 2005-02-02 17:34 ` Alasdair G Kergon
  0 siblings, 0 replies; 2+ messages in thread
From: Alasdair G Kergon @ 2005-02-02 17:34 UTC (permalink / raw)
  To: Kristina Clair; +Cc: linux-kernel

On Wed, Feb 02, 2005 at 11:02:49AM -0500, Kristina Clair wrote:
> I have been told that dm_snapshot is still experimental in the 2.6.10
> kernel, and I was advised not to have more than one snapshot created
> at a time for the same logical volume.
 
Each snapshot is independent and keeps its own separate copy of 
changes, so as you increase the number of parallel snapshots you
quickly affect performance.  This has always been the case for
LVM and device-mapper snapshots.  Daniel Phillips is working on a
clustered snapshot implementation which at the same time addresses 
this issue, allowing parallel snapshots to share their metadata.

> Basically I am just wondering what the potential problems are with
> dm_snapshot.  Is there anything particular that I should look out for?

There are numerous memory allocation issues with the current dm-snapshot 
implementation: in simple terms, devices or your machine can lock up,
and your system is especially vulnerable when snapshots are manipulated
(create/activate) and when your system is under load.

We think we understand the most important problems and are gradually 
fixing them, but this is not a quick process because the changes have a 
significant impact on the LVM2 and EVMS code bases (complex sequences of 
ioctls have to change).

Join the dm-devel mailing list if you want to monitor progress.
 
Alasdair
-- 
agk@redhat.com

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

end of thread, other threads:[~2005-02-02 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-02 16:02 dm_snapshot experimental? potential repercussions? Kristina Clair
2005-02-02 17:34 ` Alasdair G Kergon

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