Date: Mon, 18 Jan 2010 13:13:41 +0200 From: Daniel Braniss <danny@cs.huji.ac.il> To: Karl Pielorz <kpielorz_lst@tdx.co.uk> Cc: freebsd-scsi@freebsd.org Subject: Re: Starting out in iSCSI - recovery questions / options from target vanishing... Message-ID: <E1NWpYD-0007MV-Ps@kabab.cs.huji.ac.il> In-Reply-To: <071FB5A0A2DC2EFA265933DE@HPQuadro64.dmpriest.net.uk> References: <071FB5A0A2DC2EFA265933DE@HPQuadro64.dmpriest.net.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Hi, > > I've been looking at setting up iSCSI on my home network. I have a windows > machine, which I've installed iSCSI target software on, and set it up. > > I'm using FreeBSD 7.2-STABLE - and I've setup iSCSI as an initiator on that. > > At the end of the day, I get the following logged when I've finished > setting it up: > > " > Jan 12 20:25:30 test kernel: da0 at iscsi0 bus 0 target 0 lun 0 > Jan 12 20:25:30 test kernel: da0: <CCDISK iSCSI Cake > Fixed Direct Access > SCSI-4 device > Jan 12 20:26:21 test kernel: GEOM_LABEL: Label for provider da0s1 is > ufsid/4b4cdaed5db746bf. > " > > I can label, partition, format and mount da0 - and everything works fine, > which looks pretty successful. > > Until I 'break the connection' - either by restarting the windows iSCSI > target, or pulling the network cable. > > Whatever was in progress on da0 expectedly freezes. However, when the > connection is available again - nothing seems to re-attach, continue, or > error. > > I'd guess I may be being optimistic if I expected it to re-attach, and > continue without error - but is there any way of either avoiding the freeze > (or raining in the timeout) - or forcing things to try to reconnect? > > I don't mind getting errors, or trashing the iSCSI drive (it's only used > for shifting backups on to large drives on the windows machine) - but as it > is, the only way to recover is to restart the FreeBSD box. > > If someone can point me in the right direction, or explain what's "meant to > happen" that'd be great, > > Thanks, > > -Karl Hi karl, what version of iscsi_initiator are you using? if it's not 2.2.x then get it from: ftp://ftp.cs.huji.ac.il/users/danny/freebsd/iscsi-2.2.3.tar.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1NWpYD-0007MV-Ps>