From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Steinar H. Gunderson" Subject: Re: dm-cache refusing to come up again after a crash Date: Fri, 6 Dec 2013 20:35:41 +0100 Message-ID: <20131206193541.GC9700@samfundet.no> References: <20131206154914.GE25206@samfundet.no> <20131206175712.GD23496@debian> <20131206191605.GA9700@samfundet.no> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20131206191605.GA9700@samfundet.no> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids 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@ubuntu:~/thin-provisioning-tools# ./cache_check /dev/md1 > examining superblock > superblock is corrupt > bad checksum in superblock Sorry, wrong device: root@ubuntu:~/thin-provisioning-tools# ./cache_check /dev/cache/metadata examining superblock examining mapping array no hint array present examining discard bitset root@ubuntu:~/thin-provisioning-tools# echo $? 0 Does that mean it ought to have worked better? :-) /* Steinar */ -- Homepage: http://www.sesse.net/