|
From: Alan <al...@uf...> - 2006-01-26 06:59:42
|
Solved, changed the order line in /etc/conf.d/rc to just "evms" and all is well. On Wed, Jan 25, 2006 at 01:44:20PM -0800, Alan wrote: > Hey all, I set up an EVMS volume over top of two software raid5 arrays > and mounted it as a storage mount in my gentoo box, and it works great. > > ... until I rebooted. > > On reboot I got a message saying that the EVMS volume couldn't be > started because one of the RAID arrays was running in degraded mode. > That's fine, so I go and check /proc/mdstat and one of the arrays is > indeed running in degraded mode. Running > > mdadm --assemble /dev/md0 /dev/hdb1 /dev/sda1 /dev/sdb1 > > told me that /dev/hdb1 was busy. > > Rebooting on a gentoo livecd gave me working raid fine and other than > needing me to run 'evms_activate' after it booted up, I had full access. > > I fought with this for about 4 hours last night found this: > > - booting normally seemed to somehow lock one raid partition. The > kernel would detect that hdb1 had a type FD on it, try to start it > with 1 out of 3 disks, fail, then later on after the SATA drivers are > loaded it finds disks sda1 and sdb1 and starts the array with 2 of 3 > disks, ignoring hdb1 > - no change between having raid drivers and sata drivers in kernel or > as modules > - after rebooting and getting the degraded RAID array and the > non-starting EVMS volume, I can get it running by doing the > following: > - start evmsn > - deactivate /dev/md0 and /dev/md1 > - save and quit > - (confirmed that both arrays are stopped in /proc/mdstat) > - start evmsn > - ensure that /dev/md0 and /dev/md1 have started again > - save and quit > - (confirm that both raid arrays are running in /proc/mdstat) > - mount now available volume > > I'm not sure if this is a RAID issue, an EVMS issue, a gentoo init > script issue, or what. If anyone has similar issues I'd really > appreciate it. > > System Details: > Kernel 2.6.15-gentoo-r1 > raid5/dm/sata_promise either compiled in or as modules > /dev/md1 (working) - 3 ide disks > /dev/md0 (broken ) - 1 ide disk and 2 SATA disks > > > -- > Alan <al...@uf...> - http://arcterex.net > -------------------------------------------------------------------- > "Backups are for people who don't pray." -- big Mike > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Evms-devel mailing list > Evm...@li... > To subscribe/unsubscribe, please visit: > https://lists.sourceforge.net/lists/listinfo/evms-devel -- Alan <al...@uf...> - http://arcterex.net -------------------------------------------------------------------- "Backups are for people who don't pray." -- big Mike |