How to set hard drive serial number?

neza

New Member
Aug 18, 2023
1
0
1
Hello,

I need to virtualize some severs which the software is licensed to the hard drive serial number. and I find the docs link:https://pve.proxmox.com/wiki/Manual:_qm.conf

i edit the qm.conf file. As shown below


1692337057462.png

But I found that the serial number only supports a length of no more than 20!

1692337244550.png

How to change it ?
 
Hello,

I need to virtualize some severs which the software is licensed to the hard drive serial number. and I find the docs link:https://pve.proxmox.com/wiki/Manual:_qm.conf

i edit the qm.conf file. As shown below


View attachment 54385

But I found that the serial number only supports a length of no more than 20!

View attachment 54386

How to change it ?
Hi I tested it on a Linux VM (Debian) and had no issues:


1692617193845.png


This is how my vm looks like:

1692617233204.png


Edit: This might be realted because you use "virtio" block devices for your disks. You should switch to scsi (you can still use SCSI-Controller virtIO-SCSI) .. See https://libvirt.org/formatdomain.html#elementsDisks

Note that depending on hypervisor and device type the serial number may be truncated silently. IDE/SATA devices are commonly limited to 20 characters. SCSI devices depending on hypervisor version are limited to 20, 36 or 247 characters.
 
Last edited: