Hi, users have reported bugs with virtio-scsi + lvm host storage

https://forum.proxmox.com/threads/problem-with-iscsi-virtio-ovmf.26192/#post-131416
https://forum.proxmox.com/threads/lvm-and-virtio-scsi-detects-volume-as-complete-drive.24190/

currently we use scsi-block for lvm disk, insteda scsi-generic

I think this redhat bugzilla is related

https://bugzilla.redhat.com/show_bug.cgi?id=1179577


We need to fix something here in QemuServer.pm,
I think the ioctl don't detect correctly lvm, so maybe a workaround is needed 
(bypass if $scfg->{type} eq 'lvm'  ?)


          if (my $info = path_is_scsi($path)) {
                      if ($info->{type} == 0) {
                          $devicetype = 'block';
                      } elsif ($info->{type} == 1) { # tape
                          $devicetype = 'generic';
                      }
                  }

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to