On Sun, Jun 04, 2017 at 06:55:09PM -0700, Marc MERLIN wrote: > gargamel:/sys/block/bcache1/bcache# echo 1 > stop > returned nothing. > Actually I was kind of expecting a note in my logs that the cache had > been stopped, but eh, at least no errors :) Right, but now how do I re-enable my cache? I can't seem to. gargamel:/sys/block/md8# ls bcache ls: cannot access 'bcache': No such file or directory gargamel:/sys/block/bcache1# l total 0 drwxr-xr-x 8 root root 0 Jun 4 18:53 ./ drwxr-xr-x 15 root root 0 Jun 4 18:53 ../ -r--r--r-- 1 root root 4096 Jun 4 18:53 alignment_offset -rw-r--r-- 1 root root 4096 Jun 4 18:53 badblocks lrwxrwxrwx 1 root root 0 Jun 4 18:53 bcache -> ../md8/bcache lrwxrwxrwx 1 root root 0 Jun 4 18:53 bdi -> ../../bdi/252:16/ gargamel:/sys/block/bcache1# l ../md8/bcache ls: cannot access '../md8/bcache': No such file or directory echo /dev/md8 > 4a46e74d-0376-41e7-aff4-0a0497b9e3c5/unregister gargamel:/sys/block/bcache1/bcache# echo /dev/md8 > /sys/fs/bcache/register bcache: register_bcache() error opening /dev/md8: device already registered Looks like stop doesn't unregister the device, I can't re-register it, nor restart it. Or am I missing something? I'd love not to have to reboot to recover :) Thanks, Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | PGP 1024R/763BE901 -- 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