[SOLVED] Physical disk to kvm

DerDanilo

Famous Member
Jan 21, 2017
477
141
108
We've mapped physical disks to vms quiet a while now. In the past the "size" option was added automatically by the system.
Apparently the size is not added automatically anymore. The disk appears properly within the VM, hence I don't think that this is an issue but would like to confirm.

Is the size required when mapping physical disks to vms?

Code:
scsi1: /dev/disk/by-id/nvme-SAMSUNG_MZQLB960HAJR-00007_xxxx,backup=0,cache=none,discard=on,iothread=1,replicate=0,size=937692504K,ssd=1
scsi2: /dev/disk/by-id/nvme-SAMSUNG_MZQLB960HAJR-00007_xxxx,backup=0,cache=none,discard=on,iothread=1,replicate=0,ssd=1

Thanks in advance.
 
The "size" attribute is only relevant for migrations, which are impossible with local disks anyway, so no worries.
 
  • Like
Reactions: DerDanilo