[dm-devel] dm-cache refusing to come up again after a crash

Steinar H. Gunderson sgunderson at bigfoot.com
Fri Dec 6 19:35:41 UTC 2013


On Fri, Dec 06, 2013 at 08:16:05PM +0100, Steinar H. Gunderson wrote:
> Well, first of all, it doesn't compile, since you use typename outside of
> templates :-) Fixing that is easy, though. But afterwards:
> 
> root at ubuntu:~/thin-provisioning-tools# ./cache_check /dev/md1
> examining superblock
>   superblock is corrupt
>     bad checksum in superblock

Sorry, wrong device:

root at ubuntu:~/thin-provisioning-tools# ./cache_check /dev/cache/metadata 
examining superblock
examining mapping array
no hint array present
examining discard bitset
root at ubuntu:~/thin-provisioning-tools# echo $?
0

Does that mean it ought to have worked better? :-)

/* Steinar */
-- 
Homepage: http://www.sesse.net/




More information about the dm-devel mailing list