Hi,
I have successfully created a few VMs on PVE 4.0. Hardware raid (/dev/sda - Dell H730 RAID10) is partitioned like this:
Note: /dev/sdb, /dev/sdc, /dev/sdd, /dev/sde are RAID0 SSD-based single disks also configured through H730 controller.
VM 102 was created using virtio-blk driver all disks:
virtio2 and virtio3 were added manually as PVE UI doesn't allow attaching physical devices. VM (Debian 8.2) works fine although disks are shown as /dev/vdX (due to use of virtio-blk driver).
For VM 104 I used virtio-scsi driver for all disks:
Note: I also tried to remove lvm: prefix and size= prefix - nothing changed.
So the problem 1 is: installer detects both /dev/sda and /dev/sdb as 3TB disks (as /dev/sda on pve host). How can I fix that?
The problem 2 is: I'm not sure if /dev/sdc inside vm104 really maps to /dev/sdd (inspired by problem 1). How can I check if it happened or not? hdparm/smartctl can't access inquiry data on disks.
Any ideas are welcome.
Regards,
I have successfully created a few VMs on PVE 4.0. Hardware raid (/dev/sda - Dell H730 RAID10) is partitioned like this:
Code:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 2.7T 0 disk
├─sda1 8:1 0 1M 0 part
└─sda2 8:2 0 2.7T 0 part
├─vg0-root 252:0 0 14.9G 0 lvm /
├─vg0-vm--100--disk--1 252:1 0 100G 0 lvm
├─vg0-vm--101--disk--1 252:2 0 512G 0 lvm
├─vg0-vm--102--disk--1 252:3 0 16G 0 lvm
├─vg0-vm--102--disk--2 252:4 0 64G 0 lvm
├─vg0-vm--103--disk--1 252:5 0 512G 0 lvm
├─vg0-vm--104--disk--1 252:6 0 16G 0 lvm
├─vg0-vm--104--disk--2 252:7 0 64G 0 lvm
└─vg0-vm--105--disk--1 252:8 0 100G 0 lvm
sdb 8:16 0 446.6G 0 disk
sdc 8:32 0 446.6G 0 disk
sdd 8:48 0 446.6G 0 disk
sde 8:64 0 446.6G 0 disk
Note: /dev/sdb, /dev/sdc, /dev/sdd, /dev/sde are RAID0 SSD-based single disks also configured through H730 controller.
VM 102 was created using virtio-blk driver all disks:
Code:
virtio0: lvm:vm-102-disk-1,size=16G
virtio1: lvm:vm-102-disk-2,size=64G
virtio2: /dev/sdb,size=457344M
virtio3: /dev/sdc,size=457344M
For VM 104 I used virtio-scsi driver for all disks:
Code:
scsihw: virtio-scsi-pci
scsi0: lvm:vm-104-disk-1,size=16G
scsi1: lvm:vm-104-disk-2,size=64G
scsi2: /dev/sdd,size=457344M
scsi3: /dev/sde,size=457344M
So the problem 1 is: installer detects both /dev/sda and /dev/sdb as 3TB disks (as /dev/sda on pve host). How can I fix that?
The problem 2 is: I'm not sure if /dev/sdc inside vm104 really maps to /dev/sdd (inspired by problem 1). How can I check if it happened or not? hdparm/smartctl can't access inquiry data on disks.
Any ideas are welcome.
Regards,
Last edited: