Date: Sun, 06 May 2012 22:36:50 +0200 From: Andrea Venturoli <ml@netfence.it> To: freebsd-ports@freebsd.org, aoyama@peach.ne.jp Subject: iSCSI for tape Message-ID: <4FA6E0E2.2090700@netfence.it>
next in thread | raw e-mail | index | archive | help
Hello. I've got a box with bacula-sd which should use a tape drive; unfortunately, there's no physical space for such a drive on that box, so I'm considering iSCSI to let it access a tape on another box. Is this possible? While doing some tests, I installed istgt on the target box (7.4/i386) and I have this in /usr/local/etc/istgt/istgt.conf: > [LogicalUnit1] > Comment "Pass-through Tape" > TargetName tape1 > TargetAlias "Pass Through Tape" > Mapping PortalGroup1 InitiatorGroup1 > AuthMethod CHAP > AuthGroup AuthGroup1 > UnitType pass > LUN0 Device /dev/sa0 On the initianting box (9.0/amd64), I put the following in /etc/iscsi.conf: > itape1 { > authMethod =CHAP > chapIName =xxxxxx > chapSecret =yyyyyyyyyyyyy > initiatorname =zzzzz > TargetName =jjjjj:tape1 > TarrgetAddress=jjjjj:3260,1 > } Now: > # iscontrol -d -t jjjjj > TargetName=jjjjj:tape1 > TargetAddress=a.b.c.d:3260,1 > #iscontrol -c /etc/iscsi.conf -n itape1 -t jjjjj& > ls /dev/ | grep iscsi > iscsi > iscsi0 > # mt -f /dev/iscsi status > mt: Device not configured > # mt -f /dev/iscsi0 status > mt: Inappropriate ioctl for device Am I doing something wrong or is this not implemented? bye & Thanks av.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FA6E0E2.2090700>