I am trying to get back into the unix game for some storage projects we have got going. We would love to use joyents smartos (based on illumos) for that.
Working with it is a real joy (setting up vms etc) but i can't get iscsi to work.
I would love to simply share a zfs device as an iscsi connection point but cant get it to work. I also cant get smb or nfs to work, but those properties at least exist and i am sure they would work.
The documentation i can find seems a little all-over-the-place with some old solaris, new solaris, illumos stuff etc. Which is understandable since it is such a new release though.
Does anybody have any pointers ?
I already tried
zfs set shareiscsi=on zones/name
which results in "unknown property". And its not listed in the zfs properties anyway.
I also tried
sbdadm create-lu /dev/zvol/rdsk/zones/
but this results in
sbdadm: unknown error
itadm also is not available and not service containing iscsi is listed in "svcs".
Any help is greatly appreciated.
Update: It seems iscsi is provided by COMSTAR and not in the same way that old solaris did it so the set shareiscsi is not supported because of that.
Update: i found out that the stmf service needs to be started for it (related to COMSTAR). sadly its in maintainance mode (svcs|grep stmf) log in /var/svc/log/system-stmf:default.log says:
svc-stmf: Unable to load the configuration. See /var/adm/messages for details
/var/adm/messages says:
svc:/system/stmf:default: Method "/lib/svc/method/svc-stmf start" failed with exit status 1.
system/stmf:default failed: transitioned to maintenance (see 'svcs -xv' for details)
probably a driver is missing, but which one ? and how do I install it ?