Hi, Op 28/01/14 14:56 schreef Thierry De Leeuw <thierry@xxxxxxxxxxxx>: >The documentation at >http://evilpiepirate.org/git/linux-bcache.git/plain/Documentation/bcache.t >xt?h=bcache-dev >explains how to do it. > >Look at the "Getting started" and "ATTACHING" section. > >Bottom line to create one cache (sdc) and 2 backing (sda and sdb) >devices, use > >make-bcache -B /dev/sda /dev/sdb -C /dev/sdc And (from the same documentation) if you¹ve created (make-bcache) and registered the caching and backing devices separately, you can attach them like this: echo <CSET-UUID> > /sys/block/bcache0/bcache/attach echo <CSET-UUID> > /sys/block/bcache1/bcache/attach Assuming that /dev/sda and /dev/sdb have shown up as /dev/bcache0 and /dev/bcache1 as their bcached counterparts after registering, and <CSET-UUID> being the UUID of the cache device to be found in /sys/fs/bcache. Rolf > > >Best regards > >Thierry > > >On 01/28/2014 01:31 PM, Vasiliy Tolstov wrote: >> 2014-01-28 Rolf Fokkens<rolf@xxxxxxxxxxxxxx> >>> Op 27/01/14 21:38 schreef Patrick Zwahlen<paz@xxxxxxxxxxx>: >>> >>>> My understanding is that a single "cacheset" (in your case, your SSD) >>>>can >>>> be >>>> shared between multiple backing devices. >>>> >>>> You should be able to attach a single cacheset's UUID to multiple >>>>devices. >>>> >>>> Can anyone else confirm ? >>> Yep, confirmed! >>> >>> Rolf >> Can you explain for me how can i do that? >> >> > >-- >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 -- 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