[PVE-User] Matching WUI VM hardware disks to Linux guest disks

Eneko Lacunza elacunza at binovo.es
Tue Nov 10 09:21:45 CET 2020


Hi Arjen,

El 10/11/20 a las 9:12, Arjen via pve-user escribió:
>> 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).
> I think you can deduce the SCSI number from the MINor device number on Linux:
>   0/16  = 0: scsi0
>   16/16 = 1: scsi1
>   32/16 = 2: scsi2
>
> See for more details:https://tldp.org/HOWTO/SCSI-2.4-HOWTO/dnames.html
I'm afraid this doesn't work on this case... scsi1 is sdc, 32/16 = 2...

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