From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>,
Gionatan Danti <g.danti@assyoma.it>
Subject: Re: [linux-lvm] lvmcache on non-lvm source?
Date: Tue, 14 Jan 2020 10:17:44 +0100 [thread overview]
Message-ID: <0fad9406-2354-50c2-7d0f-6f065d40ee91@redhat.com> (raw)
In-Reply-To: <4dd562cd-36ee-9960-58cf-8f504d4085ef@assyoma.it>
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
next prev parent reply other threads:[~2020-01-14 9:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-14 8:21 [linux-lvm] lvmcache on non-lvm source? Gionatan Danti
2020-01-14 9:17 ` Zdenek Kabelac [this message]
2020-01-14 10:47 ` Gionatan Danti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0fad9406-2354-50c2-7d0f-6f065d40ee91@redhat.com \
--to=zkabelac@redhat.com \
--cc=g.danti@assyoma.it \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).