[PVE-User] /dev/disk/by-path/ paths not working in 1.4

Tomasz Chmielewski mangoo at wpkg.org
Tue Oct 27 10:15:46 CET 2009


Dietmar Maurer wrote:
> Strange, it works here. Please can you send me the config file so that I can reproduce the problem?

For example:

ostype: l26
memory: 2048
onboot: 1
vlan5: e1000=82:2C:CF:38:1E:77
name: vw-web03
ide2: systemrescuecd-x86-1.2.0.iso,media=cdrom
sockets: 2
bootdisk: scsi0
scsi0: /dev/disk/by-path/ip-192.168.112.68:3260-iscsi-iqn.2009-04.net.syneticon:san3.vw-web03-lun-1
tablet: 0


in Storage.pm, this would match here:

-    if ($volid =~ m/^([^:]+):(.+)$/) {
+    if ($volid =~ m/^(?!\/dev)([^:]+):(.+)$/) {


-- 
Tomasz Chmielewski
http://wpkg.org



More information about the pve-user mailing list