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:

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!