Timofey Koolin
2015-09-30 15:28:11 UTC
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?
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
Timofey Koolin