因为我的笔记本有一个 SSD 和一个 HDD,我想使用 SSD 作为缓存,就像 Windows 中的快速存储一样。我发现 bcache 提供了这个功能,所以我决定尝试一下。
我通过 git 获得了 bcache 和 bcache-tools,然后按照以下指南进行操作:
http://evilpiepirate.org/git/linux-bcache.git/tree/Documentation/bcache.txt
Getting started:
You'll need make-bcache from the bcache-tools repository. Both the cache device
and backing device must be formatted before use.
make-bcache -B /dev/sdb
make-bcache -C -w2k -b1M -j64 /dev/sdc
Run Code Online (Sandbox Code Playgroud)
这是否意味着我必须格式化整个硬盘才能启用 bcache?