Re: Problem with md autodetect on Alpha platform?
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
Problem with md autodetect on Alpha platform?
Hi, I guess this may be Alpha-specific pain... I have a problem autodetecting raid arrays on Debian Alpha. 1. I can start raid by using raidtools and /etc/raidtab 2. I see superblocks are in place (by mdadm -E) 3. Kernel (2.4.26) is compiled with the following parameters CONFIG_MD=y CONFIG_BLK_DEV_MD=y CONFIG_MD_RAID0=y CONFIG_MD_RAID1=y 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 5. md driver starts but does not find any partitions -- md: raid0 personality registered as nr 2 md: raid1 personality registered as nr 3 md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. --- 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. Could it be a problem with type fd in BSD partitioning table? Many thanks in advance for any help! BR, Dub _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
Re: Problem with md autodetect on Alpha platform?
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