Am Mon, 08 Feb 2016 20:47:10 -0800 schrieb Nikolaus Rath <Nikolaus@xxxxxxxx>: > 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). Create it in one go: make-bcache -C /dev/sdc -B /dev/sd{a,b} It will take away the hassle. Everything should be setup now. But if you want to do it manually: you have to run "echo" twice - for each X (the backing devices). CSET-UUID comes from /sys/fs/bcache where you will find a UUID per each bcache caching device, which is just one for your case. -- Regards, Kai Replies to list-only preferred. -- 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