Re: Raid 1 fails on every reboot?

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

 




----- Original Message ----- From: "John McMonagle"
So here is my problem.
Any time I reboot only the partitions on the first drive are active.
If I switch drives it's always the first one that is active.

I'm not sure about scsi drives, but for RAID-1 IDE drives I find that I have to add a -h argument to the halt script.


The last lines of:
/etc/init.d/halt

are:

HALTARGS="-i -d -h"
[ -f /poweroff -o ! -f /halt ] && HALTARGS="$HALTARGS -p"

exec $command $HALTARGS


What I have found is that by adding a -h (man halt: Put all harddrives on the system in standby mode just before halt or poweroff), this somehow flushes the drives and I don't have rebuild problems upon reboot. However, this works for FC 1 systems and I do not know if this is still neccessary for other distros.


-Eric Wood


- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux