[linux-lvm] lvmcache on non-lvm source?

Gionatan Danti g.danti at assyoma.it
Tue Jan 14 10:47:44 UTC 2020

On 14/01/20 10:17, Zdenek Kabelac wrote:
> Hi
> 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.
> See: linux/Documentation/admin-guide/device-mapper/
> (or simply google it)  how to use individual targets with just dmsetup
> Regard
> Zdenek

Hi Zdenek, thank you for the clear reply.

I know I can directly use dm-cache but, from a support standpoint, it 
would really like to avoid it.

I would rather create a PV on the raw block device.

Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti at assyoma.it - info at assyoma.it
GPG public key ID: FF5F32A8

More information about the linux-lvm mailing list