Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: sages on March 11, 2005, 03:40:34 AM

Title: powstatd and software raid
Post by: sages on March 11, 2005, 03:40:34 AM
Has anyone used powstatd with software raid on an SME system?
I have an issue when the system shutsdown after a power failure. It appears that the UPS is shutdown before the raid volume has been unmounted. Subsequantly on power up the raid needs to resync.
I can probably adjust the shutdown timing to try and resolve this but would prefer to solve it with some definite logic.
Title: powstatd and software raid
Post by: raem on March 13, 2005, 05:19:26 AM
Have you tried the tip from the HOWTO ?
http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/powstatd%20HOWTO%20for%20sme%20server.htm

pico /etc/rc.d/init.d/powstatd
find the line that reads
powstatd -k
(it's about 10 lines from the end)
Add an & to the end of the powstatd -k command making the line read
powstatd -k &
Title: powstatd and software raid
Post by: sages on March 13, 2005, 05:31:10 AM
allready has the powstatd -k &

I'll have to try a UPS shutdown while monitoring what is going on.
Title: Re: powstatd and software raid
Post by: CharlieBrady on March 13, 2005, 04:33:04 PM
Quote from: "sages"
Has anyone used powstatd with software raid on an SME system?


Have you tried nutUPS?