Proxmox Serial Number passthrough

just fyi:

  1. Setup your VM as you normally do in Proxmox via GUI.
  2. SSH into your proxmox-node
  3. nano /etc/pve/qemu-server/‘vmID’.conf
    edit in the following parts:

virtio0: ceph_P23_R3:vm-1092-disk-1,cache=none,discard=on,iothread=on,size=4G,serial=‘RS-Media2-OS-01’
virtio1: Rockstore:vm-1092-disk-1,cache=none,discard=on,backup=no,iothread=on,size=1024G,serial=‘RS-Media2-Data-01’
virtio2: Rockstore:vm-1092-disk-2,cache=none,discard=on,backup=no,iothread=on,size=1024G,serial=‘RS-Media2-Data-02’
virtio3: Rockstore:vm-1092-disk-3,cache=none,discard=on,backup=no,iothread=on,size=1024G,serial=‘RS-Media2-Data-03’
virtio4: Rockstore:vm-1092-disk-4,cache=none,discard=on,backup=no,iothread=on,size=1024G,serial=‘RS-Media2-Data-04’

4 Make sure your serial is unique (preferable for your Proxmox-Cluster) and within the limit (afaik that is 18 digits)
5 Start up your VM.

keeps with clone / backup / migrate and HA.

ps.:

virtio4: Rockstore:vm-1092-disk-4,cache=none,discard=on,backup=no,iothread=on,size=1024G,serial=‘RS-Media2-Data-04’

That is a (K)RDB based pool from my ceph-cluster. this will normally be based on what ever storage you have defined in “Proxmox > Datacenter > Storage”

1 Like