From: Matthias Ferdinand <bcache@mfedv.net>
To: Thierry De Leeuw <deleeuw.thierry@gmail.com>
Cc: linux-bcache@vger.kernel.org
Subject: Re: /dev/bcache* missing after reboot
Date: Thu, 5 Dec 2013 16:37:49 +0100 [thread overview]
Message-ID: <20131205153749.GA1848@teapot> (raw)
In-Reply-To: <9FA7630E-7DC4-4F45-B5E1-FFFB511EFA8B@gmail.com>
[already sent 2 days ago, but did not appear on the list]
On Mon, Dec 02, 2013 at 11:36:47PM +0100, Thierry De Leeuw wrote:
> Hi,
>
> Running Linux 3.12.1. I have disk /dev/sda2 with LVM that has, amongst
> other, lvHome as a bcache device, and the cache resides on /dev/sdb1
>
> My PC hung and I had to do a forced shutdown.
>
> Now the /dev/bcache0 (and so on) do not appear anymore.
Perhaps you need to re-register / re-attach the backing device to the
caching device, something like
echo /dev/dm-xx > /sys/fs/bcache/register
echo yyyyyyy > /sys/devices/virtual/block/dm-xx/bcache/attach
If that does not help, you can try to force starting the bcache backing
device without the caching device (might give you serious fs damage with
writeback):
echo "1" > /sys/devices/virtual/block/dm-xx/bcache/running
But since you are using LVM, you might want to create a snapshot of the
backing device LV before doing this, just in case.
Regards
Matthias
prev parent reply other threads:[~2013-12-05 15:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-02 22:36 /dev/bcache* missing after reboot Thierry De Leeuw
2013-12-05 15:37 ` Matthias Ferdinand [this message]
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=20131205153749.GA1848@teapot \
--to=bcache@mfedv.net \
--cc=deleeuw.thierry@gmail.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;
as well as URLs for NNTP newsgroup(s).