Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#4066 - mkinitrd problems - md devices

Attached to Project: Arch Linux
Opened by Leon Roy (dogbait) - Monday, 27 February 2006, 02:01 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 27 February 2006, 17:43 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

I am having a problem with initrd on my machine. I have two md devices, md0 for / and md1 for swap. The system after booting creates only /dev/md0.
The system boots, but any raid device after md0 does not exist in /dev.

I can manually do 'mknod /dev/md1 b 9 1' which creates device md1, but I have to do this at every boot. Adding 'mknod /dev/md1 b 9 1' to /sbin/mkinitrd causes initrd to report at boot-up that device 'dev/md1' already exists even though only /dev/md0 exists.

Something similar is discussed here as well:
http://ubuntuforums.org/archive/index.php/t-25938.html

Hope this helps.
This task depends upon

Closed by  James Rayner (iphitus)
Sunday, 15 October 2006, 07:06 GMT
Reason for closing:  Won't fix
Additional comments about closing:  mkinitrd deprecated in favour or mkinitcpio
Comment by Leon Roy (dogbait) - Monday, 27 February 2006, 03:04 GMT
Editing /etc/mdadm.conf from 'DEVICE partitions' to 'DEVICE /dev/sd[ab]1 /dev/sd[ab]2' (all my raid devices) caused /dev/md1 to be created at next boot. And is still working even after changing it back to 'DEVICE partitions'.

/proc/partitions previously had md0 but no md1. Now it has both.

However, problem of /dev/md1 not appearing exists with initramfs (with archck kernel).

Loading...