LVM can now use fast block devices (e.g. SSDs and PCIe Flash) to improve the performance of larger but slower block devices. These hierarchical or layered logical volumes are called "Cache Logical Volumes" in LVM.
LVM is now capable of using fast block devices (e.g. SSDs) as write-back or write-though caches for larger slower block devices. Users can create cache logical volumes to improve the performance of their existing logical volumes or create new cache logical volumes composed of a small and fast device coupled with a large and slow device. These cache logical volumes can be used with most LVM segment types, including RAID 1/4/5/6/10, linear, stripe and thin pools.
Users will have the advantage of fast block device speeds with the capacity of larger but slower block devices.
The LVM team must deliver the lvm2 package implementing cache LV (already included in release 2.02.106)
The Anaconda team must develop a UI for configuring cache LVs during installation. If Anaconda support is not provided, users will have to configure cache LVs after installation or by dropping into a command line. Also, Anaconda could fail if installing a new OS onto an existing cache LV if support is not provided.
The dracut team must provide boot support. If dracut does not provide support, cache LVs will not be usable as root devices.
It is not strictly necessary to have SSDs or other fast block devices. You can use any block device as the cache for any other block device - even if they are the same device, as long as there is enough space! While you may not see the benefits of this arrangement without a fast device, it is still possible to check for correct functionality (i.e. can the cache LV be created, removed, resized, renamed, or changed? is there any corruption? etc).
If Anaconda has support for LVM cache logical volumes, users will be able to configure them at install time. Otherwise, it is possible to convert existing logical volumes to cache logical volumes once the system has been installed.
Information on how to setup cache logical volumes can be found in the lvm(8) man page.
Users will enjoy the increased speed of disk storage while keeping capacity of HDD.
This is a community maintained site. Red Hat is not responsible for content.
© 2025 Red Hat, Inc. and others. Content is available under Attribution-Share Alike 4.0 International unless otherwise noted.
Fedora is sponsored by Red Hat. Learn more about the relationship between Red Hat and Fedora ยป