Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Dec 2009 10:57:58 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD is too filesystem errors sensitive
Message-ID:  <hfl7v5$f9j$1@ger.gmane.org>
In-Reply-To: <4B1DF953.4050504@sprinthost.ru>
References:  <4B1DF953.4050504@sprinthost.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
cronfy wrote:
> Hello.
> 
> Please forgive me for probably a very stupid question. But why is 
> FreeBSD so sensitive to filesystem errors that it ends up with panics 
> like 'freeing free block' or 'ffs_valloc: dup alloc'? I just can't get 
> it. Failed to allocate vnode? Go allocate another one! Freeing free 
> block? Leave it free then! I understand these situations should never 
> happen, but the hell why is it required to panic and kill everything 
> that would be working happily even if something very disasterous happen 
> to /backup partition, in example?
> 
> Would be very appreciated if someone could explain that... thanks.

Probably because UFS is not designed to be a backup file system but a 
working one :)

All those errors indicate file system corruption. To protect other data 
from getting corrupted (e.g. by invalid pointers or calculations), the 
kernel panics.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hfl7v5$f9j$1>