From: jdd <jdd@dodin.org>
To: linux-bcache@vger.kernel.org
Subject: Re: reading an ex linux bcache disk
Date: Thu, 28 May 2015 12:01:42 +0200 [thread overview]
Message-ID: <5566E786.2000805@dodin.org> (raw)
In-Reply-To: <322068851.20150528150913@pvgoran.name>
Le 28/05/2015 11:09, Pavel Goran a écrit :
got it!
> echo 1 > /sys/block/sda/sda3/bcache/running
was the key :-)! thanks!
the manual says:
"make-bcache has the ability to format multiple devices at the same time"
but then:
To get started:
mkfs.ext4 /dev/bcache0
so the word "format" is not used always with the same meaning (for me,
formatting is creating a file system).
gladfully, make-bcache do *not* format the partition :-)
What I did:
* install a new system elsewhere (same distro I used with bcache).
kernel 3.16.7
install bcache-tools
make-bcache -B /dev/sda8 (the old bcache backing)
tried to find /sys/block/sda/bcache, but it do not exist. Your example
made me think the manual lacked a level, it have to be
sys/block/sda/sda8/bcache
echo 1 > /sys/block/sda/sda3/bcache/running
and then /dev/bcache0 shows up!
mount /dev/bcache0 /mnt allows me to access the files on the partition
so good, thanks!
jdd
prev parent reply other threads:[~2015-05-28 10:01 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
2015-05-28 9:24 ` jdd
2015-05-28 10:01 ` jdd [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=5566E786.2000805@dodin.org \
--to=jdd@dodin.org \
--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.