From: Greg Michalec <greg@primate.net>
To: linux-bcache@vger.kernel.org
Subject: Restoring/Disabling bcache
Date: Sat, 05 Apr 2014 16:58:23 -0700 [thread overview]
Message-ID: <5340989F.5040300@primate.net> (raw)
Hi -
Apologies in advance for asking a noob question, but I couldn't find
this information anywhere.
0 down vote favorite
I have a 20 gb SSD device on my laptop that i decided to try bcache on.
I followed the instructions to convert my /home (ext4) to use bacache,
and it worked fine. It seemed to work, but for some time now, I've been
getting an error on boot:
error on 0f3bbb55-6839-4ed6-8127-7976a969f726: corrupted btree at bucket
17571, block 483, 61 keys, disabling caching
I figure I could try and repair this, but I've decided I'm probably
better off just disabling bcache - I don't know enough about this to
risk losing data/hair if something breaks, and I think I'd be better off
using the partition as root/swap.
My question is, is there a way to safely stop using bcache without
reformatting the backing device? Is it as simple as restoring the ext4
superblock and unregistering the device? (Note, the filesystem on /home
seems to be fine - i think it's just disabling the caching)
I am using /dev/sda7 as my backing device, and /dev/sdb2 as the caching
device (/dev/sdb1 is root).
If it matters, I'm running Ubuntu 14.04 with kernel 3.13.0-21-generic.
Here's a link to this question on stackoverflow, if you'd like to answer
there for posterity - otherwise I'll post what ever info you respond with.
http://stackoverflow.com/questions/22820492/how-to-disable-bcache-on-device
Thank you!
--greg michalec
reply other threads:[~2014-04-05 23:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=5340989F.5040300@primate.net \
--to=greg@primate.net \
--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 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.