Re: How to create bcachefs?
From: Kent Overstreet <hidden>
Date: 2016-08-25 08:28:15
On Wed, Aug 24, 2016 at 04:12:22PM -0700, Eric Wheeler wrote:
On Wed, 24 Aug 2016, marcin@mejor.pl wrote:quoted
W dniu 24.08.2016 o 08:52, Kent Overstreet pisze: [...] Hi!quoted
Hey, sorry for the long delay, been sick past several days.I was afraid that I'm asking to easy question:) And I hope everything is fine with you now!quoted
The way arguments were passed to bcache format was a holdover from old style make-bcache, and didn't make much sense for bcachefs - -C was used for all devices, and --tier specifies fast devices and slow devices. I finally got around to redoing the option parsing so we don't need the -C argument today - update your bcache tools, and the command you want is now: bcache format --tier 0 /dev/sde1 --tier 1 /dev/sdd1Neat! How many performance tiers are (will be) supported? Arbitrary?
Currently the code just handles two, but the on disk format allows for up to 16.