Ik heb zojuist zoals in een ander topic al geschreven een raid gecreerd. Nu ga ik hier 1 grote partitie opzetten op basis van LVM2.
LVM2 vraagt om "physical extent size".
In verschillende artikelen staat geschreven hoe deze berekend moet worden:
5TB = 5000000 / 64000 = afronden levert 64MB
Is dit de juiste manier, aangezien ik mijn raid op 256KB stripe heb ingesteld.
De vraag is dus is mijn instelling goed of fout en zo ja waarom.
LVM2 vraagt om "physical extent size".
In verschillende artikelen staat geschreven hoe deze berekend moet worden:
5TB = 5000000 / 64000 = afronden levert 64MB
Is dit de juiste manier, aangezien ik mijn raid op 256KB stripe heb ingesteld.
De vraag is dus is mijn instelling goed of fout en zo ja waarom.
Dit betekent doordat ik maar 1 grote partitie heb, dat ik genoeg heb met ijn 64mb en hierdoor ook nooit tegen belemmeringen aanloop.From man vgcreate:
If the volume group metadata uses lvm1 format, extents can vary
in size from 8KB to 16GB and there is a limit of 65534 extents
in each logical volume. The default of 4 MB leads to a maximum
logical volume size of around 256GB.
If the volume group metadata uses lvm2 format those restrictions
do not apply, but having a large number of extents will slow
down the tools but have no impact on I/O performance to the log‐
ical volume. The smallest PE is 1KB.
It's a tradeoff. If you use smaller extents you may not be able
to grow beyond a certain size in LVM1 and even if you convert to
LVM2 some tools (but not normal usage) may be slow. OTOH, if you
use larger extents you waste some space if you have lots of small
logical volumes.
[ Voor 51% gewijzigd door BSeB op 05-06-2010 22:47 ]