[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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

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">
    <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"/>
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/

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]