From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 26 Jul 2011 09:53:05 +0200 From: David du Colombier <0intro@gmail.com> To: 9fans@9fans.net Message-ID: <20110726095305.6c9ce878@wks-ddc.exosec.local> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [9fans] fossil file system corrupts after a power cut Topicbox-Message-UUID: 07082622-ead7-11e9-9d60-3106f5b1d025 > fossil/flfmt -v da39a3ee5e6b4b0d3255bfef95601890afd80709 /dev/sdC0/fossil > fatal error: corrupted root: vtRootUnpack This Venti score is wrong. This is the Venti score returned by an empty Fossil file system. That's why it cannot be found in Venti. > /boot/fossil: cacheLocalData: addr=1 type got 0 exp 8: tag got 0 exp 1 > /boot/fossil: fsOpen error fsOpen: block label mismatch fsys main The type VtDataType was returned instead of VtDirType and the tag BadTag was returned instead of RootTag. Obviously, something got wrong. It looks like your virtual hard disk image was corrupted because of the the power outage. Especially since you used the dynamically-growing qcow2 image format. You should make another hard disk image and rebuild Fossil from your last Venti score. Since this score cannot be found in your Fossil super block, you should extract a list of your Vac scores from your Venti server with the script /sys/src/cmd/venti/words/dumpvacroots. -- David du Colombier