Re: Software RAID problem.

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

 



Well I got a solution, but it isn't what you might expect....

First I edited the /etc/rc.d/rc.sysinit and added "-x" to the sh-bang on line one, then I rebooted. I saw that when the kernel is loading it seems to autodetect raid devices on the disk partitions, but it wasn't autodetecting this one.... Hmmm, maybe that is why the dmesg mentioned "personality 000002 not loaded" for /dev/md4?

Anyway, rc.sysinit was reading /proc/mdstat to see what raid volumes had already been assembled and were ready for mounting. It wasn't seeing /dev/md4 because the kernel hadn't auto-detected it.

So at the beginning of the /etc/rc.sysinit I added the following two lines that fixed the problem:

	insmod raid1
	mdadm --assemble /dev/md4

And I had to create /etc/mdadm.conf with the following lines:
	
	DEVICE /dev/hda7 /dev/hdc7
	ARRAY /dev/md4 devices=/dev/hda7,/dev/hdc7

-Ben.

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux