buffers not syncing correctly during shutdown

Alexander Best alexbestms at math.uni-muenster.de
Wed Oct 14 10:49:57 UTC 2009


hi there,

to keep it short:

1. mount a removable device (e.g. an usb stick) (better use -r to prevent data
loss)
2. unplug the device (without unmounting it)
3. `shutdown -r now`

what happens is that the usual shutdown routine gets processed until all
buffers are synced, but then the system stalls.

after resetting the system all devices (which were supposed to be synced) are
marked dirty and are being fsck'ed.

cheers.
alex

oh...and i'm running FreeBSD otaku 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r197914:
Sat Oct 10 02:58:19 CEST 2009     root at otaku:/usr/obj/usr/src/sys/ARUNDEL
i386


More information about the freebsd-current mailing list