Matching WUI VM hardware disks to Linux guest disks
Eneko Lacunza
elacunza at binovo.es
Tue Nov 10 09:07:42 CET 2020
Hi again,
Ok, just clicking the "send mail" button revealed the solution ;)
# lsscsi
[1:0:0:0] cd/dvd QEMU QEMU DVD-ROM 2.5+ /dev/sr0
[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:2] disk QEMU QEMU HARDDISK 2.5+ /dev/sdb
SCSI IDs match WUI scsiX numbers.
No sure wether that can be improved somehow? :-)
Thanks and sorry for the noise.
El 10/11/20 a las 9:03, Eneko Lacunza escribió:
> 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