linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Booting off of RAID10 versus RAID1
@ 2008-05-08 13:34 Maurice Hilarius
  2008-05-08 14:35 ` Andrew Farley
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Maurice Hilarius @ 2008-05-08 13:34 UTC (permalink / raw)
  To: linux-raid

After recent issues discovered with RAID1 and failing disks, I am 
contemplating alternatives to ensure more reliability.

The question that arises: Is there any way to boot a system from a 
RAID10 md?


-- 
Regards, Maurice


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

* Re: Booting off of RAID10 versus RAID1
  2008-05-08 13:34 Maurice Hilarius
@ 2008-05-08 14:35 ` Andrew Farley
  2008-05-08 14:40 ` Keld Jørn Simonsen
  2008-05-08 15:30 ` David Greaves
  2 siblings, 0 replies; 9+ messages in thread
From: Andrew Farley @ 2008-05-08 14:35 UTC (permalink / raw)
  To: linux-raid

I'm pretty sure you can't put the kernel on a raid 10, but you can  
have a 50-100MB RAID1 (or not raid) /boot partition (on each hdd if  
you wish) and then have root on raid 10 provided you compile in  
support for it or use a initrd.  I have used this setup successfully  
without the kernel raid 10 support (older linux distro).  I just have  
a raid 0 on top of three raid 1's that auto assemble the raid 1's upon  
boot but then have to manually assemble the raid 0 since the boot-up  
procedure only does one round of raid auto-detecting.

Just required this little hack in menu.lst

title  Default kernel - build2
root (hd0,0)
kernel /kernel-build2 root=/dev/md4 md=4,/dev/md1,/dev/md2,/dev/md3

Just a trick I used, makes some great vm and/or db servers.  Cheers,

  - A

On May 8, 2008, at 3:34 PM, Maurice Hilarius wrote:

> After recent issues discovered with RAID1 and failing disks, I am  
> contemplating alternatives to ensure more reliability.
>
> The question that arises: Is there any way to boot a system from a  
> RAID10 md?

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

* Re: Booting off of RAID10 versus RAID1
  2008-05-08 13:34 Maurice Hilarius
  2008-05-08 14:35 ` Andrew Farley
@ 2008-05-08 14:40 ` Keld Jørn Simonsen
  2008-05-11  7:28   ` Keld Jørn Simonsen
  2008-05-08 15:30 ` David Greaves
  2 siblings, 1 reply; 9+ messages in thread
From: Keld Jørn Simonsen @ 2008-05-08 14:40 UTC (permalink / raw)
  To: Maurice Hilarius; +Cc: linux-raid

On Thu, May 08, 2008 at 07:34:12AM -0600, Maurice Hilarius wrote:
> After recent issues discovered with RAID1 and failing disks, I am 
> contemplating alternatives to ensure more reliability.
> 
> The question that arises: Is there any way to boot a system from a 
> RAID10 md?

I believe you can boot off a raid10,n2 array.

best regards
keld

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

* Re: Booting off of RAID10 versus RAID1
  2008-05-08 13:34 Maurice Hilarius
  2008-05-08 14:35 ` Andrew Farley
  2008-05-08 14:40 ` Keld Jørn Simonsen
@ 2008-05-08 15:30 ` David Greaves
  2008-05-09 15:09   ` Bill Davidsen
  2 siblings, 1 reply; 9+ messages in thread
From: David Greaves @ 2008-05-08 15:30 UTC (permalink / raw)
  To: Maurice Hilarius; +Cc: linux-raid

Maurice Hilarius wrote:
> After recent issues discovered with RAID1 and failing disks, I am
> contemplating alternatives to ensure more reliability.
> 
> The question that arises: Is there any way to boot a system from a
> RAID10 md?

I've been wondering about booting grub/initrd from a flash USB stick (industrial
quality if needed).

David


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

* Re: Booting off of RAID10 versus RAID1
@ 2008-05-08 16:25 David Lethe
  2008-05-08 17:16 ` Twigathy
  0 siblings, 1 reply; 9+ messages in thread
From: David Lethe @ 2008-05-08 16:25 UTC (permalink / raw)
  To: David Greaves, Maurice Hilarius; +Cc: linux-raid

I know of several vendors that have linux-based NAS appliance vendors who do this. It is rock solid, as long as you don't use consumer-quality usb flash.  Check specs on flash memory for throughput and write cycles and ECC and choose accordingly. Also look into IDE mounted flash. It directly plugs into IDE plug on mobo, so it will be internal, and emulates an ide disk.  

-----Original Message-----

From:  "David Greaves" <david@dgreaves.com>
Subj:  Re: Booting off of RAID10 versus RAID1
Date:  Thu May 8, 2008 10:31 am
Size:  556 bytes
To:  "Maurice Hilarius" <maurice@harddata.com>
cc:  "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>

Maurice Hilarius wrote: 
> After recent issues discovered with RAID1 and failing disks, I am 
> contemplating alternatives to ensure more reliability. 
>  
> The question that arises: Is there any way to boot a system from a 
> RAID10 md? 
 
I've been wondering about booting grub/initrd from a flash USB stick (industrial 
quality if needed). 
 
David 
 
-- 
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] 9+ messages in thread

* Re: Booting off of RAID10 versus RAID1
  2008-05-08 16:25 Booting off of RAID10 versus RAID1 David Lethe
@ 2008-05-08 17:16 ` Twigathy
  2008-05-08 17:38   ` Tomasz Chmielewski
  0 siblings, 1 reply; 9+ messages in thread
From: Twigathy @ 2008-05-08 17:16 UTC (permalink / raw)
  To: linux-raid

My desktop NFS boots off my fileserver, with a local /boot partition
on a 2GB CompactFlash card in an IDE -> CF adapter bought for pennies
on fleabay. With a partition like /boot that doesn't get written to
very often (Only on kernel updates and initrd changes) I don't see the
write limitations as being too much of a problem. Not sure how well
they would fare in a raid1 setup, but again they'd only be written to
occasionally.

2008/5/8 David Lethe <david@santools.com>:
> I know of several vendors that have linux-based NAS appliance vendors who do this. It is rock solid, as long as you don't use consumer-quality usb flash.  Check specs on flash memory for throughput and write cycles and ECC and choose accordingly. Also look into IDE mounted flash. It directly plugs into IDE plug on mobo, so it will be internal, and emulates an ide disk.
>
>
>
>  -----Original Message-----
>
>  From:  "David Greaves" <david@dgreaves.com>
>  Subj:  Re: Booting off of RAID10 versus RAID1
>  Date:  Thu May 8, 2008 10:31 am
>  Size:  556 bytes
>  To:  "Maurice Hilarius" <maurice@harddata.com>
>  cc:  "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
>
>  Maurice Hilarius wrote:
>  > After recent issues discovered with RAID1 and failing disks, I am
>  > contemplating alternatives to ensure more reliability.
>  >
>  > The question that arises: Is there any way to boot a system from a
>  > RAID10 md?
>
>  I've been wondering about booting grub/initrd from a flash USB stick (industrial
>  quality if needed).
>
>  David
>
>  --
>  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
>
>
>
>  --
>  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] 9+ messages in thread

* Re: Booting off of RAID10 versus RAID1
  2008-05-08 17:16 ` Twigathy
@ 2008-05-08 17:38   ` Tomasz Chmielewski
  0 siblings, 0 replies; 9+ messages in thread
From: Tomasz Chmielewski @ 2008-05-08 17:38 UTC (permalink / raw)
  To: Twigathy; +Cc: linux-raid

Twigathy schrieb:
> My desktop NFS boots off my fileserver, with a local /boot partition
> on a 2GB CompactFlash card in an IDE -> CF adapter bought for pennies
> on fleabay. With a partition like /boot that doesn't get written to
> very often (Only on kernel updates and initrd changes) I don't see the
> write limitations as being too much of a problem. Not sure how well
> they would fare in a raid1 setup, but again they'd only be written to
> occasionally.

For my SAN servers, I usually have a system installed on a IDE-flash or a 
USB-stick; data is stored separately on hard disks.

This way, an operating system is independent of data - in case of any operating 
system failure, just replace a small flash module, and you have access to data 
again. Having an operating system together with data on any RAID makes recovery 
from failures much harder.

Of course, everything depends on your usage.


So far, I had only one problem with worn out flash: I placed RAID bitmap on 
flash, and some time later, I had I/O errors when trying to access the bitmap 
file. Probably Transcend IDE-flash disks don't do a very clever wear-levelling.

Other than that, I don't have any problems - although some of these systems run 
off flash for several years now (including /var/log/).

See also a recent "Compact Flash Question" discussion on lkml.


-- 
Tomasz Chmielewski
http://wpkg.org

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

* Re: Booting off of RAID10 versus RAID1
  2008-05-08 15:30 ` David Greaves
@ 2008-05-09 15:09   ` Bill Davidsen
  0 siblings, 0 replies; 9+ messages in thread
From: Bill Davidsen @ 2008-05-09 15:09 UTC (permalink / raw)
  To: David Greaves; +Cc: Maurice Hilarius, linux-raid

David Greaves wrote:
> Maurice Hilarius wrote:
>   
>> After recent issues discovered with RAID1 and failing disks, I am
>> contemplating alternatives to ensure more reliability.
>>
>> The question that arises: Is there any way to boot a system from a
>> RAID10 md?
>>     
>
> I've been wondering about booting grub/initrd from a flash USB stick (industrial
> quality if needed).
>   

Not needed, you won't be writing it often (I hope!), so just the MBR and 
/boot can go on that device.

-- 
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 



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

* Re: Booting off of RAID10 versus RAID1
  2008-05-08 14:40 ` Keld Jørn Simonsen
@ 2008-05-11  7:28   ` Keld Jørn Simonsen
  0 siblings, 0 replies; 9+ messages in thread
From: Keld Jørn Simonsen @ 2008-05-11  7:28 UTC (permalink / raw)
  To: Maurice Hilarius; +Cc: linux-raid

On Thu, May 08, 2008 at 04:40:16PM +0200, Keld Jørn Simonsen wrote:
> On Thu, May 08, 2008 at 07:34:12AM -0600, Maurice Hilarius wrote:
> > After recent issues discovered with RAID1 and failing disks, I am 
> > contemplating alternatives to ensure more reliability.
> > 
> > The question that arises: Is there any way to boot a system from a 
> > RAID10 md?
> 
> I believe you can boot off a raid10,n2 array.

You should also be able to boot off a raid5 array with 2 disks!

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] 9+ messages in thread

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

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-08 16:25 Booting off of RAID10 versus RAID1 David Lethe
2008-05-08 17:16 ` Twigathy
2008-05-08 17:38   ` Tomasz Chmielewski
  -- strict thread matches above, loose matches on Subject: below --
2008-05-08 13:34 Maurice Hilarius
2008-05-08 14:35 ` Andrew Farley
2008-05-08 14:40 ` Keld Jørn Simonsen
2008-05-11  7:28   ` Keld Jørn Simonsen
2008-05-08 15:30 ` David Greaves
2008-05-09 15:09   ` Bill Davidsen

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).