From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Broun, Bevan" Newsgroups: gmane.os.tru64.managers Subject: find new lun on scsi bus without rebooting? (ccl for hsz80) Date: Fri, 31 Jan 2003 15:08:24 +1100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20030131150823.I4974@adi-limited.com> Reply-To: brounb@adi-limited.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1043986084 3062 80.91.224.249 (31 Jan 2003 04:08:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 31 Jan 2003 04:08:04 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18eST6-0000mG-00 for ; Fri, 31 Jan 2003 05:07:57 +0100 Original-Received: (qmail 2490 invoked by uid 5); 31 Jan 2003 04:09:35 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 2481 invoked by uid 49493); 31 Jan 2003 04:09:35 -0000 Original-Received: from brounb@adi-limited.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-5.5/5.0):. Processed in 0.386066 secs); 31 Jan 2003 04:09:35 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 31 Jan 2003 04:09:35 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0H9K008JV8VYJ4@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 30 Jan 2003 23:09:34 -0500 (EST) Original-Received: from charon.adi-limited.com ([203.20.101.34]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0H9K00L6Q8V2MM@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 30 Jan 2003 23:09:04 -0500 (EST) Original-Received: (from nobody@localhost) by charon.adi-limited.com (8.11.2/8.11.2) id h0V490218174 for ; Fri, 31 Jan 2003 15:09:00 +1100 (EST) Original-Received: from cronus(10.226.1.1) by charon via smap (V2.1) id xma018108; Fri, 31 Jan 2003 15:08:26 +1100 Original-Received: (qmail 8279 invoked by uid 101); Fri, 31 Jan 2003 04:08:24 +0000 Original-To: tru64-unix-managers@ornl.gov Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Authentication-warning: charon.adi-limited.com: nobody set sender to using -f Xref: main.gmane.org gmane.os.tru64.managers:3168 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3168 Im on an AS4100 running 5.1a Im trying to use hsxterm5 to send commands to the controller. Ive have just enabled the Command Console Lun on a hsz80 and now when I use hsxterm5 I get root>./hsxterm5 -b2 -t0 -l5 "show this_controller" ScsiExecCli Failed I suspect that a reboot would mean the OS would start seeing the lun. I would prefer not to need to schedule a reboot, the system is in use. Can I use scu to show the new lun to the OS and get this workign without a reboot? More info below. BB HSZ> show this_controller Controller: HSZ80 ZG93301384 Software V83Z-0, Hardware E04 NODE_ID = 0000-0000-0000-0000 ALLOCATION_CLASS = 0 SCSI_VERSION = SCSI-2 Not configured for dual-redundancy Device Port SCSI address 7 Time: 31-JAN-2003 14:30:17 Host PORT_1: SCSI target(s) (0, 1, 2, 3) No preferred targets TRANSFER_RATE_REQUESTED = 20MHZ Host Functionality Mode = A Command Console LUN is target 0, lun 5 Host PORT_2: SCSI target(s) (4) No preferred targets TRANSFER_RATE_REQUESTED = 20MHZ Host Functionality Mode = A >From the sys_check output I see that the hsz80 is on scsi bus 2: CAM Equipment Device Table (EDT) Information: Device: RRD47 Bus: 0, Target: 5, Lun: 0, Type: Read-Only Direct Access Device: HSZ80 Bus: 2, Target: 0, Lun: 0, Type: Direct Access Device: HSZ80 Bus: 2, Target: 0, Lun: 1, Type: Direct Access Device: HSZ80 Bus: 2, Target: 0, Lun: 2, Type: Direct Access Device: HSZ80 Bus: 2, Target: 0, Lun: 3, Type: Direct Access Device: HSZ80 Bus: 2, Target: 0, Lun: 4, Type: Direct Access