mdadm / dracut: not enough devices / rd_NO_MD.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi --

I had a soft raid level 0 running and I started having problems when I
switched to fc13. The first disk in the array always is missing its
superblock.
I can put new disks in or switch the order and the same thing happens
on reboot. I must be missing something (loose screw maybe). Here is
how I build it, any suggestions would be great:

(I did find that adding rd_NO_MD to the kernel line was a temp fix, so
mdadm doesn't try to autoassemble the raid)

1. fdisk /dev/sdb, use the whole disk for partition sdb1, t=fd (raid),
write, sync
    fdisk /dev/sdc, use the whole disk for partition sdc1, t=fd
(raid), write, sync
    fdisk /dev/sdd, use the whole disk for partition sdc1, t=fd
(raid), write, sync
    fdisk /dev/sde, use the whole disk for partition sde1, t=fd
(raid), write, sync

2. mdadm --create --verbose /dev/md0 --level=0 --raid-devices=4 /dev/sd[bcde]1

    msg: md0: detected capacity change 0 to nnnnn
            md0: unknow partition table

3. mkfs.ext4 /dev/md0

4. mount /dev/md0 /mnt
    (works fine)

5. Then reboot, I get on console, everytime:

dracut: mdadm: Not enough devices....
/dev/md/host.domain:0

Seem there is info kept  on the disk info about a prior config. I've
read about --zero-superblock, but when in the above steps and how
would you run it? Do you run it on a specific partition or on
/dev/md0? any help would be great!

thanks,

-- g
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux