Bcache

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[edit | edit source]

Kernel[edit | edit source]

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[edit | edit source]

Install sys-fs/bcache-tools:

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

See also[edit | edit source]

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

External resources[edit | edit source]

  • Howto bcache - A Gentoo Forums thread on using bcache.
  • Arch wiki - The Bcache article on found on the Arch wiki.
  • Patrick's Blog - Patrick Lauer (Patrick) , a Gentoo developer, wrote a few short entries on his blog concerning the use of bcache and a multi-disk SATA array back in September, 2014. Read about it here.
  • Pommi's blog - SSD caching using Linux and bcache - A 2013 blog entry containing details of setting up bcache.
This article is issued from Gentoo. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.