LVM + EXT4 metadata pool recommended size

LVM cache comes in two tastes:

  1. hot spot cache, which is a read cache for the blocks most used by the filesystem. This isn’t filesystem specific. The heuristiek is simply: which blocks are being read the most, this blocks are being mirrored in the cache.
  2. write cache, which simply handle the word and pass it later in to the hdd.

Since this solution is filesystem agnostic, it’s an additional layer of complexity. Solving only a part of your problem: file deletions aren’t optimized by the read cache.

So again, look for ZFS or bcachefs if you are going to convert to another setup.

Look also here: Best filesystem for storj

4 Likes