Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

proxmox pass raw disk

# get the disk id because letter names (/dev/sda etc) are volatile
# hint: use lsblk to find the drive you are trying to add
find /dev/disk/by-id/ -type l|xargs -I{} ls -l {}|grep -v -E '[0-9]$' |sort -k11|cut -d' ' -f9,10,11,12
qm set <vmid> -scsi<disknumber> /dev/disk/by-id/<driveid>
# example: qm set 102 -scsi1 /dev/disk/by-id/
Source by pve.proxmox.com #
 
PREVIOUS NEXT
Tagged: #proxmox #pass #raw #disk
ADD COMMENT
Topic
Name
9+2 =