Upgrade to NCP3 Alpha 5 broke iscsi daemon
Added by Geoff Nordli about 1 year ago
I upgraded to NCP3 Alpha5 last night, and the iscsi daemon doesn't work anymore.
Failed to start iSCSI daemon
[ Feb 18 19:57:22 Method "start" exited with status 1. ]
[ Feb 18 19:57:22 Executing start method ("/lib/svc/method/svc-iscsitgt start"). ]
ld.so.1: iscsitgtd: fatal: libz.so.1: open failed: No such file or directory
ld.so.1: iscsitgtd: fatal: relocation error: file /usr/sbin/amd64/iscsitgtd: symbol xmlCheckVersion: referenced symbol not found
Killed
Failed to start iSCSI daemon
[ Feb 18 19:57:22 Method "start" exited with status 1. ]
Any ideas on how to fix it?
thanks,
Geoff
Replies
RE: Upgrade to NCP3 Alpha 5 broke iscsi daemon - Added by Anil Gulecha about 1 year ago
Hi Geoff,
With Alpha5, older iscsitgt service is no longer supported. Please use COMSTAR for iscsi.
http://www.nexenta.org/issues/59 How to use comstar zfs property: http://blogs.nexenta.org/blog/2009/03/03/nexenta-iscsi-with-comstarzfs-integration/
Thanks Anil
RE: Upgrade to NCP3 Alpha 5 broke iscsi daemon - Added by Geoff Nordli about 1 year ago
Thanks Anil.
I followed the steps in the blog link you gave me to replace iscsitgt with COMSTAR.
In the blog it says to use the zfs set shareiscsi=on, which doesn't work. The ticket says the shareiscsi property is going to be removed in Alpha5. When I try to use the shareiscsi=on, it doesn't work, which obviously makes sense.
Do you know if there is an easier way to manage targets than this:
zfs create -s -V 10g data/iscsitarget sbdadm create-lu /dev/zvol/rdsk/data/iscsitarget ## assuming the LU GUID returned was 600144f01cdf4f0000004af6f28b0001 stmfadm add-view 600144f01cdf4f0000004af6f28b0001 itadm create-target
thanks,
Geoff
RE: Upgrade to NCP3 Alpha 5 broke iscsi daemon - Added by Anil Gulecha about 1 year ago
Also, regarding zlib issue http://www.nexenta.org/issues/77
~Anil
RE: Upgrade to NCP3 Alpha 5 broke iscsi daemon - Added by Guenther Alka about 1 year ago
hello geoff
you can manage your targets also via your browser it's much easier than to remember console commands.
you can either use stable nexentastore (free developer edition max 4tb) or free nexentacore (alpha5) with free napp-it web-gui (beta), which supports basic handling of comstar iscsi.
gea
www.napp-it.org
RE: Upgrade to NCP3 Alpha 5 broke iscsi daemon - Added by Geoff Nordli about 1 year ago
Hi Guenther.
We are using NCP as a virtual lab management storage system. I won't have to remember the commands since we are going to put it into the application logic.
I was just curious if there was an easier way to handle the creation. We were spoiled with how easy "shareiscsi=on" was :)
Geoff