Date: Fri, 5 Oct 2007 16:46:17 +0530 From: Sharad Chandra <sharadc@in.niksun.com> To: Eric Anderson <anderson@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: SCSI and SAN Message-ID: <200710051646.17618.sharadc@in.niksun.com> In-Reply-To: <4704E8F1.8070000@freebsd.org> References: <200710041725.00842.sharadc@in.niksun.com> <4704E8F1.8070000@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Yes, right by analyzing camcontrol devlist it can be told, but i guess not= =20 always. [root@qa7 ~]# camcontrol devlist <IFT A16F-G2422 348C> =A0 =A0 =A0 =A0 =A0 =A0 =A0at scbus0 target 0 lun 0 (= da0,pass0) <IFT A16F-G2422 348C> =A0 =A0 =A0 =A0 =A0 =A0 =A0at scbus0 target 0 lun 1 (= da1,pass1) <IFT A16F-G2422 348C> =A0 =A0 =A0 =A0 =A0 =A0 =A0at scbus0 target 0 lun 2 (= da2,pass2) <IFT A16F-G2422 348C> =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 <IFT A16F-G2422 348C> =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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710051646.17618.sharadc>