From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lucas Carey Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: tape numbering Date: Mon, 02 Sep 2002 09:52:47 -0400 (EDT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: References: <004801c25224$884070a0$0100a8c0@GRUMBLE> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1030974717 19355 127.0.0.1 (2 Sep 2002 13:51:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 2 Sep 2002 13:51:57 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17lrcR-00051x-00 for ; Mon, 02 Sep 2002 15:51:55 +0200 Original-Received: (qmail 17906 invoked by uid 5); 2 Sep 2002 13:53:20 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 17867 invoked by uid 49493); 2 Sep 2002 13:53:20 -0000 Original-Received: from lcarey@engrailed.ams.sunysb.edu by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. Clear:. Processed in 0.447821 secs); 02 Sep 2002 13:53:20 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 2 Sep 2002 13:53:19 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H1T0071XD8V6P@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 02 Sep 2002 09:53:19 -0400 (EDT) Original-Received: from odd.bio.sunysb.edu (odd.bio.sunysb.edu [129.49.104.25]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H1T00G6OD80GG@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 02 Sep 2002 09:52:49 -0400 (EDT) Original-Received: from engrailed.ams.sunysb.edu (engrailed.ams.sunysb.edu [129.49.108.176]) by odd.bio.sunysb.edu (8.12.5/8.12.5) with ESMTP id g82DqmFG039200 for ; Mon, 02 Sep 2002 09:52:48 -0400 (EDT) Original-Received: from localhost (lcarey@localhost) by engrailed.ams.sunysb.edu (8.11.6/linuxconf) with ESMTP id g82Dql205258 for ; Mon, 02 Sep 2002 09:52:47 -0400 In-Reply-To: <004801c25224$884070a0$0100a8c0@GRUMBLE> Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:1547 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1547 Thanks to Jan Mark Holzer for walking me through this. I had an old entry left from the former tape drive. # hwmgr -show scsi 42: 1 bicoid tape none 0 1 (null) 46: 5 bicoid tape none 0 1 tape1 [0/6/0] I first had to remove the null entry # hwmgr -delete comp -id 42 hwmgr: Delete operation was successful before moving tape1 to tape0 # dsfmgr -m tape1 tape0 tape1=>tape0 tape1_d0=>tape0_d0..... if that didn't work Jan suggested the following: > If this doesn't help you can check your /etc/dfs*.dat files for > an old tape entry and take the HWID from this entry and use > dsfmgr to delete this entry using dsfmgr -R hwid > #HWIDoftheEntry. > > The HWID is in the 4th column of the /etc/dfs*.dat > > Ie. > > # hwmgr -v d | grep tape > 121: /dev/ntape/tape1 DEC TZ89 (C) DEC > bus-1-targ-2-lun-0 > > # dsfmgr -m tape1 tape0 > dsfmgr: ERROR: second device status is active: tape0 > > # grep 'tape 0' /etc/dfsc.dat > A: 0 13001b4 96 34 18 c "" > /dev/ntape/ tape 0 "" > > # dsfmgr -R hwid 96 > [...Output delted...] > # dsfmgr -m tape1 tape0