* bcache refusing to come up again after a crash
@ 2013-12-06 14:41 Steinar H. Gunderson
2013-12-06 15:45 ` Matthias Ferdinand
0 siblings, 1 reply; 3+ messages in thread
From: Steinar H. Gunderson @ 2013-12-06 14:41 UTC (permalink / raw)
To: linux-bcache
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bcache refusing to come up again after a crash
2013-12-06 14:41 bcache refusing to come up again after a crash Steinar H. Gunderson
@ 2013-12-06 15:45 ` Matthias Ferdinand
2013-12-06 15:46 ` Steinar H. Gunderson
0 siblings, 1 reply; 3+ messages in thread
From: Matthias Ferdinand @ 2013-12-06 15:45 UTC (permalink / raw)
To: Steinar H. Gunderson; +Cc: linux-bcache
On Fri, Dec 06, 2013 at 03:41:17PM +0100, Steinar H. Gunderson wrote:
> 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
sorry I can't provide help on that. BTW this looks like dm-cache, not
bcache.
Matthias
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-06 15:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-06 14:41 bcache refusing to come up again after a crash Steinar H. Gunderson
2013-12-06 15:45 ` Matthias Ferdinand
2013-12-06 15:46 ` Steinar H. Gunderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox