From: Zdenek Kabelac <zdenek.kabelac@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>,
Oliver Rath <rath@mglug.de>
Subject: Re: [linux-lvm] lvm.conf parameter for PVs to use for lvcreate ?
Date: Mon, 29 May 2017 20:32:48 +0200 [thread overview]
Message-ID: <2081009f-2975-a93e-9fee-085b96f36b89@gmail.com> (raw)
In-Reply-To: <4857621d-c73a-081f-5264-cee196ddc6b2@mglug.de>
Dne 23.5.2017 v 17:57 Oliver Rath napsal(a):
> Hi list,
>
> if I use mulitiple PVs, Im able to select these PVs which should be used
> by my lv, i.e.
>
> lvcreate --size 10G --name mylv myvg /dev/sda3 /dev/sdb3
>
> Is it possible to set these "/dev/sda3 /dev/sdb3" as default in lvm.conf
> if nothing is explicitly given?
>
You can set which PV is not 'allocatable'
(see 'man pvchange --allocatable)
This should be approximately what you want aim to have.
Regards
Zdenek
prev parent reply other threads:[~2017-05-29 18:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-23 15:57 [linux-lvm] lvm.conf parameter for PVs to use for lvcreate ? Oliver Rath
2017-05-29 18:32 ` Zdenek Kabelac [this message]
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=2081009f-2975-a93e-9fee-085b96f36b89@gmail.com \
--to=zdenek.kabelac@gmail.com \
--cc=linux-lvm@redhat.com \
--cc=rath@mglug.de \
/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).