All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: dm-cache refusing to come up again after a crash
Date: Fri, 6 Dec 2013 20:53:10 +0100	[thread overview]
Message-ID: <20131206195310.GD9700@samfundet.no> (raw)
In-Reply-To: <20131206193541.GC9700@samfundet.no>

On Fri, Dec 06, 2013 at 08:35:41PM +0100, Steinar H. Gunderson wrote:
> root@ubuntu:~/thin-provisioning-tools# ./cache_check /dev/cache/metadata 

And I forgot:

root@ubuntu:~/thin-provisioning-tools# ./cache_dump /dev/cache/metadata
<superblock uuid="" block_size="512" nr_cache_blocks="865560" policy="cleaner" hint_width="4">
  <mappings>
    <mapping cache_block="0" origin_block="6118373" dirty="false"/>
    <mapping cache_block="1" origin_block="6118275" dirty="false"/>
    <mapping cache_block="2" origin_block="5934780" dirty="false"/>
[... lots of blocks, none of them dirty ...]
    <mapping cache_block="505877" origin_block="889613" dirty="false"/>
    <mapping cache_block="505878" origin_block="690575" dirty="false"/>
    <mapping cache_block="505879" origin_block="875752" dirty="false"/>
  </mappings>
  <hints>
cache_dump: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T*
boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T =
caching::hint_array]: Assertion `px != 0' failed.

The cleaner policy is not the one I actually use, but I have used it in the
past, so I guess it's stuck somehow.

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

  reply	other threads:[~2013-12-06 19:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-06 15:49 dm-cache refusing to come up again after a crash Steinar H. Gunderson
2013-12-06 17:57 ` Joe Thornber
2013-12-06 19:16   ` Steinar H. Gunderson
2013-12-06 19:35     ` Steinar H. Gunderson
2013-12-06 19:53       ` Steinar H. Gunderson [this message]
2013-12-07  0:16         ` Steinar H. Gunderson
2013-12-09 10:31       ` Joe Thornber
2013-12-09 10:28     ` Joe Thornber
2013-12-09 10:34       ` Steinar H. Gunderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131206195310.GD9700@samfundet.no \
    --to=sgunderson@bigfoot.com \
    --cc=dm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.