This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Bcache

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
This page contains changes which are not marked for translation.
This article is a stub. You can help by expanding it.

Bcache is a Linux kernel block layer cache. It allows one or more fast disk drives such as flash-based solid state drives (SSDs) to act as a cache for one or more slower disk drives.

Installation

Kernel

Activate the following kernel options:

KERNEL Enable block device support in the Kernel (CONFIG_BCACHE)
Device Drivers --->
   Multiple devices driver support (RAID and LVM) --->
      <*>   Block device as cache

Emerge

Install sys-fs/bcache-tools:

root #emerge --ask sys-fs/bcache-tools

See also

  • bcachefs - A next generation, robust, high performance filesystem supporting CoW, compression, and encryption.

External resources