Thread (10 messages) 10 messages, 3 authors, 2016-05-20

Re: bcachefs with cache device and backing device

From: Martin McClure <hidden>
Date: 2016-05-20 00:41:11

On 05/17/2016 10:41 PM, Kent Overstreet wrote:
Actually, I just tested and mounting multile devices directly _does_ work - you
just pass a colon separated list of devices to mount:

mount -t bcache /dev/sdb:/dev/sdc /mnt

I could have sworn this was broken, but worked just now...
This works for me. Thanks for the feedback!

For any others wanting to walk this path in the near future, here's the
entire sequence that is working for me (as of kernel and tools pulled on
2016-05-13):

  bcache format --tier 0 --bucket=512k --cache_mode=writeback \
      -C /dev/nvme0n1 \
      --tier 1 -C /dev/sdd1

  echo /dev/sdd1 > /sys/fs/bcache/register
  echo /dev/nvme0n1 > /sys/fs/bcache/register
  mount -t bcache /dev/nvme0n1:/dev/sdd1 /mnt/whatever

Regards,

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