Thread (2 messages) 2 messages, 2 authors, 2015-07-07

Re: attching with multiple backing devices

From: Denis Bychkov <hidden>
Date: 2015-07-07 19:03:59

Hi,

By running this command you tell bcache you want the backing device
associated with a particular cache set (currently only one cache set
is
supported, but nevermind), so yes, you run it 12 times feeding it 12
different UUIDs. Until you register a backing device, it won't be
associated with any cache set, so despite being perfectly accessible
it will be working in a pass-through mode.

On Fri, Jul 3, 2015 at 5:02 PM, Donald Pearson
[off-list ref] wrote:
The example information I've been able to find isn't clear on proper
implementation with multiple backing devices.  The following is an
exerpt from the documentation.  I have 12 backing devices (bcache0 -
bcache11).. do I run this just once against any one of the 12, one of
the 12 in particular, or do I run this 12 times, once for each of the
12 backing devices that I want cached?

ATTACHING:

After your cache device and backing device are registered, the backing device
must be attached to your cache set to enable caching. Attaching a backing
device to a cache set is done thusly, with the UUID of the cache set in
/sys/fs/bcache:

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

Regards,
Donald
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


-- 

Denis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help