* raid1 or raid10 for /boot
@ 2008-02-04 6:34 Keld Jørn Simonsen
2008-02-04 9:17 ` Robin Hill
2008-02-06 18:52 ` Bill Davidsen
0 siblings, 2 replies; 6+ messages in thread
From: Keld Jørn Simonsen @ 2008-02-04 6:34 UTC (permalink / raw)
To: linux-raid
I understand that lilo and grub only can boot partitions that look like
a normal single-drive partition. And then I understand that a plain
raid10 has a layout which is equivalent to raid1. Can such a raid10
partition be used with grub or lilo for booting?
And would there be any advantages in this, for example better disk
utilization in the raid10 driver compared with raid?
best regards
keld
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: raid1 or raid10 for /boot
2008-02-04 6:34 raid1 or raid10 for /boot Keld Jørn Simonsen
@ 2008-02-04 9:17 ` Robin Hill
2008-02-04 11:21 ` Keld Jørn Simonsen
2008-02-06 18:52 ` Bill Davidsen
1 sibling, 1 reply; 6+ messages in thread
From: Robin Hill @ 2008-02-04 9:17 UTC (permalink / raw)
To: linux-raid
[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]
On Mon Feb 04, 2008 at 07:34:54AM +0100, Keld Jørn Simonsen wrote:
> I understand that lilo and grub only can boot partitions that look like
> a normal single-drive partition. And then I understand that a plain
> raid10 has a layout which is equivalent to raid1. Can such a raid10
> partition be used with grub or lilo for booting?
> And would there be any advantages in this, for example better disk
> utilization in the raid10 driver compared with raid?
>
A plain RAID-10 does _not_ have a layout equivalent to RAID-1 and
_cannot_ be used for booting (well, possibly a 2-disk RAID-10 could -
I'm not sure how that'd be layed out). RAID-10 uses striping as well as
mirroring, and the striping breaks both grub and lilo (and, AFAIK, every
other boot manager currently out there).
Cheers,
Robin
--
___
( ' } | Robin Hill <robin@robinhill.me.uk> |
/ / ) | Little Jim says .... |
// !! | "He fallen in de water !!" |
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: raid1 or raid10 for /boot
2008-02-04 9:17 ` Robin Hill
@ 2008-02-04 11:21 ` Keld Jørn Simonsen
2008-02-04 11:48 ` Robin Hill
0 siblings, 1 reply; 6+ messages in thread
From: Keld Jørn Simonsen @ 2008-02-04 11:21 UTC (permalink / raw)
To: linux-raid
On Mon, Feb 04, 2008 at 09:17:35AM +0000, Robin Hill wrote:
> On Mon Feb 04, 2008 at 07:34:54AM +0100, Keld Jørn Simonsen wrote:
>
> > I understand that lilo and grub only can boot partitions that look like
> > a normal single-drive partition. And then I understand that a plain
> > raid10 has a layout which is equivalent to raid1. Can such a raid10
> > partition be used with grub or lilo for booting?
> > And would there be any advantages in this, for example better disk
> > utilization in the raid10 driver compared with raid?
> >
> A plain RAID-10 does _not_ have a layout equivalent to RAID-1 and
> _cannot_ be used for booting (well, possibly a 2-disk RAID-10 could -
> I'm not sure how that'd be layed out). RAID-10 uses striping as well as
> mirroring, and the striping breaks both grub and lilo (and, AFAIK, every
> other boot manager currently out there).
Yes, it is understood that raid10,f2 uses striping, but a raid10,near=2,
far=1 does not use striping, anfd this is what you get if you just make
a mdadm --create /dev/md0 -l 10 -n 2 /dev/sda1 /dev/sdb1
best regards
keld
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: raid1 or raid10 for /boot
2008-02-04 11:21 ` Keld Jørn Simonsen
@ 2008-02-04 11:48 ` Robin Hill
0 siblings, 0 replies; 6+ messages in thread
From: Robin Hill @ 2008-02-04 11:48 UTC (permalink / raw)
To: linux-raid
[-- Attachment #1: Type: text/plain, Size: 1928 bytes --]
On Mon Feb 04, 2008 at 12:21:40PM +0100, Keld Jørn Simonsen wrote:
> On Mon, Feb 04, 2008 at 09:17:35AM +0000, Robin Hill wrote:
> > On Mon Feb 04, 2008 at 07:34:54AM +0100, Keld Jørn Simonsen wrote:
> >
> > > I understand that lilo and grub only can boot partitions that look like
> > > a normal single-drive partition. And then I understand that a plain
> > > raid10 has a layout which is equivalent to raid1. Can such a raid10
> > > partition be used with grub or lilo for booting?
> > > And would there be any advantages in this, for example better disk
> > > utilization in the raid10 driver compared with raid?
> > >
> > A plain RAID-10 does _not_ have a layout equivalent to RAID-1 and
> > _cannot_ be used for booting (well, possibly a 2-disk RAID-10 could -
> > I'm not sure how that'd be layed out). RAID-10 uses striping as well as
> > mirroring, and the striping breaks both grub and lilo (and, AFAIK, every
> > other boot manager currently out there).
>
> Yes, it is understood that raid10,f2 uses striping, but a raid10,near=2,
> far=1 does not use striping, anfd this is what you get if you just make
> a mdadm --create /dev/md0 -l 10 -n 2 /dev/sda1 /dev/sdb1
>
Well yes, if you do a two-disk RAID-10 then (as I said above) you
probably end up with a RAID-1 (as you do with a two-disk RAID-5). I
don't see how this would work any differently (or better) than a RAID-1
though (and only serves to confuse things).
If you have more than two disks then RAID-10 will _always_ stripe (no
matter whether you use near, far or offset layout - these affect only
where the mirrored chunks are put) and grub/lilo will fail to work.
Cheers,
Robin
--
___
( ' } | Robin Hill <robin@robinhill.me.uk> |
/ / ) | Little Jim says .... |
// !! | "He fallen in de water !!" |
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: raid1 or raid10 for /boot
2008-02-04 6:34 raid1 or raid10 for /boot Keld Jørn Simonsen
2008-02-04 9:17 ` Robin Hill
@ 2008-02-06 18:52 ` Bill Davidsen
2008-02-06 22:43 ` Keld Jørn Simonsen
1 sibling, 1 reply; 6+ messages in thread
From: Bill Davidsen @ 2008-02-06 18:52 UTC (permalink / raw)
To: Keld Jørn Simonsen; +Cc: linux-raid
Keld Jørn Simonsen wrote:
> I understand that lilo and grub only can boot partitions that look like
> a normal single-drive partition. And then I understand that a plain
> raid10 has a layout which is equivalent to raid1. Can such a raid10
> partition be used with grub or lilo for booting?
> And would there be any advantages in this, for example better disk
> utilization in the raid10 driver compared with raid?
>
I don't know about you, but my /boot goes with zero use between boots,
efficiency and performance improvements strike as a distinction without
a difference, while adding complexity without benefit is always a bad idea.
I suggest that you avoid having a "learning experience" and stick with
raid1.
--
Bill Davidsen <davidsen@tmr.com>
"Woe unto the statesman who makes war without a reason that will still
be valid when the war is over..." Otto von Bismark
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: raid1 or raid10 for /boot
2008-02-06 18:52 ` Bill Davidsen
@ 2008-02-06 22:43 ` Keld Jørn Simonsen
0 siblings, 0 replies; 6+ messages in thread
From: Keld Jørn Simonsen @ 2008-02-06 22:43 UTC (permalink / raw)
To: Bill Davidsen; +Cc: linux-raid
On Wed, Feb 06, 2008 at 01:52:11PM -0500, Bill Davidsen wrote:
> Keld Jørn Simonsen wrote:
> >I understand that lilo and grub only can boot partitions that look like
> >a normal single-drive partition. And then I understand that a plain
> >raid10 has a layout which is equivalent to raid1. Can such a raid10
> >partition be used with grub or lilo for booting?
> >And would there be any advantages in this, for example better disk
> >utilization in the raid10 driver compared with raid?
> >
>
> I don't know about you, but my /boot goes with zero use between boots,
> efficiency and performance improvements strike as a distinction without
> a difference, while adding complexity without benefit is always a bad idea.
>
> I suggest that you avoid having a "learning experience" and stick with
> raid1.
I agree with you, it was only a theoretical question.
Best regards
keld
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-02-06 22:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-04 6:34 raid1 or raid10 for /boot Keld Jørn Simonsen
2008-02-04 9:17 ` Robin Hill
2008-02-04 11:21 ` Keld Jørn Simonsen
2008-02-04 11:48 ` Robin Hill
2008-02-06 18:52 ` Bill Davidsen
2008-02-06 22:43 ` Keld Jørn Simonsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).