Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 May 2014 14:45:35 +0100
From:      Karl Pielorz <kpielorz_lst@tdx.co.uk>
To:        freebsd-scsi@freebsd.org
Subject:   'Wiring down' iSCSI devices / stop swapping dev nodes...
Message-ID:  <963D4F6D5D95769A2C8A07D1@Mail-PC.tdx.co.uk>

next in thread | raw e-mail | index | archive | help

Hi,

I'm using the new iSCSI stack on FreeBSD 10. Seems to work fine so far - 
but I've noticed an issue (which is probably not related to new/old stack).

I have a number of iSCSI targets setup - when they initially connect, they 
appear as '/dev/da[6/7/8/9/10/11/12/13]'

However, if the remote node dies - when the iSCSI targets reconnect some of 
the drives transpose positions.

I'm not specifically reconnecting them - just bringing the remote back up 
(when ctld / iscsid load up) - causes the local node to 'see' the drives 
have returned after a while (i.e. I don't run any iscsictl commands or 
anything).

e.g. This time round drive previously connected to '/dev/da11' has now 
transposed with the drive that was connected to '/dev/da12'

Is there any way I can prevent this? - i.e. by pre-alloctating / specifying 
'/dev/da' entries for devices or something?

It's easy to see it happening on this test system as the drives are a mix 
of 750Gb and 2Tb - so when a 2Tb switches places with a 750Gb it's pretty 
obvious :)

-Karl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?963D4F6D5D95769A2C8A07D1>