public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
From: Gabriel de Perthuis <g2p.code-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: software raid and bcache
Date: Wed, 3 Jul 2013 16:41:14 +0000 (UTC)	[thread overview]
Message-ID: <kr1k7a$v4m$1@ger.gmane.org> (raw)
In-Reply-To: CACaajQuSFAu9i-EzNfEnfDpCwzAf4OHR8vxk5ZtjaaRS75Tz7g@mail.gmail.com

On Wed, 03 Jul 2013 19:43:55 +0400, Vasiliy Tolstov wrote:
> Hello. I'm newbie with bcache and stuck at drive configuration.
> Now i have 1 sata 3Tb disk and one 240Gb ssd eMLC disk. I want to
> create from 1 sata disk raid1 with missing 1 drive (i want to able to
> sync pre failed sata disk with new by remove ssd disk and add sata)
> 
> What steps i need to do?

Hello,

You could use `blocks to-lvm`[1] to convert your large disk to lvm,
and then `blocks to-bcache` to convert the lvm volume to bcache.
The lvm conversion will allow you to migrate the data off the
prefailed disk later, either by moving it (pvmove) or by converting
to raid1 (lvconvert).

The blocks README should guide you through converting.  Right now it
doesn't include instructions on attaching the slow backing device to
the SSD cache device, I'll see about adding that, or you can refer
to the ATTACHING section of [2].

[1] https://github.com/g2p/blocks
[2] http://atlas.evilpiepirate.org/git/linux-bcache.git/tree/Documentation/bcache.txt?h=bcache-dev

  parent reply	other threads:[~2013-07-03 16:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03 15:43 software raid and bcache Vasiliy Tolstov
     [not found] ` <1372868105.17096.YahooMailNeo@web181504.mail.ne1.yahoo.com>
     [not found]   ` <1372868105.17096.YahooMailNeo-XYahOdtEMNkbWpotXP+qY5OW+3bF1jUfVpNB7YpNyf8@public.gmane.org>
2013-07-03 16:23     ` Vasiliy Tolstov
2013-07-03 16:41 ` Gabriel de Perthuis [this message]
2013-07-03 16:50   ` Vasiliy Tolstov
2013-07-03 16:56     ` Gabriel de Perthuis
     [not found]     ` <CACaajQv2A8XkOpmwYU47qCwPVXKsTR+T=ETA5AA701bOr=767w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-07-03 17:02       ` Jason Warr
     [not found]         ` <51D45919.40400-/cow75dQlsI@public.gmane.org>
2013-07-03 17:15           ` Vasiliy Tolstov
     [not found]             ` <CACaajQsSL6kdjgWhr+v9QxAKdPK=UvUd6NUn7YDESjYYJ_tiDQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-07-03 17:40               ` Jason Warr
     [not found]                 ` <51D4621A.505-/cow75dQlsI@public.gmane.org>
2013-07-03 17:57                   ` Vasiliy Tolstov
2013-07-03 18:03                     ` Gabriel de Perthuis
2013-07-03 18:17                       ` Vasiliy Tolstov

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='kr1k7a$v4m$1@ger.gmane.org' \
    --to=g2p.code-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.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