qm set 101 -sata1 /dev/disk/by-id/ata-Samsung_SSD_860_EVO_M.2_1TB_S5GENG0N306922B
where 101 is VM id, and ata-Samsung_SSD_860_EVO_M.2_1TB_S5GENG0N306922B – disk drive id which you can get by the following command:
ls -l /dev/disk/by-id
qm set 101 -sata1 /dev/disk/by-id/ata-Samsung_SSD_860_EVO_M.2_1TB_S5GENG0N306922B
where 101 is VM id, and ata-Samsung_SSD_860_EVO_M.2_1TB_S5GENG0N306922B – disk drive id which you can get by the following command:
ls -l /dev/disk/by-id