From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 5 11:19:28 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FFAD16A41A; Fri, 5 Oct 2007 11:19:28 +0000 (UTC) (envelope-from sharadc@in.niksun.com) Received: from in.niksun.com (210.18.76.166.sify.net [210.18.76.166]) by mx1.freebsd.org (Postfix) with ESMTP id E6A7913C49D; Fri, 5 Oct 2007 11:19:27 +0000 (UTC) (envelope-from sharadc@in.niksun.com) Received: from sharadc.in.niksun.com (unknown [10.60.5.27]) by in.niksun.com (Postfix) with ESMTP id 535215C9C; Fri, 5 Oct 2007 16:57:29 +0530 (IST) From: Sharad Chandra Organization: NIKSUN To: Eric Anderson Date: Fri, 5 Oct 2007 16:46:17 +0530 User-Agent: KMail/1.9.4 References: <200710041725.00842.sharadc@in.niksun.com> <4704E8F1.8070000@freebsd.org> In-Reply-To: <4704E8F1.8070000@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200710051646.17618.sharadc@in.niksun.com> Cc: freebsd-hackers@freebsd.org Subject: Re: SCSI and SAN X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2007 11:19:28 -0000 Yes, right by analyzing camcontrol devlist it can be told, but i guess not= =20 always. [root@qa7 ~]# camcontrol devlist =A0 =A0 =A0 =A0 =A0 =A0 =A0at scbus0 target 0 lun 0 (= da0,pass0) =A0 =A0 =A0 =A0 =A0 =A0 =A0at scbus0 target 0 lun 1 (= da1,pass1) =A0 =A0 =A0 =A0 =A0 =A0 =A0at scbus0 target 0 lun 2 (= da2,pass2) =A0 =A0 =A0 =A0 =A0 =A0 =A0at scbus0 target 0 lun 3 (= da3,pass3) Here luns are increasing, so it is SAN confirmed by tool. Now my point is i= f i=20 have a SAN of less than 1TB and i make only 1 LUN. what should be output? guessing: similar to =A0 =A0 =A0 =A0 =A0 =A0 =A0at scbus0 target 0 lun 0 (= da0,pass0) Then it will be difficult to tell, whether it is regular SCSI drives or SAN= =2E=20 Then we need a tool that can tell this da0 belongs to SAN/SCSI or not Thanks for any suggestion. Sharad Chandra On Thursday 04 October 2007 6:51 pm, Eric Anderson wrote: > Sharad Chandra wrote: > > Hello, > > > > How to distinguish if /dev/da* devices are internal scsi drivers or LU= Ns > > of external SAN? > > camcontrol devlist -v > > Might help you.. > > Eric