[PVE-User] Disk recognition order
e.kasper at proxmox.com
Tue Aug 29 15:04:56 CEST 2017
On 08/29/2017 01:44 PM, Uwe Sauter wrote:
> I thought so but when setting up new VMs where the disks don't have partitions yet, there is yet nothing that you could use
Disks too have ids, not only partitions or file systems.
If you use /dev/disk/by-id in your it should be stable between reboots,
as these ids are based on the disk entries of your vm.conf.
qm config 106 | egrep '^scsi[0-9]+'
lsscsi --scsi_id | grep 'HARDDISK'
[2:0:0:0] disk QEMU QEMU HARDDISK 2.5+ /dev/sda
[2:0:0:1] disk QEMU QEMU HARDDISK 2.5+ /dev/sdc
[2:0:0:12] disk QEMU QEMU HARDDISK 2.5+ /dev/sdb
you will also find this id in
More information about the pve-user