Matching WUI VM hardware disks to Linux guest disks

Eneko Lacunza elacunza at binovo.es
Tue Nov 10 09:03:02 CET 2020


Hi all,

I have hit a simple problem. Let be a VM with 3 disks, with .conf extract:

scsi0: ceph-proxmox:vm-100-disk-1,cache=writeback,size=6G
scsi1: ceph-proxmox:vm-100-disk-0,cache=writeback,size=400G
scsi2: ceph-proxmox:vm-100-disk-3,cache=writeback,size=400G

We have two virtual disks with identical size (400G).

How can I be sure what device on Linux guest is each?

# lsblk
NAME                  MAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
sda                     8:0    0    6G  0 disk
├─sda1                  8:1    0  5.7G  0 part  /
├─sda2                  8:2    0    1K  0 part
└─sda5                  8:5    0  283M  0 part  [SWAP]
sdb                     8:16   0  400G  0 disk  /mnt
sdc                     8:32   0  400G  0 disk
sr0                    11:0    1 1024M  0 rom

What disk is sdb and what sdc? :-)

In this case, I know sdc is scsi1, and sdb is scsi2; which is 
counter-intuitive and WUI doesn't seem to offer any help for this.

(I just added 1G to a disk and then checked sizes on guest).

Cheers

-- 
Eneko Lacunza                | +34 943 569 206
                              | elacunza at binovo.es
Zuzendari teknikoa           | https://www.binovo.es
Director técnico             | Astigarragako Bidea, 2 - 2º izda.
BINOVO IT HUMAN PROJECT S.L  | oficina 10-11, 20180 Oiartzun




More information about the pve-user mailing list