Re: Can't enable writeback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17/08/13 22:56, Gabriel de Perthuis wrote:
I try to enable writeback:

    sudo echo writeback > /sys/block/bcache0/cache_mode

it returns the error

    bash: /sys/block/bcache0/cache_mode: No such file or directory
You're confusing bcache0 with bcache0/bcache

     echo writeback |sudo tee -a /sys/block/bcache0/bcache/cache_mode

will work.

Thanks, that works. The command I was originally trying to use is what is shown in the documentation at http://evilpiepirate.org/git/linux-bcache.git/tree/Documentation/bcache.txt. It has

    # echo writeback > /sys/block/bcache0/cache_mode

as the command to run.
--
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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux