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.


Hi

You can't use lvm2 on 'raw' device - we do require PV headers to stay correct.

BUT

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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Reply via email to