Re: Replacing the caching device (SSD) of a bcache set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux