public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* partitions for RAID volumes?
@ 2001-02-21 20:54 rayn
  2001-02-21 22:26 ` Neil Brown
       [not found] ` <3A942C1E.6E539E5F@sympatico.ca>
  0 siblings, 2 replies; 5+ messages in thread
From: rayn @ 2001-02-21 20:54 UTC (permalink / raw)
  To: linux-kernel

Hi,

Is there any chance that RAID volumes would support partitions like the
hard-disk driver in the future? This could be handsome if you try to
program a kernel driver for any of those RAID adapters (e.g. thinking of
those Fasttrack or Highpoint lowcost IDE controllers). A RAID
personality could take over all the controller specific stuff.
I have done this for the Highpoint HTP370, which is found on some of the
new ABIT mainboards. I am running a dualboot system (Win98/Linux) on one
RAID volume with two partitions (a swap partition is not supported on
raid devices). And LILO boots it! *joy*
I have created a patch for this which applies to kernel 2.2.18. This
does the partition trick and contains a mixture of the RAID-0 and RAID-1
code to do the disk striping (only disk striping is supported). So if
anyone is interrested in the patch contact me. But be aware that
installation is not a piece of cake!

Wilfried Weissmann

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

* Re: partitions for RAID volumes?
  2001-02-21 20:54 partitions for RAID volumes? rayn
@ 2001-02-21 22:26 ` Neil Brown
  2001-02-22  2:47   ` Matt Stegman
       [not found] ` <3A942C1E.6E539E5F@sympatico.ca>
  1 sibling, 1 reply; 5+ messages in thread
From: Neil Brown @ 2001-02-21 22:26 UTC (permalink / raw)
  To: rayn; +Cc: linux-kernel, linux-raid

On Wednesday February 21, Wilfried.Weissmann@gmx.at wrote:
> Hi,
> 
> Is there any chance that RAID volumes would support partitions like the
> hard-disk driver in the future? 

Yep.
See: http://www.cse.unsw.edu.au/~neilb/patches/linux/2.4.2-pre4/

You would need patches H,I,N,O,P,Q,R,  and you should consider this a
very early release, but it works for me.
It uses a second major device number for partitioned md arrays. You
can only partition the first 16 arrays (md0 - md15) and only have 15
partitions per array.  It wont work well for raid5, but for raid1
(which is what I particularly want) or raid0 it should be fine.

Using this, I can RAID1 hda and hdc together as md0 == mda and then
partition it up as mda1 (root) mda2 (swap) mda3 (other).  And if I
have too, I can boot off either drive individually with any raid
happening.

Lilo needs to be hacked a bit to do the right thing, and I have got a
major number officially allocated from lanana, but as I said, this is
a very early release.

NeilBrown

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

* Re: partitions for RAID volumes?
       [not found] ` <3A942C1E.6E539E5F@sympatico.ca>
@ 2001-02-21 22:49   ` rayn
  0 siblings, 0 replies; 5+ messages in thread
From: rayn @ 2001-02-21 22:49 UTC (permalink / raw)
  To: Jeremy Jackson, linux-kernel@vger.kernel.org

Jeremy Jackson wrote:
> 
> rayn wrote:
> 
> > Hi,
> >
> > Is there any chance that RAID volumes would support partitions like the
> > hard-disk driver in the future? This could be handsome if you try to
> 
> You may wish to try LVM in kernel 2.4.0.  This is much more flexible
> for administration, but I don't know about windoze...

I agree. I know LVM from HP-UX and it works absolutely flawless there.
But when it comes to dualbooting several OSes like Linux and Win* I do
not think that you have a chance with LVM (unless all OSes support the
same LVM standard. Microsoft pops in my mind!).

Wilfried Weissmann

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

* Re: partitions for RAID volumes?
  2001-02-21 22:26 ` Neil Brown
@ 2001-02-22  2:47   ` Matt Stegman
  2001-02-22  3:05     ` Neil Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Stegman @ 2001-02-22  2:47 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-kernel, linux-raid

On Thu, 22 Feb 2001, Neil Brown wrote:

> On Wednesday February 21, Wilfried.Weissmann@gmx.at wrote:
> > Hi,
> > 
> > Is there any chance that RAID volumes would support partitions like the
> > hard-disk driver in the future? 
> 
> Yep.
> See: http://www.cse.unsw.edu.au/~neilb/patches/linux/2.4.2-pre4/
> 
> You would need patches H,I,N,O,P,Q,R,  and you should consider this a
> very early release, but it works for me.
> ...
> Using this, I can RAID1 hda and hdc together as md0 == mda and then
> partition it up as mda1 (root) mda2 (swap) mda3 (other).  And if I
> have too, I can boot off either drive individually with any raid
> happening.

Is there any particular reason to prefer this over LVM?  With 2.4, LVM can
be a layer atop of software RAID, allowing for multiple volumes, online
volume resizing, and other cool things.

-Matt Stegman
<mas9483@cis.ksu.edu>



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

* Re: partitions for RAID volumes?
  2001-02-22  2:47   ` Matt Stegman
@ 2001-02-22  3:05     ` Neil Brown
  0 siblings, 0 replies; 5+ messages in thread
From: Neil Brown @ 2001-02-22  3:05 UTC (permalink / raw)
  To: Matt Stegman; +Cc: linux-kernel, linux-raid

On Wednesday February 21, mas9483@cis.ksu.edu wrote:
> On Thu, 22 Feb 2001, Neil Brown wrote:


Paragraph 1
> > Using this, I can RAID1 hda and hdc together as md0 == mda and then
> > partition it up as mda1 (root) mda2 (swap) mda3 (other).  And if I
> > have too, I can boot off either drive individually with any raid
> > happening.
> 

Paragraph 2
> Is there any particular reason to prefer this over LVM?  With 2.4, LVM can
> be a layer atop of software RAID, allowing for multiple volumes, online
> volume resizing, and other cool things.
> 
> -Matt Stegman
> <mas9483@cis.ksu.edu>
> 


Paragraph 1 is my answer to paragraph 2.

Also, I don't particularly want to use LVM.  Partitions work fine for
me.  I don't need to learn new tools.

It's about choice.

NeilBrown

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

end of thread, other threads:[~2001-02-22  3:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-21 20:54 partitions for RAID volumes? rayn
2001-02-21 22:26 ` Neil Brown
2001-02-22  2:47   ` Matt Stegman
2001-02-22  3:05     ` Neil Brown
     [not found] ` <3A942C1E.6E539E5F@sympatico.ca>
2001-02-21 22:49   ` rayn

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