Problem with auto-assembly on Itanium
Hi,
I try to create a Raid 1 device from two partitions on a Itanium, but i can't get it to auto-assembly the raid when rebooting. Since it uses the GPT partition-scheme i have to use parted. I set the raid-flag on the partitions with "set 1 raid on" with no luck. I've also tried the "md=0,/dev/sdb2,/dev/sdc2" kernel option and still no automatically assembly of the raid device.
I tried similar setup on a i386 box (but not using parted) and it worked fine. My suspicion is that parted doesn't set the partition type to 0xFD or the kernel-code for auto-assembly the raid don't look into GPT-partitions.
Is there any way i can make this work? Could it be doable with mdadm in a initrd?
Many thanks in advance,
Jimmy Hedman
Quoted 3 lines · Jimmy Hedman
Is there any way i can make this work? Could it be doable with mdadm in a initrd?
mdassembled was devise for this purpose.
create an /etc/mdadm.conf with
echo "DEVICE partitions" >> /etc/mdadm.conf /sbin/mdadm -D -b /dev/md0 | grep '^ARRAY' >> /etc/mdadm.conf
copy the mdadm.conf and mdassemble to initrd
make linuxrc run mdassemble.
L.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \
Quoted 4 lines · Luca Berra
Quoted 3 lines · Jimmy Hedman
Is there any way i can make this work? Could it be doable with mdadm in a initrd?
Quoted 8 lines
mdassembled was devise for this purpose.
create an
/etc/mdadm.confwith
echo "DEVICE partitions" >>/etc/mdadm.conf/sbin/mdadm-D -b/dev/md0| grep '^ARRAY' >>/etc/mdadm.confcopy the mdadm.conf and mdassemble to initrd
make linuxrc run mdassemble.
So there are no way of doing it the same way i386 does it, ie scanning the partitions and assembly the raid by it self? Is this a bug on the itanium (GPT partition scheme) or is this intentional?
// Jimmy
Quoted 2 lines
L.
Quoted 11 lines · Jimmy Hedman
Quoted 10 lines · Luca Berra
Quoted 3 lines · Jimmy Hedman
Is there any way i can make this work? Could it be doable with mdadm in a initrd?
mdassembled was devise for this purpose.
create an
/etc/mdadm.confwith
echo "DEVICE partitions" >>/etc/mdadm.conf/sbin/mdadm-D -b/dev/md0| grep '^ARRAY' >>/etc/mdadm.conf
Quoted 7 lines
Quoted 2 lines
copy the mdadm.conf and mdassemble to initrd
make linuxrc run mdassemble.So there are no way of doing it the same way i386 does it, ie scanning the partitions and assembly the raid by it self? Is this a bug on the itanium (GPT partition scheme) or is this intentional?
if you mean the in-kernel autodetect junk, you should only be happy it does not work on your system, so you are not tempted to use it. even on i386 it is badly broken, and i won't return on the subject. it has been discussed on this list to boredom.
L.
btw. you don't need cc-ing me. i read the list.
L.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \