All of lore.kernel.org
 help / color / mirror / Atom feed
* [ANNOUNCE] multipath-tools-0.1.6
@ 2004-04-25 21:54 ` christophe varoqui
  0 siblings, 0 replies; 12+ messages in thread
From: christophe varoqui @ 2004-04-25 21:54 UTC (permalink / raw)
  To: linux-hotplug-devel, linux-scsi, dm-devel, linux-raid

Hello,

here goes multipath-tools-0.1.6

Changelog for this release :

* add the dmadm WIP tool (read MD superblocks and create
  corresponding devmaps when possible)
* plug fd leak in TUR path checker (multipathd)

Please note dmadm should not be run anywhere near a production machine with useful data on MD raids.
That said comments and contributions are welcome.

Downloads and docs at http://christophe.varoqui.free.fr

regards,
cvaroqui



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg\x12297
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

* [ANNOUNCE] multipath-tools-0.1.6
@ 2004-04-25 21:54 ` christophe varoqui
  0 siblings, 0 replies; 12+ messages in thread
From: christophe varoqui @ 2004-04-25 21:54 UTC (permalink / raw)
  To: linux-hotplug-devel, linux-scsi, dm-devel, linux-raid

Hello,

here goes multipath-tools-0.1.6

Changelog for this release :

* add the dmadm WIP tool (read MD superblocks and create
  corresponding devmaps when possible)
* plug fd leak in TUR path checker (multipathd)

Please note dmadm should not be run anywhere near a production machine with useful data on MD raids.
That said comments and contributions are welcome.

Downloads and docs at http://christophe.varoqui.free.fr

regards,
cvaroqui


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

* Re: [dm-devel] [ANNOUNCE] multipath-tools-0.1.6
  2004-04-25 21:54 ` christophe varoqui
@ 2004-04-26  8:18   ` thornber
  -1 siblings, 0 replies; 12+ messages in thread
From: thornber @ 2004-04-26  8:18 UTC (permalink / raw)
  To: christophe.varoqui, device-mapper development
  Cc: linux-hotplug-devel, linux-scsi, linux-raid

On Sun, Apr 25, 2004 at 11:54:59PM +0200, christophe varoqui wrote:
> * add the dmadm WIP tool (read MD superblocks and create
>   corresponding devmaps when possible)

:)

- Joe


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg\x12297
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

* Re: [dm-devel] [ANNOUNCE] multipath-tools-0.1.6
@ 2004-04-26  8:18   ` thornber
  0 siblings, 0 replies; 12+ messages in thread
From: thornber @ 2004-04-26  8:18 UTC (permalink / raw)
  To: christophe.varoqui, device-mapper development
  Cc: linux-hotplug-devel, linux-scsi, linux-raid

On Sun, Apr 25, 2004 at 11:54:59PM +0200, christophe varoqui wrote:
> * add the dmadm WIP tool (read MD superblocks and create
>   corresponding devmaps when possible)

:)

- Joe

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

* Re: [dm-devel] [ANNOUNCE] multipath-tools-0.1.6
  2004-04-26  8:18   ` thornber
@ 2004-04-27  9:57     ` christophe.varoqui
  -1 siblings, 0 replies; 12+ messages in thread
From: christophe.varoqui @ 2004-04-27  9:57 UTC (permalink / raw)
  To: thornber; +Cc: device-mapper development, linux-raid, linux-hotplug-devel

Selon thornber@redhat.com:

> On Sun, Apr 25, 2004 at 11:54:59PM +0200, christophe varoqui wrote:
> > * add the dmadm WIP tool (read MD superblocks and create
> >   corresponding devmaps when possible)
> 
> :)
> 
Any insight on where to put the log of the mirror target when mapping over a
MD-created raid1 ?


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg\x12297
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

* Re: [dm-devel] [ANNOUNCE] multipath-tools-0.1.6
@ 2004-04-27  9:57     ` christophe.varoqui
  0 siblings, 0 replies; 12+ messages in thread
From: christophe.varoqui @ 2004-04-27  9:57 UTC (permalink / raw)
  To: thornber; +Cc: device-mapper development, linux-raid, linux-hotplug-devel

Selon thornber@redhat.com:

> On Sun, Apr 25, 2004 at 11:54:59PM +0200, christophe varoqui wrote:
> > * add the dmadm WIP tool (read MD superblocks and create
> >   corresponding devmaps when possible)
> 
> :)
> 
Any insight on where to put the log of the mirror target when mapping over a
MD-created raid1 ?

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

* Re: [dm-devel] [ANNOUNCE] multipath-tools-0.1.6
  2004-04-27  9:57     ` christophe.varoqui
@ 2004-04-27 10:09       ` thornber
  -1 siblings, 0 replies; 12+ messages in thread
From: thornber @ 2004-04-27 10:09 UTC (permalink / raw)
  To: christophe.varoqui
  Cc: thornber, device-mapper development, linux-raid,
	linux-hotplug-devel

On Tue, Apr 27, 2004 at 11:57:58AM +0200, christophe.varoqui@free.fr wrote:
> Selon thornber@redhat.com:
> 
> > On Sun, Apr 25, 2004 at 11:54:59PM +0200, christophe varoqui wrote:
> > > * add the dmadm WIP tool (read MD superblocks and create
> > >   corresponding devmaps when possible)
> > 
> > :)
> > 
> Any insight on where to put the log of the mirror target when mapping over a
> MD-created raid1 ?

MD effectively uses a log with a single region in it.  So we only need
3 sectors (2 for the header 1 for the bitset) for the log, is there
any space in the MD metadata where this could be placed ?

- Joe


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg\x12297
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

* Re: [dm-devel] [ANNOUNCE] multipath-tools-0.1.6
@ 2004-04-27 10:09       ` thornber
  0 siblings, 0 replies; 12+ messages in thread
From: thornber @ 2004-04-27 10:09 UTC (permalink / raw)
  To: christophe.varoqui
  Cc: thornber, device-mapper development, linux-raid,
	linux-hotplug-devel

On Tue, Apr 27, 2004 at 11:57:58AM +0200, christophe.varoqui@free.fr wrote:
> Selon thornber@redhat.com:
> 
> > On Sun, Apr 25, 2004 at 11:54:59PM +0200, christophe varoqui wrote:
> > > * add the dmadm WIP tool (read MD superblocks and create
> > >   corresponding devmaps when possible)
> > 
> > :)
> > 
> Any insight on where to put the log of the mirror target when mapping over a
> MD-created raid1 ?

MD effectively uses a log with a single region in it.  So we only need
3 sectors (2 for the header 1 for the bitset) for the log, is there
any space in the MD metadata where this could be placed ?

- Joe

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

* Re: [dm-devel] [ANNOUNCE] multipath-tools-0.1.6
  2004-04-27 10:09       ` thornber
@ 2004-04-27 12:37         ` christophe.varoqui
  -1 siblings, 0 replies; 12+ messages in thread
From: christophe.varoqui @ 2004-04-27 12:37 UTC (permalink / raw)
  To: thornber; +Cc: linux-raid, device-mapper development, linux-hotplug-devel

Selon thornber@redhat.com:

> > Any insight on where to put the log of the mirror target when mapping over
> a
> > MD-created raid1 ?
> 
> MD effectively uses a log with a single region in it.  So we only need
> 3 sectors (2 for the header 1 for the bitset) for the log, is there
> any space in the MD metadata where this could be placed ?
> 
Nope : the sb is 4096 bytes long, and is full of holes. The biggest one is 128
bytes long, at the tail. We could lower the maximum number of device in a raid
from 27 to 21 to free 3 sectors, but it won't be appreciated and would leave us
with the most fundamental problem : logging in the MD superblock would corrupt
the checksum ... :(


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg\x12297
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

* Re: [dm-devel] [ANNOUNCE] multipath-tools-0.1.6
@ 2004-04-27 12:37         ` christophe.varoqui
  0 siblings, 0 replies; 12+ messages in thread
From: christophe.varoqui @ 2004-04-27 12:37 UTC (permalink / raw)
  To: thornber; +Cc: linux-raid, device-mapper development, linux-hotplug-devel

Selon thornber@redhat.com:

> > Any insight on where to put the log of the mirror target when mapping over
> a
> > MD-created raid1 ?
> 
> MD effectively uses a log with a single region in it.  So we only need
> 3 sectors (2 for the header 1 for the bitset) for the log, is there
> any space in the MD metadata where this could be placed ?
> 
Nope : the sb is 4096 bytes long, and is full of holes. The biggest one is 128
bytes long, at the tail. We could lower the maximum number of device in a raid
from 27 to 21 to free 3 sectors, but it won't be appreciated and would leave us
with the most fundamental problem : logging in the MD superblock would corrupt
the checksum ... :(

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

* Re: [dm-devel] [ANNOUNCE] multipath-tools-0.1.6
  2004-04-27 10:09       ` thornber
  (?)
  (?)
@ 2004-04-27 15:32       ` Mike Tran
  2004-04-27 15:40         ` Mike Tran
  -1 siblings, 1 reply; 12+ messages in thread
From: Mike Tran @ 2004-04-27 15:32 UTC (permalink / raw)
  To: linux-raid

On Tue, 2004-04-27 at 05:09, thornber@redhat.com wrote:
> On Tue, Apr 27, 2004 at 11:57:58AM +0200, christophe.varoqui@free.fr wrote:
> > Selon thornber@redhat.com:
> > 
> > > On Sun, Apr 25, 2004 at 11:54:59PM +0200, christophe varoqui wrote:
> > > > * add the dmadm WIP tool (read MD superblocks and create
> > > >   corresponding devmaps when possible)
> > > 
> > > :)
> > > 
> > Any insight on where to put the log of the mirror target when mapping over a
> > MD-created raid1 ?
> 
> MD effectively uses a log with a single region in it.  So we only need
> 3 sectors (2 for the header 1 for the bitset) for the log, is there
> any space in the MD metadata where this could be placed ?
> 
> - Joe

The MD device size is 64K aligned and MD superblock size is 4K.  In term
of sectors, the calculation is as follows:

MD_SB_BYTES 4096
MD_SB_SECTORS (MD_SB_BYTES / 512)

// x is the child device size in sectors.

#define MD_RESERVED_BYTES (64 * 1024)
#define MD_RESERVED_SECTORS (MD_RESERVED_BYTES / 512)
#define MD_NEW_SIZE_SECTORS(x) (((x) & ~(MD_RESERVED_SECTORS -1)) - MD_RESERVED_SECTORS)

It's safe to write the log after the MD superblock.

Regards,
Mike T.






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

* Re: [dm-devel] [ANNOUNCE] multipath-tools-0.1.6
  2004-04-27 15:32       ` Mike Tran
@ 2004-04-27 15:40         ` Mike Tran
  0 siblings, 0 replies; 12+ messages in thread
From: Mike Tran @ 2004-04-27 15:40 UTC (permalink / raw)
  To: linux-raid

On Tue, 2004-04-27 at 10:32, Mike Tran wrote:
> On Tue, 2004-04-27 at 05:09, thornber@redhat.com wrote:
> > On Tue, Apr 27, 2004 at 11:57:58AM +0200, christophe.varoqui@free.fr wrote:
> > > Selon thornber@redhat.com:
> > > 
> > > > On Sun, Apr 25, 2004 at 11:54:59PM +0200, christophe varoqui wrote:
> > > > > * add the dmadm WIP tool (read MD superblocks and create
> > > > >   corresponding devmaps when possible)
> > > > 
> > > > :)
> > > > 
> > > Any insight on where to put the log of the mirror target when mapping over a
> > > MD-created raid1 ?
> > 
> > MD effectively uses a log with a single region in it.  So we only need
> > 3 sectors (2 for the header 1 for the bitset) for the log, is there
> > any space in the MD metadata where this could be placed ?
> > 
> > - Joe
> 
> The MD device size is 64K aligned and MD superblock size is 4K.  In term
> of sectors, the calculation is as follows:

Oops.  I was thinking raid1 when saying : "The MD device size is 64K
aligned."  I should have said : "The new MD child size is 64K aligned."

Mike T.


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

end of thread, other threads:[~2004-04-27 15:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-25 21:54 [ANNOUNCE] multipath-tools-0.1.6 christophe varoqui
2004-04-25 21:54 ` christophe varoqui
2004-04-26  8:18 ` [dm-devel] " thornber
2004-04-26  8:18   ` thornber
2004-04-27  9:57   ` christophe.varoqui
2004-04-27  9:57     ` christophe.varoqui
2004-04-27 10:09     ` thornber
2004-04-27 10:09       ` thornber
2004-04-27 12:37       ` christophe.varoqui
2004-04-27 12:37         ` christophe.varoqui
2004-04-27 15:32       ` Mike Tran
2004-04-27 15:40         ` Mike Tran

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.