* Problem with auto-assembly on Itanium
@ 2005-03-09 10:28 Jimmy Hedman
2005-03-09 16:43 ` Luca Berra
0 siblings, 1 reply; 4+ messages in thread
From: Jimmy Hedman @ 2005-03-09 10:28 UTC (permalink / raw)
To: linux-raid
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with auto-assembly on Itanium
2005-03-09 10:28 Problem with auto-assembly on Itanium Jimmy Hedman
@ 2005-03-09 16:43 ` Luca Berra
2005-03-10 10:03 ` Jimmy Hedman
0 siblings, 1 reply; 4+ messages in thread
From: Luca Berra @ 2005-03-09 16:43 UTC (permalink / raw)
To: linux-raid
On Wed, Mar 09, 2005 at 11:28:48AM +0100, Jimmy Hedman wrote:
>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.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with auto-assembly on Itanium
2005-03-09 16:43 ` Luca Berra
@ 2005-03-10 10:03 ` Jimmy Hedman
2005-03-10 20:49 ` Luca Berra
0 siblings, 1 reply; 4+ messages in thread
From: Jimmy Hedman @ 2005-03-10 10:03 UTC (permalink / raw)
To: Luca Berra; +Cc: linux-raid
On Wed, 2005-03-09 at 17:43 +0100, Luca Berra wrote:
> On Wed, Mar 09, 2005 at 11:28:48AM +0100, Jimmy Hedman wrote:
> >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.
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
> L.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with auto-assembly on Itanium
2005-03-10 10:03 ` Jimmy Hedman
@ 2005-03-10 20:49 ` Luca Berra
0 siblings, 0 replies; 4+ messages in thread
From: Luca Berra @ 2005-03-10 20:49 UTC (permalink / raw)
To: linux-raid
On Thu, Mar 10, 2005 at 11:03:44AM +0100, Jimmy Hedman wrote:
>On Wed, 2005-03-09 at 17:43 +0100, Luca Berra wrote:
>> On Wed, Mar 09, 2005 at 11:28:48AM +0100, Jimmy Hedman wrote:
>> >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.
>
>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.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-10 20:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-09 10:28 Problem with auto-assembly on Itanium Jimmy Hedman
2005-03-09 16:43 ` Luca Berra
2005-03-10 10:03 ` Jimmy Hedman
2005-03-10 20:49 ` Luca Berra
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).