* [linux-lvm] lvmcache on non-lvm source?
@ 2020-01-14 8:21 Gionatan Danti
2020-01-14 9:17 ` Zdenek Kabelac
0 siblings, 1 reply; 3+ messages in thread
From: Gionatan Danti @ 2020-01-14 8:21 UTC (permalink / raw)
To: LVM general discussion and development
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.
Thanks.
--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti@assyoma.it - info@assyoma.it
GPG public key ID: FF5F32A8
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] lvmcache on non-lvm source?
2020-01-14 8:21 [linux-lvm] lvmcache on non-lvm source? Gionatan Danti
@ 2020-01-14 9:17 ` Zdenek Kabelac
2020-01-14 10:47 ` Gionatan Danti
0 siblings, 1 reply; 3+ messages in thread
From: Zdenek Kabelac @ 2020-01-14 9:17 UTC (permalink / raw)
To: LVM general discussion and development, Gionatan Danti
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] lvmcache on non-lvm source?
2020-01-14 9:17 ` Zdenek Kabelac
@ 2020-01-14 10:47 ` Gionatan Danti
0 siblings, 0 replies; 3+ messages in thread
From: Gionatan Danti @ 2020-01-14 10:47 UTC (permalink / raw)
To: Zdenek Kabelac, LVM general discussion and development
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.
>
> 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
>
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.
Thanks.
--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti@assyoma.it - info@assyoma.it
GPG public key ID: FF5F32A8
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-01-14 10:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-14 8:21 [linux-lvm] lvmcache on non-lvm source? Gionatan Danti
2020-01-14 9:17 ` Zdenek Kabelac
2020-01-14 10:47 ` Gionatan Danti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).