All of lore.kernel.org
 help / color / mirror / Atom feed
* Writing on DM snapshots, and having no "mainstream" device (was: Re: Fw: [PATCH 1/7] Add dm-snapshot tutorial in Documentation)
       [not found] ` <20050921154846.GW18976@agk.surrey.redhat.com>
@ 2005-09-23 20:11     ` Blaisorblade
  0 siblings, 0 replies; 8+ messages in thread
From: Blaisorblade @ 2005-09-23 20:11 UTC (permalink / raw)
  To: Alasdair G Kergon; +Cc: LKML, user-mode-linux-devel, user-mode-linux-user

On Wednesday 21 September 2005 17:48, Alasdair G Kergon wrote:
> On Tue, Sep 20, 2005 at 04:34:33PM -0700, Andrew Morton wrote:
> > ack?
>
> Applied some quick corrections to this.
I'm now looking at this, but you've done an error. You say that 

You must create the snapshot-origin device before you can create snapshots.

This is totally wrong. The whole point of my document is to show that you can 
create snapshots *WITHOUT* having a snapshot-origin device (yes, I did it).

And while the LVM setup (with snapshot-origin) is often used and well known, 
the possibility to do without the snapshot-origin, and more important to 
write on the snapshots, is something which is not widely known at all.

In fact, UML community has been using an in-house version of the same feature, 
which cannot be mounted on the host due to missing code.
> See also http://people.redhat.com/agk/talks/FOSDEM_2005/
> (slides 15-27)
Not yet had time to look at those, sorry.
> You might like to convert some of those diagrams to ASCII
> and include them?
If you feel like doing this, ok, but I'm not normally a documentor.
> Alasdair

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it

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

* [uml-devel] Writing on DM snapshots, and having no "mainstream" device (was: Re: Fw: [PATCH 1/7] Add dm-snapshot tutorial in Documentation)
@ 2005-09-23 20:11     ` Blaisorblade
  0 siblings, 0 replies; 8+ messages in thread
From: Blaisorblade @ 2005-09-23 20:11 UTC (permalink / raw)
  To: Alasdair G Kergon; +Cc: LKML, user-mode-linux-devel, user-mode-linux-user

On Wednesday 21 September 2005 17:48, Alasdair G Kergon wrote:
> On Tue, Sep 20, 2005 at 04:34:33PM -0700, Andrew Morton wrote:
> > ack?
>
> Applied some quick corrections to this.
I'm now looking at this, but you've done an error. You say that 

You must create the snapshot-origin device before you can create snapshots.

This is totally wrong. The whole point of my document is to show that you can 
create snapshots *WITHOUT* having a snapshot-origin device (yes, I did it).

And while the LVM setup (with snapshot-origin) is often used and well known, 
the possibility to do without the snapshot-origin, and more important to 
write on the snapshots, is something which is not widely known at all.

In fact, UML community has been using an in-house version of the same feature, 
which cannot be mounted on the host due to missing code.
> See also http://people.redhat.com/agk/talks/FOSDEM_2005/
> (slides 15-27)
Not yet had time to look at those, sorry.
> You might like to convert some of those diagrams to ASCII
> and include them?
If you feel like doing this, ok, but I'm not normally a documentor.
> Alasdair

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* Re: Writing on DM snapshots, and having no "mainstream" device (was: Re: Fw: [PATCH 1/7] Add dm-snapshot tutorial in Documentation)
  2005-09-23 20:11     ` [uml-devel] " Blaisorblade
@ 2005-09-23 21:19       ` Alasdair G Kergon
  -1 siblings, 0 replies; 8+ messages in thread
From: Alasdair G Kergon @ 2005-09-23 21:19 UTC (permalink / raw)
  To: Blaisorblade; +Cc: LKML, user-mode-linux-devel, user-mode-linux-user

On Fri, Sep 23, 2005 at 10:11:31PM +0200, Blaisorblade wrote:
> you can create snapshots *WITHOUT* having a snapshot-origin device 
 
Checking the code, yes you're correct.
When that LVM2 code was developed you'd get an oops but it's been fixed.

Alasdair
-- 
agk@redhat.com

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

* [uml-devel] Re: Writing on DM snapshots, and having no "mainstream" device (was: Re: Fw: [PATCH 1/7] Add dm-snapshot tutorial in Documentation)
@ 2005-09-23 21:19       ` Alasdair G Kergon
  0 siblings, 0 replies; 8+ messages in thread
From: Alasdair G Kergon @ 2005-09-23 21:19 UTC (permalink / raw)
  To: Blaisorblade; +Cc: LKML, user-mode-linux-devel, user-mode-linux-user

On Fri, Sep 23, 2005 at 10:11:31PM +0200, Blaisorblade wrote:
> you can create snapshots *WITHOUT* having a snapshot-origin device 
 
Checking the code, yes you're correct.
When that LVM2 code was developed you'd get an oops but it's been fixed.

Alasdair
-- 
agk@redhat.com


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* Re: [uml-devel] Re: Writing on DM snapshots, and having no "mainstream" device (was: Re: Fw: [PATCH 1/7] Add dm-snapshot tutorial in Documentation)
  2005-09-23 21:19       ` [uml-devel] " Alasdair G Kergon
@ 2005-09-26 15:03         ` Blaisorblade
  -1 siblings, 0 replies; 8+ messages in thread
From: Blaisorblade @ 2005-09-26 15:03 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Alasdair G Kergon, LKML, user-mode-linux-user

On Friday 23 September 2005 23:19, Alasdair G Kergon wrote:
> On Fri, Sep 23, 2005 at 10:11:31PM +0200, Blaisorblade wrote:
> > you can create snapshots *WITHOUT* having a snapshot-origin device

> Checking the code, yes you're correct.
> When that LVM2 code was developed you'd get an oops but it's been fixed.
You also "fixed" my assertion that snapshot-origin "base device" (parameter 
n.1) must be a DM device. Should I readd it too?

IIRC I checked the code and it looks up the first param as a DM device, even 
because the list of snapshot is maintained for DM devices, not for general 
block devices.

Right?
> Alasdair

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade


		
___________________________________ 
Yahoo! Messenger: chiamate gratuite in tutto il mondo 
http://it.messenger.yahoo.com

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

* Re: [uml-devel] Re: Writing on DM snapshots, and having no "mainstream" device (was: Re: Fw: [PATCH 1/7] Add dm-snapshot tutorial in Documentation)
@ 2005-09-26 15:03         ` Blaisorblade
  0 siblings, 0 replies; 8+ messages in thread
From: Blaisorblade @ 2005-09-26 15:03 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Alasdair G Kergon, LKML, user-mode-linux-user

On Friday 23 September 2005 23:19, Alasdair G Kergon wrote:
> On Fri, Sep 23, 2005 at 10:11:31PM +0200, Blaisorblade wrote:
> > you can create snapshots *WITHOUT* having a snapshot-origin device

> Checking the code, yes you're correct.
> When that LVM2 code was developed you'd get an oops but it's been fixed.
You also "fixed" my assertion that snapshot-origin "base device" (parameter 
n.1) must be a DM device. Should I readd it too?

IIRC I checked the code and it looks up the first param as a DM device, even 
because the list of snapshot is maintained for DM devices, not for general 
block devices.

Right?
> Alasdair

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade


		
___________________________________ 
Yahoo! Messenger: chiamate gratuite in tutto il mondo 
http://it.messenger.yahoo.com



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* Re: [uml-devel] Re: Writing on DM snapshots, and having no "mainstream" device (was: Re: Fw: [PATCH 1/7] Add dm-snapshot tutorial in Documentation)
  2005-09-26 15:03         ` Blaisorblade
@ 2005-09-27 18:34           ` Alasdair G Kergon
  -1 siblings, 0 replies; 8+ messages in thread
From: Alasdair G Kergon @ 2005-09-27 18:34 UTC (permalink / raw)
  To: Blaisorblade
  Cc: user-mode-linux-devel, Alasdair G Kergon, LKML, user-mode-linux-user

On Mon, Sep 26, 2005 at 05:03:01PM +0200, Blaisorblade wrote:
> You also "fixed" my assertion that snapshot-origin "base device" (parameter 
> n.1) must be a DM device. Should I readd it too?
 
That parameter does not need to be a DM device if you are able to use
the start of an existing block device (so you don't require any mappings).

> IIRC I checked the code and it looks up the first param as a DM device, 

It should only use the device number for reference, not any dm structure.

Try it.

Alasdair
-- 
agk@redhat.com

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

* Re: [uml-devel] Re: Writing on DM snapshots, and having no "mainstream" device (was: Re: Fw: [PATCH 1/7] Add dm-snapshot tutorial in Documentation)
@ 2005-09-27 18:34           ` Alasdair G Kergon
  0 siblings, 0 replies; 8+ messages in thread
From: Alasdair G Kergon @ 2005-09-27 18:34 UTC (permalink / raw)
  To: Blaisorblade
  Cc: user-mode-linux-devel, Alasdair G Kergon, LKML, user-mode-linux-user

On Mon, Sep 26, 2005 at 05:03:01PM +0200, Blaisorblade wrote:
> You also "fixed" my assertion that snapshot-origin "base device" (parameter 
> n.1) must be a DM device. Should I readd it too?
 
That parameter does not need to be a DM device if you are able to use
the start of an existing block device (so you don't require any mappings).

> IIRC I checked the code and it looks up the first param as a DM device, 

It should only use the device number for reference, not any dm structure.

Try it.

Alasdair
-- 
agk@redhat.com


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

end of thread, other threads:[~2005-09-27 18:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20050920163433.6081be3b.akpm@osdl.org>
     [not found] ` <20050921154846.GW18976@agk.surrey.redhat.com>
2005-09-23 20:11   ` Writing on DM snapshots, and having no "mainstream" device (was: Re: Fw: [PATCH 1/7] Add dm-snapshot tutorial in Documentation) Blaisorblade
2005-09-23 20:11     ` [uml-devel] " Blaisorblade
2005-09-23 21:19     ` Alasdair G Kergon
2005-09-23 21:19       ` [uml-devel] " Alasdair G Kergon
2005-09-26 15:03       ` Blaisorblade
2005-09-26 15:03         ` Blaisorblade
2005-09-27 18:34         ` Alasdair G Kergon
2005-09-27 18:34           ` Alasdair G Kergon

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.