All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] dmraid - where is the raid done?
@ 2008-10-17 18:51 Brian J. Murrell
  2008-10-27 13:56 ` Drew
  0 siblings, 1 reply; 6+ messages in thread
From: Brian J. Murrell @ 2008-10-17 18:51 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1009 bytes --]

I think this is the right place for dmraid questions.  Please redirect
me if it's not.  Thanx.

I understand that dmraid is just some kind of interface to the
_software_ raid that is provided on a number of SATA interface cards
such as the Promise and Adaptec cards.

Reading http://ata.wiki.kernel.org/index.php/SATA_RAID_FAQ I get the
message loud and clear that this is not real hardware RAID but rather
it's done in the BIOS on the card.

The message there seems to be, if you are going to do it in software
anyway, why not just skip the IO card RAID and just use MD?

The one reason I could think of for using the BIOS provided RAID would
be to reduce the data needing to traverse the PCI bus.  With host-raid
(i.e. MD) every write to disk needs to actually be written over the PCI
bus twice, once for each disk, right?

But do the BIOS RAID cards out there only need the write command and
data once and they do the work of writing it to the two disks on-board
the IO card?

b.


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [linux-lvm] dmraid - where is the raid done?
  2008-10-17 18:51 [linux-lvm] dmraid - where is the raid done? Brian J. Murrell
@ 2008-10-27 13:56 ` Drew
  2008-10-27 15:08   ` Brian J. Murrell
  2008-10-30 10:41   ` Bryn M. Reeves
  0 siblings, 2 replies; 6+ messages in thread
From: Drew @ 2008-10-27 13:56 UTC (permalink / raw)
  To: LVM general discussion and development

2008/10/17 Brian J. Murrell <brian@interlinx.bc.ca>:
> I think this is the right place for dmraid questions.  Please redirect
> me if it's not.  Thanx.

Try the folks over at the software raid list. They'd be your best bet.

list: linux-raid@vger.kernel.org


-- 
Drew
Victoria, BC

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie

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

* Re: [linux-lvm] dmraid - where is the raid done?
  2008-10-27 13:56 ` Drew
@ 2008-10-27 15:08   ` Brian J. Murrell
  2008-10-30 10:41   ` Bryn M. Reeves
  1 sibling, 0 replies; 6+ messages in thread
From: Brian J. Murrell @ 2008-10-27 15:08 UTC (permalink / raw)
  To: LVM general discussion and development

[-- Attachment #1: Type: text/plain, Size: 270 bytes --]

On Mon, 2008-10-27 at 06:56 -0700, Drew wrote:
> 
> Try the folks over at the software raid list. They'd be your best bet.
> 
> list: linux-raid@vger.kernel.org

Thanx!  Subscribed and asked there (for the information of anyone
wanting to follow along).

b.


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [linux-lvm] dmraid - where is the raid done?
  2008-10-27 13:56 ` Drew
  2008-10-27 15:08   ` Brian J. Murrell
@ 2008-10-30 10:41   ` Bryn M. Reeves
  2008-11-03  5:34     ` Drew
  1 sibling, 1 reply; 6+ messages in thread
From: Bryn M. Reeves @ 2008-10-30 10:41 UTC (permalink / raw)
  To: LVM general discussion and development

Drew wrote:
> 2008/10/17 Brian J. Murrell <brian@interlinx.bc.ca>:
>> I think this is the right place for dmraid questions.  Please redirect
>> me if it's not.  Thanx.
> 
> Try the folks over at the software raid list. They'd be your best bet.
> 
> list: linux-raid@vger.kernel.org
> 

Wrong list - that's for the Linux MD RAID subsystem (mdadm, /dev/md* and
friends). You're looking for ataraid-list:

http://www.redhat.com/mailman/listinfo/ataraid-list

Which is the place for discussion of dmraid development.

Regards,
Bryn.

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

* Re: [linux-lvm] dmraid - where is the raid done?
  2008-10-30 10:41   ` Bryn M. Reeves
@ 2008-11-03  5:34     ` Drew
  2008-11-03 11:05       ` Bryn M. Reeves
  0 siblings, 1 reply; 6+ messages in thread
From: Drew @ 2008-11-03  5:34 UTC (permalink / raw)
  To: bmr, LVM general discussion and development

> Wrong list - that's for the Linux MD RAID subsystem (mdadm, /dev/md* and
> friends). You're looking for ataraid-list:
>
> http://www.redhat.com/mailman/listinfo/ataraid-list
>
> Which is the place for discussion of dmraid development.

Evening Byrn,

I am aware that the dm-raid list was the best one if he had a dm-raid
specific question. However from what I read it sounded like he was
interested in knowing what the differences were between ata/dm-raid
and md (software) raid. Being a lurker on both lists I felt that the
folks over at md would be a better choice.


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie

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

* Re: [linux-lvm] dmraid - where is the raid done?
  2008-11-03  5:34     ` Drew
@ 2008-11-03 11:05       ` Bryn M. Reeves
  0 siblings, 0 replies; 6+ messages in thread
From: Bryn M. Reeves @ 2008-11-03 11:05 UTC (permalink / raw)
  To: Drew; +Cc: LVM general discussion and development

Drew wrote:
>> Wrong list - that's for the Linux MD RAID subsystem (mdadm, /dev/md* and
>> friends). You're looking for ataraid-list:
>>
>> http://www.redhat.com/mailman/listinfo/ataraid-list
>>
>> Which is the place for discussion of dmraid development.
> 
> Evening Byrn,
> 
> I am aware that the dm-raid list was the best one if he had a dm-raid
> specific question. However from what I read it sounded like he was
> interested in knowing what the differences were between ata/dm-raid
> and md (software) raid. Being a lurker on both lists I felt that the
> folks over at md would be a better choice.

He was asking where the RAID is done in dmraid. I think the response of
the MD folks to that question based on past experience, would be either
very general or something like: "Huh? Go ask the device-mapper guys" ;)

If you're using dmraid to activate volumes on an ata RAID / fakeraid
adapter then all the RAID work is being done in the kernel by device-mapper.

When dmraid activates a volume, it reads the metadata from the disk that
describes the array and translates that into a device-mapper table,
usually using some combination of the linear, dm-raid1, and dm-raid45
targets. These are the kernel modules that implement the RAID algorithms
(dm-raid1 uses the kernel thread kcopyd to do the actual work - you'll
see this process consuming some resources on a system with a busy mirror).

For more information on the targets and the tables that are used to
configure them see Alasdairs talks on LVM/device-mapper here:

http://people.redhat.com/agk/talks/

Regards,
Bryn.

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

end of thread, other threads:[~2008-11-03 11:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-17 18:51 [linux-lvm] dmraid - where is the raid done? Brian J. Murrell
2008-10-27 13:56 ` Drew
2008-10-27 15:08   ` Brian J. Murrell
2008-10-30 10:41   ` Bryn M. Reeves
2008-11-03  5:34     ` Drew
2008-11-03 11:05       ` Bryn M. Reeves

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.