[pve-devel] [PATCH storage 0/1] Fix for ZFS over iSCSI on Solaris 11
David Hedbor
neotron at gmail.com
Wed May 15 17:19:09 CEST 2019
I'm testing out ZFS over iSCSI with a Oracle Solaris 11.3 server
(Sparc based specifically). It almost works - what doesn't work is
when I try to act on the disk in any way (such as start
KVM). Specifically it is unable to find the LUN.
Looking at the source, it seems like Proxmox runs:
stmfadm list-view -l <guid>
to get the LUN. However on Solaris 11.3 (at least my installation),
this returns the following:
View Entry: 0
Host group : All
Target Group : All
LUN : Auto
There's no LUN listed here. You can find ones assigned if you use the -v flag:
$ sudo stmfadm list-view -l 600144f2a8fee54fcb4fb8583c6d11dd -v
View Entry: 0
Host group : All
Target Group : All
LUN : Auto
Lun : 1 for iqn.1993-08.org.debian:01:e06b5e9eb438
Lun : 1 for iqn.1993-08.org.debian:01:7c967782bc4
Lun : 1 for iqn.1993-08.org.debian:01:dc213f1eceab
Lun : 1 for iqn.1993-08.org.debian:01:8ee9e0466ec5
I modified Comstar.pm to handle this, which I assume is a change from
Solaris 10 (OpenSolaris) to Solaris 11. I'm not happy with the copy of
get_initiator_name - it's also used by QemuServer.pm. I'm not familar
enough to know where to best place it.
David Hedbor (1):
storage: iscsi: Fix LunCmd for Comstar on Oracle Solaris 11
PVE/Storage/LunCmd/Comstar.pm | 31 ++++++++++++++++++++++++++-----
1 file changed, 26 insertions(+), 5 deletions(-)
--
2.11.0
More information about the pve-devel
mailing list