From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ulrich Bernhard Newsgroups: gmane.os.tru64.managers Subject: Problems with hwmgr scan scsi Date: Mon, 18 Oct 2004 18:44:08 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <4173F2D8.50808@id.unizh.ch> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098117955 4998 80.91.229.6 (18 Oct 2004 16:45:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Oct 2004 16:45:55 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Oct 18 18:45:39 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1CJade-0001TV-00 for ; Mon, 18 Oct 2004 18:45:39 +0200 Original-Received: (qmail 12926 invoked by uid 5); 18 Oct 2004 16:44:57 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 12910 invoked by uid 49501); 18 Oct 2004 16:44:56 -0000 Original-Received: from ulrich.bernhard@id.unizh.ch by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-4.9/5.0):. Processed in 1.02204 secs); 18 Oct 2004 16:44:56 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 18 Oct 2004 16:44:55 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I5S005MIH6R9O@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 18 Oct 2004 12:44:54 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0I5S00D08H6BJI@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 18 Oct 2004 12:44:41 -0400 (EDT) Original-Received: from idmailgate1.unizh.ch (idmailgate1.unizh.ch [130.60.68.105]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTPS id <0I5S008EXH5M7X@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 18 Oct 2004 12:44:12 -0400 (EDT) Original-Received: from zimail1.unizh.ch (zimail1.unizh.ch [130.60.128.11]) by idmailgate1.unizh.ch (8.12.10/8.12.10/Debian-2) with ESMTP id i9IGi88E012018 for ; Mon, 18 Oct 2004 18:44:08 +0200 Original-Received: from [130.60.10.143] (idlnxbu.unizh.ch [130.60.10.143]) by zimail1.unizh.ch (8.12.10/8.12.10/smMTA-17) with ESMTP id i9IGi8gj022929 for ; Mon, 18 Oct 2004 18:44:08 +0200 (MEST) Original-To: tru64-unix-managers@ornl.gov X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041011 X-Envelope-From: X-ORNL-Envelope-To: tru64-unix-managers@sws1.ctd.ornl.gov rfc822;tru64-unix-managers@ornl.gov X-Virus-Scanned: by amavisd-milter (http://www.amavis.org/) Xref: main.gmane.org gmane.os.tru64.managers:7681 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7681 On a system running tru64 5.1b we have replaced the tape drive tape1. The tapes are in a tape library. After the replacement I have done the following commands: hwmgr scan scsi hwmgr -delete scsi -did xx (the old entry of the tape) I now wanted to rename the new created tape to the old name but the scan command have not assigned a device file to the new tape. The 'hwmgr show scsi' command lists the following: SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH ------------------------------------------------------------------------- 89: 25 zuv1 cdrom none 0 1 cdrom0 [8/0/0] 90: 4 zuv1 changer none 0 1 mc0 [2/0/0] 94: 7 zuv1 tape none 0 1 tape0 [4/5/0] 97: 12 zuv1 tape none 0 1 tape3 [6/0/4] 98: 13 zuv1 tape none 0 1 tape4 [6/0/5] 99: 14 zuv1 tape none 0 1 tape5 [6/0/6] 100: 15 zuv1 tape none 0 1 tape6 [6/0/7] 101: 8 zuv1 raid none 0 1 scp1 [6/0/0] 108: 33 zuv1 tape none 4 1 tape2 [6/0/3] 110: 11 zuv1 changer none 0 1 mc1 [6/0/1] 144: 32 zuv1 raid none 0 4 scp2 [7/1/0] 145: 34 zuv1 disk none 2 4 dsk20 [6/1/1] 146: 35 zuv1 disk none 2 4 dsk21 [6/1/2] 147: 36 zuv1 disk none 2 4 dsk22 [6/1/3] 148: 37 zuv1 disk none 2 4 dsk23 [6/1/4] 149: 38 zuv1 disk none 2 4 dsk24 [6/1/5] 150: 39 zuv1 disk none 2 4 dsk25 [6/1/6] 151: 40 zuv1 disk none 2 4 dsk26 [6/1/7] 154: 0 zuv1 tape none 0 1 tape7 [2/4/0] 155: 1 zuv1 tape none 0 1 tape8 [3/5/0] 167: 2 zuv1 tape none 0 1 (null) [6/0/2] The last entry in the list has the correct path and is a tape. The rest is all here, the changer as mc1 and the other 5 drives tape2 til tape 6. In the kernel log I found the following message: Oct 18 18:11:02 zuv1 vmunix: hwc_check_devnode: char devt (0x0330008f) already in use by hwid 156:re-use request by cam_tape for hwid 167 Oct 18 18:11:02 zuv1 vmunix: unable to register devnode status= 95 Any help to get the tape1 defined again is very apreciated. Thanks Ulrich -- +-----------------------------------------------------------+ | Ulrich Bernhard | | Informatikdienste Tel: (+41-44) 635 67 73 | | Universitaet Zuerich Fax: (+41-44) 635 45 05 | | Winterthurerstr. 190 | | CH-8057 Zuerich Email: ulrich.bernhard@id.unizh.ch | | Switzerland | +-----------------------------------------------------------+