Proxmox NVME Passthrough

rohana1999

New Member
Dec 20, 2021
2
0
1
45
May I know that command for passthrough a NVME to VM via qm set command. When I give below command it always said disk does not exist. Please rectify it if there any syntax error if not what is the exact command to NVME disk to passthrough to vm.

qm set 100 -scsi5 /dev/disk/by-id/ata-Samsung-SSD-970-EVO-Plus-1TB_S6P7NJ0R813616V
 
hi,

works here, and syntax seems correct. have you checked if that disk really exists? what do you see when you run ls -l /path/to/that/disk?
 
hi,

works here, and syntax seems correct. have you checked if that disk really exists? what do you see when you run ls -l /path/to/that/disk?
it was now corrected using below syntax.

qm set 100 -scsi5 /dev/disk/by-id/nvme-Samsung_SSD_970_EVO_Plus_1TB_S6P7NJ0R813616V

type should be nvme instead ata

Thanks for your comment.
 
yes looks better :)

glad the problem was solved