Subject: reboot vs shutdown -r
To: NetBSD-current <current-users@NetBSD.org>
From: Marcin Jessa <lists@yazzy.org>
List: current-users
Date: 02/13/2006 11:38:09
Hi guy.

I wondered if reboot could be made "RAID safe" ?
http://www.netbsd.org/guide/en/chap-rf.html#chap-rf-moving-files
says to allways use shutdown since "reboot will not properly run
shutdown RC scripts and will not safely disable swap. This will cause
dirty parity at every reboot."
It seems like my RAID1 on two SATA drives was damaged after I
accidently used reboot instead of shutdown -r. My kernel panics trying
to read raid drives after boot. The reason I typed reboot was just
becouse I allways used to and I forgot RAID would need shutdown instead.


Cheers,
Marcin.