On Sun, Dec 05, 2004 at 05:09:44PM +0800, [EMAIL PROTECTED] wrote:
> Our system needs several hours to fsck the disks after panic.
> 
> Is is possible to sync the disks before kernel panic?

sysctl kern.sync_on_panic=1

Disabled by default because it's usually more trouble than it's worth
(if your system is panicking, that means something has gone terribly
wrong, and it may not be possible to sync without causing further
damage).  In real terms, this means that you'll likely get another
panic when the kernel tries to sync when it panics, and this can
obscure things like stack tracebacks and panic messages that are
useful for tracking down the cause of the problem.

Kris

Attachment: pgpNKwaHOzfnj.pgp
Description: PGP signature

Reply via email to