Some customers have more than 26 devices, for example, if they use multipath on a DAS box.
In the Linux Documentation admin-guide/devices.txt is written 256 SCSI disk devices are possible. Signed-off-by: Wolfgang Link <w.l...@proxmox.com> --- proxinstall | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/proxinstall b/proxinstall index db8e638..8a1476b 100755 --- a/proxinstall +++ b/proxinstall @@ -623,7 +623,9 @@ sub hd_size { sub get_partition_dev { my ($dev, $partnum) = @_; - if ($dev =~ m|^/dev/[hxsev]d[a-z]$|) { + if ($dev =~ m|^/dev/sd([a-h]?[a-z]\|i[a-v])$|) { + return "${dev}$partnum"; + } elsif ($dev =~ m|^/dev/[hxev]d[a-z]$|) { return "${dev}$partnum"; } elsif ($dev =~ m|^/dev/[^/]+/c\d+d\d+$|) { return "${dev}p$partnum"; -- 2.11.0 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel