From: Timofey Koolin <timofey@koolin.ru>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Usable space in PV
Date: Wed, 30 Sep 2015 18:28:11 +0300 [thread overview]
Message-ID: <560BFF8B.7030006@koolin.ru> (raw)
Task: calc usable space of PV before create PV and before create
partition for PV.
In my experiments usable space in PV = PVSize / ExtentSize * ExtentSize
with integer operations.
But when Metadata may be large - when LVM have a lot of logical volumes
and it can take more space.
I found in /etc/lvm/lvm.conf parameter pvmetadatasize = 255 secotors
(default).
What will if metadata will grow to more then 255 sectors?
--
Timofey Koolin
next reply other threads:[~2015-09-30 15:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-30 15:28 Timofey Koolin [this message]
2015-10-01 11:26 ` [linux-lvm] Usable space in PV Zdenek Kabelac
2015-10-01 16:10 ` Timofey Koolin
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=560BFF8B.7030006@koolin.ru \
--to=timofey@koolin.ru \
--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 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.