[SOLVED] Physical disk to kvm

DerDanilo

Renowned Member
Jan 21, 2017
477
139
83
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

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!