Skip to content

Instantly share code, notes, and snippets.

@akhilerm
Created September 10, 2019 10:05
Show Gist options
  • Save akhilerm/b40c9129cd9811f38a11968e910db6ff to your computer and use it in GitHub Desktop.
Save akhilerm/b40c9129cd9811f38a11968e910db6ff to your computer and use it in GitHub Desktop.

Enabling disk UUID in proxmox VMs

The configuration file for each VM has to be edited, so that the disk comes with a unique serial number

  1. vi /etc/pve/qemu-server/<VMID>.conf
  2. Add a unique serial number to the disk
scsi1: images:<disk image>,cache=writeback,discard=on,size=120G,ssd=1,serial=5fb20ba17c2f
  1. Restart the VM qm shutdown <VMID> && qm start <VMID>

This will assign the unique serial number to the scsi disk. Even though WWN is absent OpenEBS will be able to identify the disk using the unique serial number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment