proc:bare_metal_server_provisioning
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| proc:bare_metal_server_provisioning [2026/07/22 07:35] – [17. First boot and unlock] phil | proc:bare_metal_server_provisioning [2026/07/23 15:10] (current) – [18. (EXTRA) hugepage & swap configuration] phil | ||
|---|---|---|---|
| Line 395: | Line 395: | ||
| After few seconds, normal SSD become available. | After few seconds, normal SSD become available. | ||
| + | |||
| + | ==== 18. (EXTRA) hugepage & swap & LVM thin configuration ==== | ||
| + | |||
| + | <code bash> | ||
| + | sudo lvcreate -L 4G -n swap vg0 | ||
| + | sudo mkswap / | ||
| + | sudo swapon / | ||
| + | echo "/ | ||
| + | </ | ||
| + | |||
| + | If you want to configure hugepage for a qemu hypervisor: | ||
| + | |||
| + | <code bash> | ||
| + | sudo tee / | ||
| + | vm.nr_hugepages = 13312 # EXAMPLE FOR 26GB/32GB | ||
| + | EOF | ||
| + | </ | ||
| + | |||
| + | LVM Thin initialization to store VM storage | ||
| + | |||
| + | <code bash> | ||
| + | sudo lvcreate --type thin-pool -L 250G -n thin vg0 | ||
| + | </ | ||
proc/bare_metal_server_provisioning.1784705716.txt.gz · Last modified: by phil
