On Sun, Dec 05, 2004 at 05:09:44PM +0800, wkwu@FreeBSD.csie.NCTU.edu.tw
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041205/f9a3bd86/attachment.bin