public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
From: Kent Overstreet <kmo-PEzghdH756F8UrSeD/g0lQ@public.gmane.org>
To: Josep Lladonosa <jlladono-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Replacing the caching device (SSD) of a bcache set
Date: Thu, 8 Aug 2013 17:25:50 -0700	[thread overview]
Message-ID: <20130809002550.GE15409@kmo-pixel> (raw)
In-Reply-To: <CAPBO7TbPW5thQt04kUm6gzHqAJna+2pvKU5rnwLVGc7DdBdMvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Thu, Aug 08, 2013 at 02:17:24PM +0200, Josep Lladonosa wrote:
> Hello,
> 
> I am running a root file system (/) in a bcache set (/dev/sda3 as the
> backing device and /dev/sdb -the SSD- as the caching device).
> 
> I want to replace the caching device with another hardware.
> 
> The question is, which is the best procedure to replace it? I was thinking
> about:
> 
> - turn off computer.
> - replace SSD with the new one.
> - turn on computer.
> 
> It seems to me very simple, perhaps too much. Does it need any other
> step? Reattaching?

Oh, for reattaching - after you boot up with the new SSD, you'll format
it and register it, then reattach

ls /sys/fs/bcache to get the new cache set UUID

echo <uuid> /sys/block/bcache0/bcache/attach

  parent reply	other threads:[~2013-08-09  0:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-08 12:17 Replacing the caching device (SSD) of a bcache set Josep Lladonosa
     [not found] ` <CAPBO7TbPW5thQt04kUm6gzHqAJna+2pvKU5rnwLVGc7DdBdMvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-09  0:18   ` Kent Overstreet
2013-08-09  0:25   ` Kent Overstreet [this message]
2013-08-11  9:28     ` Josep Lladonosa
     [not found]       ` <CAPBO7TYh36a1ON=4zT6qvwQYAwsOy5KAu0qQLNMtLP9+ySdoMA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-11 10:13         ` Huub Bouma
     [not found]           ` <520763C3.9080605-CuspTiYYhYk@public.gmane.org>
2013-08-11 11:19             ` Josep Lladonosa
     [not found]               ` <CA+res+TDPvuqj1A=6OznPRyA+OZnfHSo7=d=82gTrELaby7vPg@mail.gmail.com>
     [not found]                 ` <CA+res+TDPvuqj1A=6OznPRyA+OZnfHSo7=d=82gTrELaby7vPg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-12  8:21                   ` Josep Lladonosa

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=20130809002550.GE15409@kmo-pixel \
    --to=kmo-pezghdh756f8ursed/g0lq@public.gmane.org \
    --cc=jlladono-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