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: SUMMARY: Problems with hwmgr scan scsi Date: Tue, 19 Oct 2004 09:19:50 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <4174C016.3030306@id.unizh.ch> References: <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 1098170456 13036 80.91.229.6 (19 Oct 2004 07:20:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Oct 2004 07:20:56 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Oct 19 09:20:43 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 1CJoIV-00043W-00 for ; Tue, 19 Oct 2004 09:20:43 +0200 Original-Received: (qmail 17164 invoked by uid 5); 19 Oct 2004 07:20:07 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 17145 invoked by uid 49501); 19 Oct 2004 07:20:06 -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.110):SA:0(-4.9/5.0):. Processed in 1.188505 secs); 19 Oct 2004 07:20:06 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 19 Oct 2004 07:20:05 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I5T00HE2LPGKM@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 19 Oct 2004 03:20:04 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.2-X27 #30899) id <0I5T00M02LP6XC@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 19 Oct 2004 03:19:58 -0400 (EDT) Original-Received: from idmailgate1.unizh.ch (idmailgate1.unizh.ch [130.60.68.105]) by emroute3.ornl.gov (PMDF V6.2-X27 #30899) with ESMTPS id <0I5T00L62LP4R9@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 19 Oct 2004 03:19:53 -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 i9J7Jo8E012097 for ; Tue, 19 Oct 2004 09:19:50 +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 i9J7Jo3Y024955 for ; Tue, 19 Oct 2004 09:19:50 +0200 (MEST) In-reply-to: <4173F2D8.50808@id.unizh.ch> 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-Virus-Scanned: by amavisd-milter (http://www.amavis.org/) Xref: main.gmane.org gmane.os.tru64.managers:7686 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7686 Thanks to Randy Rogers, the problem is solved now. I have to delete the hwid 156 (the id from the error message), delete the scsi id 2 and ran the hwmgr scan scsi once again. Ulrich Bernhard wrote: > 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 | +-----------------------------------------------------------+