FATAL: Module md not found. (mdadm)

fibroptikl

Supreme [H]ardness
Joined
Mar 9, 2000
Messages
7,339
Fedora 8 x64

I am attempting to create a stripe with two drives - I can create the/dev/md0 device, mkfs ext3, mount it - and see it in df -h.

However I reboot and /dev/md0 is gone and the folder is mounted to /.

I run modprobe md - and I get:

Code:
[root@localhost modules]# modprobe md
FATAL: Module md not found.
[root@localhost modules]#

So the question is, what can I do to get "md" to load on boot? I have a feeling since it doesn't load, md0 disappears.
 
Did you export your md0 to the mdadm.conf and add the appropriate references to /etc/fstab?
 
Did you export your md0 to the mdadm.conf and add the appropriate references to /etc/fstab?
I don't know what you mean by "export your md0 to the mdadm.conf" - I read that it doesn't use mdadm.conf - but I'm probably just confused.

I have added it to the /etc/fstab, but the md0 is completely removed as a device after reboot so it never really gets far to the point to where it's getting mounted.
 
You probably just need to assemble the raid and then run cat /proc/mdstat to make sure /dev/md0 is back up

I would then do..

mdadm --detail --scan >> /etc/mdadm.conf


Now you can test your /etc/fstab mount...

mount -a

If it mounts then reboot and make sure it all comes back up happy

More detailed help is in the link below if you are still confused :)

http://www.devil-linux.org/documentation/1.0.x/ch01s05.html
 
Back
Top