panic: ffs_blkfree: freeing free block

Peter Jeremy peterjeremy at optushome.com.au
Wed Oct 3 12:56:50 PDT 2007


On 2007-Oct-03 15:21:15 +0200, Arjan van Leeuwen <avleeuwen at gmail.com> wrote:
>Also, I note that everytime I panic, my currently opened files are reduced
>to 0 bytes. Is that expected?

It depends, are you talking about files being read or only files being
written?  If this is just affecting writes, then this is a side-effect
of the stdio buffering, together with the write-back nature of the UFS
buffer cache in conjunction with soft-updates: Data on disk is
typically about 30 seconds behind reality and the file contents will
always be behind the file itself.  It is quite normal for recently
written files (or files currently being written) to be truncated on
disk following a crash.

-- 
Peter Jeremy
-------------- 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-current/attachments/20071003/0a51d70a/attachment.pgp


More information about the freebsd-current mailing list