public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Goran <via-bcache@pvgoran.name>
To: linux-bcache@vger.kernel.org
Subject: Re: reading an ex linux bcache disk
Date: Thu, 28 May 2015 15:09:13 +0600	[thread overview]
Message-ID: <322068851.20150528150913@pvgoran.name> (raw)
In-Reply-To: <5566BEE5.4020108@dodin.org>

Hello jdd,

Thursday, May 28, 2015, 1:08:21 PM, you wrote:

> Hello,

> I have the following problem.

> I used bcache on a computer with one hard drive and one small ssd.

> (openSUSE 13.2)

> this computer broke, it do not boot anymore. I could only recover the 
> hard drive that seems perfectly working - I can read all the partitions 
> but the bcache one.

> is there any way to read the bcache partition content? As far as I know, 
> the computer was shut down properly (it broke because somebody walked on 
> it :-).

You  can  access  the  contents  of  the  bcache  volume without using a cache
partition  at all. All you'll need is a kernel that supports bcache and one or
two  commands  from  the  terminal.  I don't have time to go into details, but
probably it will be something like:

echo 1 > /sys/block/sda/sda3/bcache/running

(Taken  from https://wiki.archlinux.org/index.php/Bcache, you may want to look
there   or  at  https://www.kernel.org/doc/Documentation/bcache.txt  for  more
information.)

Pavel Goran
  

  parent reply	other threads:[~2015-05-28  9:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-28  7:08 reading an ex linux bcache disk jdd
     [not found] ` <CAPBO7Ta2fHeS2eZaxvoTVBhEuukL=Mux7bZEvMCdcwpLJzSZvA@mail.gmail.com>
2015-05-28  7:38   ` jdd
2015-05-28  9:09 ` Pavel Goran [this message]
2015-05-28  9:24   ` jdd
2015-05-28 10:01   ` jdd

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=322068851.20150528150913@pvgoran.name \
    --to=via-bcache@pvgoran.name \
    --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