From owner-freebsd-stable@FreeBSD.ORG Wed Apr 27 15:37:04 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90EC01065694 for ; Wed, 27 Apr 2011 15:37:04 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 16F318FC23 for ; Wed, 27 Apr 2011 15:37:03 +0000 (UTC) Received: by bwz12 with SMTP id 12so2123066bwz.13 for ; Wed, 27 Apr 2011 08:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=mH6HfLS8lmbHTYrwMVE2u1P4Wr4BnqQEl3rLotgsnwE=; b=nWI4TERvbO5qXOR2mYLH102lnZqnJmzKDCuZU3hpAlRBNfgxtfzjPAm/p+IHh8qizk XR2bAb4+0d1/q/H4mD+/Hkw0/qOSJnNWkLGVqjYfdDvTnKC3C77ti8N/HXHazBOjBXyg JclIc9zzI6Resx4PErkA1NKrHJq8+59kvfx18= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=n70AiyP4pJ/Aqr5E+faYfTzWylDNFBJMNt/RDQvGDS8idPHpjeiRqPSZSAVIiBI+n8 cYziDeIROzxsu01Othi+qlzuIrn8xaipK5TGKyCLd0bhGxwmlq0wI9whp1Yw35JwzmZs wnMagjvwucK4WbSmKhZywEx3e6AvxzHcevRPs= Received: by 10.204.22.197 with SMTP id o5mr2154617bkb.68.1303918622733; Wed, 27 Apr 2011 08:37:02 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 16sm502007bkm.6.2011.04.27.08.37.01 (version=SSLv3 cipher=OTHER); Wed, 27 Apr 2011 08:37:02 -0700 (PDT) Sender: Alexander Motin Message-ID: <4DB8381B.4030408@FreeBSD.org> Date: Wed, 27 Apr 2011 18:36:59 +0300 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110310 Thunderbird/3.1.9 MIME-Version: 1.0 To: Denny Schierz References: <20110427125736.GA1977@icarus.home.lan> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable Subject: Re: MPS driver: force bus rescan after remove SAS cable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2011 15:37:04 -0000 On 27.04.2011 16:39, Denny Schierz wrote: > Am Mittwoch, den 27.04.2011, 05:57 -0700 schrieb Jeremy Chadwick: >> camcontrol reset 0 > > 0:22:0 is available, 0:46:0 not: > > root@iscsihead-m:~# camcontrol reset 0:22:0 > Reset of 0:22:0 was successful > > root@iscsihead-m:~# camcontrol reset 0:46:0 > camcontrol: cam_open_btl: no passthrough device found at 0:46:0 You should reset whole bus, not the specific LUN. Full reset doesn't need that passthrough device. IIRC it works via xpt0. > We bought the LSI SAS6160 switch: > > http://www.lsi.com/storage_home/products_home/sas_switch/sas6100/index.html > > use the LSI 9200-8e hostbusadapter and LSI JBODs 630j. We had a lot of > e-mail conversation with LSI and they mean, that we need the switch for > a clear failover setup. > Also a reason for the switch: increase storage with more jbods. Every > jbod has his own cable to the (later) redundant switch. Otherwise we > have to build a "bus" from JBOD to JBOD to JBOD to JBOD to host ... bad > idea ;-) > > The question is, what does the driver while FreeBSD starts? CAM exactly does full bus reset and after few seconds full rescan. What controller driver may do except it depends on it alone. -- Alexander Motin