Thread (2 messages) 2 messages, 2 authors, 2016-02-09

How to use multiple backing devices

From: Nikolaus Rath <hidden>
Date: 2016-02-09 04:47:12

Hello,

If I'm understanding Documentation/bcache.txt correctly, I should be
able to use one SSD to cache multiple spinning disks.

However, I'm at a loss of how to set this up in practice. I believe I
need to do

  make-bcache -B /dev/sda  # spinning rust
  make-bcache -B /dev/sdb  # spinning rust 
  make-bcache -C /dev/sdc  # ssd

and then something like

  echo <CSET-UUID> > /sys/block/bcacheX/bcache/attach


But what do I have to put for X, and what for CSET-UUID? I believe for
at least one of those values I will have two options (because there are
two backing devices).


Thanks,
-Nikolaus

(No Cc on replies please, I'm reading the list)
-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help