Metadata, Overprovisioning and Overlapping:
- The VG can be set to up to 100% of the PV (in my case => 720Go)
- The LV should be no larger than 99% of the VG (in my case => 79Go + 635Go)
- The LV-T should not be larger than 40% to 80% of the LV (In my case => 254Go to 507Go; average 381Go)
-
- I don’t plan to add more to it so I’ll use 80% (64Go + 508Go)
- The V-LV should not overprovision more than 130% of the LV-T (in my case =>
– 64x130%=84Go, limited to PV/LV → 79Go
– 508x130%=661Go, limited to PV/LV ->635Go
The rule is about 1Go of metadata for 100,000 V-LV; and in my setup I have about 30 to 50 V-LV; let’s say max 80 V-LV, so max 0.7632MiB (0.800MO) therefore 782KiB (800KO) ==> Some 80MiB (85Mo) will be plenty enough to cover +~ 7850 VM
=> lvcreate -L 400G -n my-thinpool --thinpoolmetadata 80M myvg --type thin-pool