[linux-lvm] lvmcache on non-lvm source?
zkabelac at redhat.com
Tue Jan 14 09:17:44 UTC 2020
Dne 14. 01. 20 v 9:21 Gionatan Danti napsal(a):
> Hi all,
> I have a question: can lvmcache be used to cache non-lvm source (ie: a raw
> block device)?
> From the lvmcache man page I would say no; however, a direct confirmation
> will be helpful.
You can't use lvm2 on 'raw' device - we do require PV headers to stay correct.
Clearly you can use 'dm-cache' target with 'dmsetup' utility and maintain the
correctness of devices & activation yourself.
(or simply google it) how to use individual targets with just dmsetup
More information about the linux-lvm