Re: md extension to support booting from raid whole disks.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rudy Zijlstra <rudy@xxxxxxxxxxxxxxxxxxxxxxxxx> writes:

> Op maandag 04-05-2009 om 18:55 uur [tijdzone +0200], schreef Goswin von
> Brederlow:
>> Rudy Zijlstra <rudy@xxxxxxxxxxxxxxxxxxxxxxxxx> writes:
>> 
>> > Op zaterdag 02-05-2009 om 00:49 uur [tijdzone +0200], schreef Goswin von
>> > Brederlow:
>> >> Rudy Zijlstra <rudy@xxxxxxxxxxxxxxxxxxxxxxxxx> writes:
>> >> 
>> >> > I really prefer the current situation, where you need to explicitly
>> >> > configure a RAID1. This makes clear what is happening, and reduces
>> >> > confusion. This propposal would make debug of a failed boot just so much
>> >> > more difficult. 
>> >> >
>> >> > Cheers,
>> >> >
>> >> > Rudy
>> >> 
>> >> As said in another mail the same problem is there with raid1. The
>> >> proposal should allow creating a raid1 over sda/b without partitioning
>> >> and any replacement drive automatically becoming bootable without you
>> >> having to manually reinstall the bootloader to the new disk.
>> >> 
>> >> Wouldn't that be a huge plus?
>> >> 
>> >> MfG
>> >>         Goswin
>> >
>> > Agreed to the automatic bootable of replacement disk, I still prefer the
>> > partitioning though, as it makes clear what is happening. There are two
>> > aspects here:
>> > 1/ ease of installation
>> 
>> Which isn't true. Installing thebootloader on every component device
>> is currently a pain and easy to forget when changing disks.
>
> which means it is an important aspect... And i agree at the moment easy
> to forget. So far i do not see improvement in this aspect from current
> proposal. 

My preference is to have md consider the bootloader space part of the
metadata and copy it accross to new disks when they get added to a
raid. That way you can't forget it.
 
>> > 2/ ease of debug
>> >
>> > The latter is very important in boot situations. It gets worse with any
>> > implied action. Please take a look at what you are specifying: an
>> > implicit RAID1 over 2 "special" disks, within a RAIDX device... Now you
>> > expect a user to debug that, in case it fails?? I have had too often
>> > trouble to get my systems to boot the way i wanted to boot them, to
>> > trust any BIOS to do the expected :(
>> >
>> > Cheers,
>> >
>> > Rudy
>> 
>> Not over 2 "special" disks. Plain across all disks.
>
> Which is even worse, as i have not seen *any* BIOS able to handle
> that... and i have a intel based board wich according to this email
> thread should do that (and linux did not recognise the raid it had
> configured, so let us forget about booting from it)

If it is mirrored across all disks any one disk (of the raid) will be
bootable. Every bios supports that.

The part where you need bios support only comes later once the
bootloader is loaded, activates its raid capabilities and then tries
to read a raid 0/4/5/6. If the bios does not grive access to enough
component devices of such a raid then the bootloader will be stuck
then.

But that is really nothing new. With a partition block and raid on
partitions the bootloader is just as stuck there. That just can't be
helped so I don't consider that an argument for or against anything.

MfG
        Goswin
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux