Re: Problem with md autodetect on Alpha platform?

2004-07-14 Thread Steve Langasek
On Wed, Jul 14, 2004 at 06:08:42PM +, J. Dub wrote:
> I guess this may be Alpha-specific pain...

> I have a problem autodetecting raid arrays on Debian Alpha.

Software raid autodetection is specific to MS-DOS partition tables.

> 4. Partitions have fd flag
> --
> 5 partitions:
> #   start   end  size fstype   [fsize bsize   cpg]
>  a:1*9*8*  ext2
>  b:   107566 fd
>  c:   76   337   262 fd
>  d:  338   40366 fd
>  e:  339  1106   768 fd
> 

The above appears to be a BSD disklabel, therefore

> 1. I can start raid by using raidtools and /etc/raidtab

this is your only option.

> I need to configure autodection to mirror root partition. I moved 
> aboot.conf in ext2 boot partition so it's not a problem for aboot to start 
> kernel.

If you use an initial ramdisk, you don't need autodetection working in
order to enable mirroring on the root partition.  There is even support
for this in the Debian raid packages, in the form of mkinitrd hooks.

-- 
Steve Langasek
postmodern programmer




Re: Problem with md autodetect on Alpha platform?

2004-07-15 Thread J. Dub
Thank you, Steve!!!
I got mirrored root without initrd disk, I just start vmlinuz with raid 
parameters.

0:1/vmlinuz ro root=/dev/md3 console=ttyS1 md=3,/dev/sda3,/dev/sdb3
aboot.conf is taken from non-raid boot partition. Raid for root device is 
forced to start during start-up.
The other partitions are started by /etc/init.d/raid2 script.

BR,
Dub
_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail