Installation almalinux

Oct 9, 2024
106
1
18
Hi everyone, could someone suggest me the optimal configuration to install almalinux, I noticed that if I set the host cpu type it goes much better than x-86-64-v2-AES, but if I leave host it doesn't let me do the live migrations, it gives me an error, then I wanted to understand if it's better to set SSD emulation on the disk or not?

version proxmox 8.3.2 enterprise
 
While rocky8 and alma8 have same codebasis ... and switching cpu type from default (x86-64-v2 AES) to host don't notice differences in handling and live migration is functioning (E5-2620 ->E5-2630->back) also. Assuming you are trying to live migrate between to different pve host cpu types which failed while older and to newer type should work.
 
"Trim/Discard
If your storage supports thin provisioning (see the storage chapter in theProxmox VE guide), you can activate the Discard option on a drive. With Discardset and a TRIM-enabled guest OS [3], when the VM’s filesystemmarks blocks as unused after deleting files, the controller will relay thisinformation to the storage, which will then shrink the disk image accordingly.For the guest to be able to issue TRIM commands, you must enable the Discardoption on the drive. Some guest operating systems may also require the SSD Emulation flag to be set. Note that Discard on VirtIO Block drives isonly supported on guests using Linux Kernel 5.0 or higher.
If you would like a drive to be presented to the guest as a solid-state driverather than a rotational hard disk, you can set the SSD emulation option onthat drive. There is no requirement that the underlying storage actually bebacked by SSDs; this feature can be used with physical media of any type.Note that SSD emulation is not supported on VirtIO Block drives."

This ssd emu... flag won't run your vm faster.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!