From: Oliver Rath <rath@mglug.de>
To: lvm-devel@redhat.com
Subject: naming problem on cached devices
Date: Wed, 05 Feb 2014 10:44:50 +0100 [thread overview]
Message-ID: <52F20812.8010305@mglug.de> (raw)
Hi list,
i have a little problem here using (not only happen on lvm ;-) ) cached
devices:
I.e. i have a ssd named /dev/ssd and a standard disk /dev/sda1 to be
cached. If I now create i.e. a device /dev/mapper/cache0 (done by
dmsetup at the mom) and create there a pv, this pv exists twice (at ssd
and sda). If I then create a vg based on ssd, this vg exists twice, too.
This happens i.e. for flashcache device, too.
Is there a mechanism to avoid this doubling in an easy way? I know, you
can blind out devices with a filter argument in lvm.conf, but maybe
there are better possibilities.
There is another interesting case: If i want to cache an *existing* pv,
is it possiblie to change the *name* of this pv in a vg in a dynamic
way? I.e. if the vg "myvg" consists on /dev/sdc1, if now i create a
cache-device /dev/mapper/sdc1_cached, how can i transfer this name into
myvg instead of the original sdc1? Or is this the wrong question?
Tfh!
Oliver
next reply other threads:[~2014-02-05 9:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-05 9:44 Oliver Rath [this message]
2014-02-05 15:09 ` naming problem on cached devices Zdenek Kabelac
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=52F20812.8010305@mglug.de \
--to=rath@mglug.de \
--cc=lvm-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.