mirror of
git://sourceware.org/git/lvm2.git
synced 2025-10-07 15:33:21 +03:00
A cache device is a special PV that is added to a VG to be used for caching, and not for allocating standard LVs. A cache device (CD) is used to create a cache volume. A cache volume (CV) is a special LV that can be attached to a standard LV to do caching. Terminology: PV used for caching = cache device = cachedev = CD LV used for caching = cache volume = cachevol = CV PV metadata for a cachedev includes the CACHEDEV flag. LV metadata for a cachevol includes the CACHEVOL flag. A cachedev is added to a VG with: vgextend --cachedev VG PV The --cachedev option tells lvm that the PV should be added to the VG as a cache device, not a standard PV. (cache volumes are added by the following commit)