Skip to contentSkip to conversation

software for making initrd's with raid support

DISCUSSION Keld Jørn Simonsen 2 participants 8 messages Mar 12, 2008 – Mar 17, 2008 MD RAID

lore
Share & tools
lore
#0 lore raw

Hi

I have been looking at making my system working with raid, and booting from raid. I succeded, but I had to hack a number of things, including making a new initrd by hand.

I used mkinitrd, but it did not treat sw raid, only in the md sense. this is a redhat/mandriva/pclinuxos(keldix thing, I wonder if it also used in the dbian/ubuntu world.

So what do you use for generating initrd? And does it work out of the box?

Are there any installers that have support for raid1/raid10?

BTW, I updated the howto on preventing against failure caused by a single bad disk, and I think it now kind of reflects something that works.

best regards
Keld

#1 lore raw
Quoted 9 lines · Keld Jørn Simonsen

Hi

I have been looking at making my system working with raid, and booting from raid. I succeded, but I had to hack a number of things, including making a new initrd by hand.

I used mkinitrd, but it did not treat sw raid, only in the md sense. this is a redhat/mandriva/pclinuxos(keldix thing, I wonder if it also used in the dbian/ubuntu world.

could you please explain what you mean in the above sentence, i have being maintaining mandriva mkinitrd packages for some years, and would really love to know.

L.

Signature · 10 lines
Luca Berra -- [email protected]
       Communication Media & Services S.r.l.
/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
Quoted 7 lines · Luca Berra
Quoted 6 lines · Keld Jørn Simonsen

Hi

I have been looking at making my system working with raid, and booting from raid. I succeded, but I had to hack a number of things, including making a new initrd by hand.

Quoted 7 lines
Quoted 3 lines

I used mkinitrd, but it did not treat sw raid, only in the md sense. this is a redhat/mandriva/pclinuxos(keldix thing, I wonder if it also used in the dbian/ubuntu world.

could you please explain what you mean in the above sentence, i have being maintaining mandriva mkinitrd packages for some years, and would really love to know.

Good! I was working on a mandriva professional 2006 system 2.6.12 kernel, and I hacked the mkinitrd to have it generate mdadm.conf etc
- it did not at all look at this. I can send you my patches, but they are in no way clean.

There was no mention of raid10 in the code either.

I thied to contact Erik Troan - the main author of mkinitrd (and lots of other stuff:-) - but got a bouncing message for his redhat address.

And I was about to report this om qa.mandriva.com - but it seems that I already made contact!

best regards
keld
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 12 lines · Keld Jørn Simonsen
Quoted 11 lines · Luca Berra
Quoted 9 lines · Keld Jørn Simonsen

Hi

I have been looking at making my system working with raid, and booting from raid. I succeded, but I had to hack a number of things, including making a new initrd by hand.

I used mkinitrd, but it did not treat sw raid, only in the md sense. this is a redhat/mandriva/pclinuxos(keldix thing, I wonder if it also used in the dbian/ubuntu world.

Quoted 5 lines
Quoted 3 lines

could you please explain what you mean in the above sentence, i have being maintaining mandriva mkinitrd packages for some years, and would really love to know.

Good! I was working on a mandriva professional 2006 system 2.6.12

2006.0 is EOL

Quoted 3 lines

kernel, and I hacked the mkinitrd to have it generate mdadm.conf etc
- it did not at all look at this. I can send you my patches, but they are in no way clean.

mkinitrd in 2006.0 did generate mdadm.conf and use it, so i don't know what your patches were doing.

Quoted 1 line

There was no mention of raid10 in the code either.

yes support for raid10 was added after 2006.0 release

Quoted 2 lines

I thied to contact Erik Troan - the main author of mkinitrd (and lots of other stuff:-) - but got a bouncing message for his redhat address.

i think Erik does not maintain mkinitrd any more, it is quite an old software.

Quoted 2 lines

And I was about to report this om qa.mandriva.com - but it seems that I already made contact!

if you want a bug fixed on mandriva please send a bug report on qa.mandriva.com, same applies for redhat/fedora.
If you have questions to ask, feel free.

L.

Signature · 10 lines
Luca Berra -- [email protected]
       Communication Media & Services S.r.l.
/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw
Quoted 13 lines · Luca Berra
Quoted 12 lines · Keld Jørn Simonsen
Quoted 11 lines · Luca Berra
Quoted 9 lines · Keld Jørn Simonsen

Hi

I have been looking at making my system working with raid, and booting from raid. I succeded, but I had to hack a number of things, including making a new initrd by hand.

I used mkinitrd, but it did not treat sw raid, only in the md sense. this is a redhat/mandriva/pclinuxos(keldix thing, I wonder if it also used in the dbian/ubuntu world.

Quoted 6 lines
Quoted 5 lines
Quoted 3 lines

could you please explain what you mean in the above sentence, i have being maintaining mandriva mkinitrd packages for some years, and would really love to know.

Good! I was working on a mandriva professional 2006 system 2.6.12

2006.0 is EOL

2006.0 professional is maintained to 2011

Quoted 5 lines
Quoted 3 lines

kernel, and I hacked the mkinitrd to have it generate mdadm.conf etc
- it did not at all look at this. I can send you my patches, but they are in no way clean.

mkinitrd in 2006.0 did generate mdadm.conf and use it, so i don't know what your patches were doing.

the code to generate mdadm.conf was not activated. I made some patches to force raid code generation.

Quoted 7 lines
Quoted 1 line

There was no mention of raid10 in the code either.

yes support for raid10 was added after 2006.0 release

Quoted 2 lines

I thied to contact Erik Troan - the main author of mkinitrd (and lots of other stuff:-) - but got a bouncing message for his redhat address.

i think Erik does not maintain mkinitrd any more, it is quite an old software.

OK, who maintains it now, and is mkinitrd still a viable - perhaps the best - way to make initrd's?

Where is the latest mkinitrd available from?

Could I use the latest mkinitrd with my 2006.0 system?

Quoted 5 lines
Quoted 2 lines

And I was about to report this om qa.mandriva.com - but it seems that I already made contact!

if you want a bug fixed on mandriva please send a bug report on qa.mandriva.com, same applies for redhat/fedora.
If you have questions to ask, feel free.

Is raid10,f2 supported under the latest haddrake2?

Best regards
keld
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
Quoted 4 lines · Keld Jørn Simonsen
Quoted 2 lines
Quoted 1 line

Good! I was working on a mandriva professional 2006 system 2.6.12

2006.0 is EOL

2006.0 professional is maintained to 2011

you mean cd4?

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

kernel, and I hacked the mkinitrd to have it generate mdadm.conf etc
- it did not at all look at this. I can send you my patches, but they are in no way clean.

mkinitrd in 2006.0 did generate mdadm.conf and use it, so i don't know what your patches were doing.

the code to generate mdadm.conf was not activated. I made some patches to force raid code generation.

really?
if this is the case you should have submitted a bug report.

Quoted 10 lines
Quoted 7 lines
Quoted 1 line

There was no mention of raid10 in the code either.

yes support for raid10 was added after 2006.0 release

Quoted 2 lines

I thied to contact Erik Troan - the main author of mkinitrd (and lots of other stuff:-) - but got a bouncing message for his redhat address.

i think Erik does not maintain mkinitrd any more, it is quite an old software.

OK, who maintains it now, and is mkinitrd still a viable - perhaps the best - way to make initrd's?

mkinitrd is maintained by RedHat (http://www.redhat.com/)
afaik the person responsible for that package is Peter Jones.
Mandriva up to 2008.0 used a version derived from mkinitrd 4.2.17 codebase, maintained by me. the upcoming 2008.1 will use a version derived from mkinitrd 6 codebase, maintained by Olivier Blin.

Quoted 1 line

Where is the latest mkinitrd available from?

the redhat version is avaliable from any rawhide mirror
http://mirrors.fedoraproject.org/publiclist/Fedora/development/
The mandriva version from any cooker mirror
http://wiki.mandriva.com/en/CookerMirrors

Quoted 1 line

Could I use the latest mkinitrd with my 2006.0 system?

i don't think so

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

And I was about to report this om qa.mandriva.com - but it seems that I already made contact!

if you want a bug fixed on mandriva please send a bug report on qa.mandriva.com, same applies for redhat/fedora.
If you have questions to ask, feel free.

Is raid10,f2 supported under the latest haddrake2?

No.

Signature · 10 lines
Luca Berra -- [email protected]
       Communication Media & Services S.r.l.
/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#6 lore raw
Quoted 7 lines · Luca Berra
Quoted 4 lines · Keld Jørn Simonsen
Quoted 2 lines
Quoted 1 line

Good! I was working on a mandriva professional 2006 system 2.6.12

2006.0 is EOL

2006.0 professional is maintained to 2011

you mean cd4?

I mean Corporate Server 4 - cs4.

Quoted 11 lines
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

kernel, and I hacked the mkinitrd to have it generate mdadm.conf etc
- it did not at all look at this. I can send you my patches, but they are in no way clean.

mkinitrd in 2006.0 did generate mdadm.conf and use it, so i don't know what your patches were doing.

the code to generate mdadm.conf was not activated. I made some patches to force raid code generation.

really?
if this is the case you should have submitted a bug report.

It is possible that I do. I would like to find out what to do first, however.

Quoted 28 lines
Quoted 10 lines
Quoted 7 lines
Quoted 1 line

There was no mention of raid10 in the code either.

yes support for raid10 was added after 2006.0 release

Quoted 2 lines

I thied to contact Erik Troan - the main author of mkinitrd (and lots of other stuff:-) - but got a bouncing message for his redhat address.

i think Erik does not maintain mkinitrd any more, it is quite an old software.

OK, who maintains it now, and is mkinitrd still a viable - perhaps the best - way to make initrd's?

mkinitrd is maintained by RedHat (http://www.redhat.com/)
afaik the person responsible for that package is Peter Jones. Mandriva up to 2008.0 used a version derived from mkinitrd 4.2.17 codebase, maintained by me.
the upcoming 2008.1 will use a version derived from mkinitrd 6 codebase, maintained by Olivier Blin.

Quoted 1 line

Where is the latest mkinitrd available from?

the redhat version is avaliable from any rawhide mirror
http://mirrors.fedoraproject.org/publiclist/Fedora/development/
The mandriva version from any cooker mirror
http://wiki.mandriva.com/en/CookerMirrors

Quoted 1 line

Could I use the latest mkinitrd with my 2006.0 system?

i don't think so

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

And I was about to report this om qa.mandriva.com - but it seems that I already made contact!

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

if you want a bug fixed on mandriva please send a bug report on qa.mandriva.com, same applies for redhat/fedora.
If you have questions to ask, feel free.

Is raid10,f2 supported under the latest haddrake2?

No.

Thanks for your answers.

I filed a feature request for cooker on harddrake2 and drakx.

I think mkinitrd is actually used by the kernel, with a make install. Is that true? Then mkinitrd is a general script that is used on almost all linux systems. So I can assume that this is available when I write a howto.

best regards
keld
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#7 lore raw
Quoted 5 lines · Keld Jørn Simonsen
Quoted 2 lines

really?
if this is the case you should have submitted a bug report.

It is possible that I do. I would like to find out what to do first, however.

in any case if i am to provide any support, i need more information on the issue you experienced.

Quoted 3 lines

Thanks for your answers.

I filed a feature request for cooker on harddrake2 and drakx.

good,
could you send me (privately) the bugzilla number?

Quoted 1 line

I think mkinitrd is actually used by the kernel, with a make install.

this is because kernel "make install" command looks for a site specific script called /sbin/installkernel.

Quoted 3 lines

Is that true? Then mkinitrd is a general script that is used on almost all linux systems. So I can assume that this is available when I write a howto.

afaik redhat, mandriva and turbolinux use a mkinitrd derived from redhat

suse uses its own mkinitrd command

debian and derivatives use initramfs-tools, or yaird

other distributions i have no knowledge.

L.

Signature · 10 lines
Luca Berra -- [email protected]
       Communication Media & Services S.r.l.
/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html