From: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
To: linux-bcache@vger.kernel.org
Subject: bcache refusing to come up again after a crash
Date: Fri, 6 Dec 2013 15:41:17 +0100 [thread overview]
Message-ID: <20131206144117.GA24123@samfundet.no> (raw)
Hi,
Linux (3.12.0-rc5) hung, and on boot, I can't get the bcache up again:
(initramfs) echo 0 23440891904 cache /dev/cache/metadata /dev/cache/blocks /dev/md1 1024 1 writeback default 4 random_threshold 8 sequential_threshold 512 | dmsetup create cache -u CACHE-0a8bb56fc873c195bf7117af925c7f08
device-mapper: reload ioctl on cache failed: Input/output error
Command failed
The kernel complains with
[ 639.189756] attempt to access beyond end of device
[ 639.189761] dm-0: rw=0, want=18445688752888627208, limit=1048576
[ 639.189764] device-mapper: transaction manager: couldn't open metadata space map
[ 639.189767] device-mapper: cache metadata: tm_open_with_sm failed
[ 639.283130] device-mapper: table: 254:2: cache: Error creating metadata object
[ 639.283134] device-mapper: ioctl: error adding target to table
Is there anything I can do short of nuking the metadata partition
and taking the loss of whatever wasn't written back?
/* Steinar */
--
Homepage: http://www.sesse.net/
next reply other threads:[~2013-12-06 14:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-06 14:41 Steinar H. Gunderson [this message]
2013-12-06 15:45 ` bcache refusing to come up again after a crash Matthias Ferdinand
2013-12-06 15:46 ` 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=20131206144117.GA24123@samfundet.no \
--to=sgunderson@bigfoot.com \
--cc=linux-bcache@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox