Koozali.org: home of the SME Server

powstatd and software raid

Offline sages

  • *
  • 190
  • +0/-0
    • http://www.sages.com.au
powstatd and software raid
« 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.
...

Offline raem

  • *
  • 3,972
  • +4/-0
powstatd and software raid
« Reply #1 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 &
...

Offline sages

  • *
  • 190
  • +0/-0
    • http://www.sages.com.au
powstatd and software raid
« Reply #2 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.
...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: powstatd and software raid
« Reply #3 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?