public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ataraid in 2.6.?
@ 2003-12-29  0:09 Nicklas Bondesson
  2003-12-29  9:49 ` Arjan van de Ven
  0 siblings, 1 reply; 11+ messages in thread
From: Nicklas Bondesson @ 2003-12-29  0:09 UTC (permalink / raw)
  To: linux-kernel

Hi!

Is the ataraid framework planned to be ported to 2.6.x? If so, when could
one expect it?

/Nicke


^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: ataraid in 2.6.?
@ 2003-12-29 17:35 Christophe Saout
  0 siblings, 0 replies; 11+ messages in thread
From: Christophe Saout @ 2003-12-29 17:35 UTC (permalink / raw)
  To: Nicklas Bondesson; +Cc: linux-kernel

Am Mo, den 29.12.2003 schrieb Nicklas Bondesson um 18:27:

> How do you set this (device mapping) up using the 2.6 kernel. I like the
> ease of using ataraid in 2.4.x. Why not have both alternatives as options
> (both ataraid and devicemapper)?

I think the reason is to avoid unnecessary code duplication.
device-mapper provides a generic method to do such things. Also the
developers are heading towards removing code from the kernel that can be
done in userspace. There are plans to remove partition detection from
the kernel in 2.7 and move the detection and setup code to a userspace
program (using device-mapper) which can be placed in the initramfs (so
that the user won't notice any difference). Ataraid detection and setup
could also be placed there later.

If someone writes an ataraid detection and setup program in userspace it
could be placed on an initrd.

You can find the dmsetup tool in Sistina's device-mapper package.

--
Christophe Saout <christophe@saout.de>
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: ataraid in 2.6.?
@ 2003-12-29 22:28 Christophe Saout
  0 siblings, 0 replies; 11+ messages in thread
From: Christophe Saout @ 2003-12-29 22:28 UTC (permalink / raw)
  To: Nicklas Bondesson; +Cc: 'Arjan van de Ven', linux-kernel

Am Mo, den 29.12.2003 schrieb Nicklas Bondesson um 23:18:

> I'm planning to go with the device mapping in 2.6.0 to setup RAID1 using my
> Promise TX2000 card. How do I know which device name it will choose? I have
> looked in the 'devices.txt' but there is neither a ide-raid nor a specific
> Promise device name mapping. Please advice.

If you cannot wait for Arjan or anybody else to write an ataraid setup
tool, you can go with dmsetup and choose any name you want (see the
dmsetup man page). The only restriction is that dmsetup creates device
under /dev/mapper, you can though use symlinks to it like LVM2 does if
you need it under /dev/ataraid or something (in your initscript). If you
don't have a better idea you can just give it the same name as before.



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

end of thread, other threads:[~2003-12-29 22:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-29  0:09 ataraid in 2.6.? Nicklas Bondesson
2003-12-29  9:49 ` Arjan van de Ven
2003-12-29 12:59   ` Nicklas Bondesson
2003-12-29 17:08   ` Christophe Saout
2003-12-29 17:17     ` Arjan van de Ven
2003-12-29 17:27     ` Nicklas Bondesson
     [not found]     ` <200312291727.hBTHRDA13745@mx1.redhat.com>
2003-12-29 17:30       ` Arjan van de Ven
2003-12-29 21:43         ` Nicklas Bondesson
2003-12-29 22:18         ` Nicklas Bondesson
  -- strict thread matches above, loose matches on Subject: below --
2003-12-29 17:35 Christophe Saout
2003-12-29 22:28 Christophe Saout

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