linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Progress on LVM2 snapshots
@ 2005-06-20 11:45 Mukund
  2005-07-28 17:44 ` Ming Zhang
  0 siblings, 1 reply; 8+ messages in thread
From: Mukund @ 2005-06-20 11:45 UTC (permalink / raw)
  To: linux-lvm

Dear all,

	Please can anyone -authoritative- tell me about the current state of
snapshots support in LVM2? It was broken a while ago and I want to know
if it has been fixed now. I am the author of a storage management
project (www.openfiler.org), and we are currently stuck with LVM1 (and
the RHEL3 2.4 kernel and hence smaller device sizes) due to non-working
snapshots. Can LVM2 snapshots now be created and used reliably?

				Mukund

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

* Re: [linux-lvm] Progress on LVM2 snapshots
  2005-06-20 11:45 [linux-lvm] Progress on LVM2 snapshots Mukund
@ 2005-07-28 17:44 ` Ming Zhang
  2005-07-28 20:06   ` Jonathan E Brassow
  2005-07-29 20:47   ` Alasdair G Kergon
  0 siblings, 2 replies; 8+ messages in thread
From: Ming Zhang @ 2005-07-28 17:44 UTC (permalink / raw)
  To: LVM general discussion and development

yes, i believe now a lot of people has this question now.

is this question

1) very hard to solve technically. or
2) not so easy but doable, just no time and human resource?

thanks!

Ming


On Mon, 2005-06-20 at 12:45 +0100, Mukund wrote:
> Dear all,
> 
> 	Please can anyone -authoritative- tell me about the current state of
> snapshots support in LVM2? It was broken a while ago and I want to know
> if it has been fixed now. I am the author of a storage management
> project (www.openfiler.org), and we are currently stuck with LVM1 (and
> the RHEL3 2.4 kernel and hence smaller device sizes) due to non-working
> snapshots. Can LVM2 snapshots now be created and used reliably?
> 
> 				Mukund
> 
> 
> 
> _______________________________________________
> 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/

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

* Re: [linux-lvm] Progress on LVM2 snapshots
  2005-07-28 17:44 ` Ming Zhang
@ 2005-07-28 20:06   ` Jonathan E Brassow
  2005-07-28 20:26     ` Ming Zhang
  2005-07-29 20:47   ` Alasdair G Kergon
  1 sibling, 1 reply; 8+ messages in thread
From: Jonathan E Brassow @ 2005-07-28 20:06 UTC (permalink / raw)
  To: LVM general discussion and development, mingz

#2

I know agk had some plans for cleaning up single machine snapshots, but 
he is backed up behind reviewing/working on multipath and mirroring (in 
addition to traveling all over for conferences:).

  brassow

On Jul 28, 2005, at 12:44 PM, Ming Zhang wrote:

> yes, i believe now a lot of people has this question now.
>
> is this question
>
> 1) very hard to solve technically. or
> 2) not so easy but doable, just no time and human resource?
>
> thanks!
>
> Ming
>
>
> On Mon, 2005-06-20 at 12:45 +0100, Mukund wrote:
>> Dear all,
>>
>> 	Please can anyone -authoritative- tell me about the current state of
>> snapshots support in LVM2? It was broken a while ago and I want to 
>> know
>> if it has been fixed now. I am the author of a storage management
>> project (www.openfiler.org), and we are currently stuck with LVM1 (and
>> the RHEL3 2.4 kernel and hence smaller device sizes) due to 
>> non-working
>> snapshots. Can LVM2 snapshots now be created and used reliably?
>>
>> 				Mukund
>>
>>
>>
>> _______________________________________________
>> 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/
>
> _______________________________________________
> 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/
>

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

* Re: [linux-lvm] Progress on LVM2 snapshots
  2005-07-28 20:06   ` Jonathan E Brassow
@ 2005-07-28 20:26     ` Ming Zhang
  2005-07-28 20:45       ` Jonathan E Brassow
  0 siblings, 1 reply; 8+ messages in thread
From: Ming Zhang @ 2005-07-28 20:26 UTC (permalink / raw)
  To: Jonathan E Brassow; +Cc: LVM general discussion and development

Thanks a lot for this information.

Is there anything external people like us can do to speed up this? There
are many people waiting for this snapshot feature since it is so useful
and essential. frankly, i know there are plan to replace md with dm, but
since md is already stable and this snapshot is very unstable, why not
do this first? :P

Ming

On Thu, 2005-07-28 at 15:06 -0500, Jonathan E Brassow wrote:
> #2
> 
> I know agk had some plans for cleaning up single machine snapshots, but 
> he is backed up behind reviewing/working on multipath and mirroring (in 
> addition to traveling all over for conferences:).
> 
>   brassow
> 
> On Jul 28, 2005, at 12:44 PM, Ming Zhang wrote:
> 
> > yes, i believe now a lot of people has this question now.
> >
> > is this question
> >
> > 1) very hard to solve technically. or
> > 2) not so easy but doable, just no time and human resource?
> >
> > thanks!
> >
> > Ming
> >
> >
> > On Mon, 2005-06-20 at 12:45 +0100, Mukund wrote:
> >> Dear all,
> >>
> >> 	Please can anyone -authoritative- tell me about the current state of
> >> snapshots support in LVM2? It was broken a while ago and I want to 
> >> know
> >> if it has been fixed now. I am the author of a storage management
> >> project (www.openfiler.org), and we are currently stuck with LVM1 (and
> >> the RHEL3 2.4 kernel and hence smaller device sizes) due to 
> >> non-working
> >> snapshots. Can LVM2 snapshots now be created and used reliably?
> >>
> >> 				Mukund
> >>
> >>
> >>
> >> _______________________________________________
> >> 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/
> >
> > _______________________________________________
> > 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/
> >
> 

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

* Re: [linux-lvm] Progress on LVM2 snapshots
  2005-07-28 20:26     ` Ming Zhang
@ 2005-07-28 20:45       ` Jonathan E Brassow
  2005-07-28 20:50         ` Ming Zhang
  0 siblings, 1 reply; 8+ messages in thread
From: Jonathan E Brassow @ 2005-07-28 20:45 UTC (permalink / raw)
  To: mingz; +Cc: LVM general discussion and development


On Jul 28, 2005, at 3:26 PM, Ming Zhang wrote:

> Thanks a lot for this information.
np

> Is there anything external people like us can do to speed up this?

1) File detailed bug reports
2) complain on this list
3) submit patches

>  There
> are many people waiting for this snapshot feature since it is so useful
> and essential. frankly, i know there are plan to replace md with dm, 
> but
> since md is already stable and this snapshot is very unstable, why not
> do this first? :P

The squeaky wheel gets the grease.  Right now, multipath, [cluster] 
mirroring have been getting all the attention at the expense of single 
machine snap-shot.  Hopefully, we can get snapshots soon.

  brassow

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

* Re: [linux-lvm] Progress on LVM2 snapshots
  2005-07-28 20:45       ` Jonathan E Brassow
@ 2005-07-28 20:50         ` Ming Zhang
  0 siblings, 0 replies; 8+ messages in thread
From: Ming Zhang @ 2005-07-28 20:50 UTC (permalink / raw)
  To: LVM general discussion and development

On Thu, 2005-07-28 at 15:45 -0500, Jonathan E Brassow wrote:
> On Jul 28, 2005, at 3:26 PM, Ming Zhang wrote:
> 
> > Thanks a lot for this information.
> np
> 
> > Is there anything external people like us can do to speed up this?
> 
> 1) File detailed bug reports
> 2) complain on this list
> 3) submit patches
> 
> >  There
> > are many people waiting for this snapshot feature since it is so useful
> > and essential. frankly, i know there are plan to replace md with dm, 
> > but
> > since md is already stable and this snapshot is very unstable, why not
> > do this first? :P
> 
> The squeaky wheel gets the grease.  Right now, multipath, [cluster] 
> mirroring have been getting all the attention at the expense of single 
> machine snap-shot.  Hopefully, we can get snapshots soon.
> 

:P u are rite. this is the truth. when both are important, loud voice
gains.


>   brassow
> 
> _______________________________________________
> 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/

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

* Re: [linux-lvm] Progress on LVM2 snapshots
  2005-07-28 17:44 ` Ming Zhang
  2005-07-28 20:06   ` Jonathan E Brassow
@ 2005-07-29 20:47   ` Alasdair G Kergon
  2005-07-29 21:13     ` Ming Zhang
  1 sibling, 1 reply; 8+ messages in thread
From: Alasdair G Kergon @ 2005-07-29 20:47 UTC (permalink / raw)
  To: LVM general discussion and development

On Thu, Jul 28, 2005 at 01:44:00PM -0400, Ming Zhang wrote:
> 1) very hard to solve technically. or
> 2) not so easy but doable, just no time and human resource?
 
The hardest part of the fix involves changing the sequence of 
device-mapper ioctls that LVM2 uses, and that's a couple of weeks' 
development work, now pencilled into the RHEL4 Update 3 timescale.

In the meantime, you can apply the snapshot patches in the -udm
tree and use 'dmsetup' manually to activate and deactivate snapshots
when lvm2 fails.

Patches 8 and 9 at:
  ftp://sources.redhat.com/pub/dm/patches/2.6-unstable/2.6.12-rc2/2.6.12-rc2-udm1/
(Further patches are needed, but those two plus correct dmsetup use
should avoid machine lockups.)

Alasdair
-- 
agk@redhat.com

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

* Re: [linux-lvm] Progress on LVM2 snapshots
  2005-07-29 20:47   ` Alasdair G Kergon
@ 2005-07-29 21:13     ` Ming Zhang
  0 siblings, 0 replies; 8+ messages in thread
From: Ming Zhang @ 2005-07-29 21:13 UTC (permalink / raw)
  To: LVM general discussion and development

thanks!

so when is the RHEL4 Update 3 timescale? :)


will try the patches u mentioned.


ming


On Fri, 2005-07-29 at 21:47 +0100, Alasdair G Kergon wrote:
> On Thu, Jul 28, 2005 at 01:44:00PM -0400, Ming Zhang wrote:
> > 1) very hard to solve technically. or
> > 2) not so easy but doable, just no time and human resource?
>  
> The hardest part of the fix involves changing the sequence of 
> device-mapper ioctls that LVM2 uses, and that's a couple of weeks' 
> development work, now pencilled into the RHEL4 Update 3 timescale.
> 
> In the meantime, you can apply the snapshot patches in the -udm
> tree and use 'dmsetup' manually to activate and deactivate snapshots
> when lvm2 fails.
> 
> Patches 8 and 9 at:
>   ftp://sources.redhat.com/pub/dm/patches/2.6-unstable/2.6.12-rc2/2.6.12-rc2-udm1/
> (Further patches are needed, but those two plus correct dmsetup use
> should avoid machine lockups.)
> 
> Alasdair

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

end of thread, other threads:[~2005-07-29 21:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-20 11:45 [linux-lvm] Progress on LVM2 snapshots Mukund
2005-07-28 17:44 ` Ming Zhang
2005-07-28 20:06   ` Jonathan E Brassow
2005-07-28 20:26     ` Ming Zhang
2005-07-28 20:45       ` Jonathan E Brassow
2005-07-28 20:50         ` Ming Zhang
2005-07-29 20:47   ` Alasdair G Kergon
2005-07-29 21:13     ` Ming Zhang

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