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:34] – [15. Dropbear-initramfs] phil | proc:bare_metal_server_provisioning [2026/07/23 15:10] (current) – [18. (EXTRA) hugepage & swap configuration] phil | ||
|---|---|---|---|
| Line 388: | Line 388: | ||
| <code bash> | <code bash> | ||
| # Wait dropbear to be up | # Wait dropbear to be up | ||
| - | nc -zv xx.xx.xx.xx | + | nc -zv xx.xx.xx.xx |
| # remote unlocking oneliner: | # remote unlocking oneliner: | ||
| - | pass show luks/ | + | pass show luks/ |
| </ | </ | ||
| 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.1784705696.txt.gz · Last modified: by phil
