On Fri, 12 Oct 2012, Insan Praja SW wrote: > Hi all, > > On Fri, 12 Oct 2012 04:18:31 +0700, Claudio Jeker > <cje...@diehard.n-r-g.com> wrote: > > >On Thu, Oct 11, 2012 at 04:05:28PM +0700, Insan Praja SW wrote: > >>Hi Misc@, > >> > >>Has anyone tried using OBSD iscsid(8) initiator and FreeNAS target? > >>I was trying to do it on amd64 -current but so far unsuccessful. > >> > >>Best Regards, > >> > >> > >>Insan > >> > >> > >>iscsi.conf > >>---------- > >>target "Disk2" { > >> enabled > >> normal > >> targetaddr 10.10.10.139 > >> targetname "iqn.2012-03.xxxxxxx.net:disk2" > >>} > >> > >>/var/log/messages > >>----------------- > >>Oct 11 13:25:46 backend iscsid[11678]: fatal: vscsi_open: No such > >>file or directory > >> > > > >Funky. Did you try iscsid -dvn /dev/vscsi0 ? > >I have never seen the open() call fail for vscsi. You could also try to > >open /dev/vscsi0 with cat just to see if that fails too. > > > > $ sudo iscsid -dvn /dev/vscsi0 > startup > iscsid: unknown user _iscsid > $ sudo cat /dev/vscsi0 > cat: /dev/vscsi0: Operation not supported by device > $
Try this: # groupadd _iscsid # useradd -g _iscsid -s /sbin/nologin -d /var/empty -c "iSCSI Daemon" _iscsid There's also a quick how-to: http://openbsd-wip.blogspot.com/2012/01/openbsd-iscsi-howto.html Ciao, David