From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mike Broderick Newsgroups: gmane.os.tru64.managers Subject: Summary: (old) 5.1a: cannot delete old tape device Date: Tue, 26 Nov 2002 11:57:16 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3DE3A7EC.5020400@mit.edu> References: <3D822D90.3D50316E@mit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1038329760 28073 80.91.224.249 (26 Nov 2002 16:56:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 26 Nov 2002 16:56:00 +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 18Gj09-0007IP-00 for ; Tue, 26 Nov 2002 17:55:57 +0100 Original-Received: (qmail 13751 invoked by uid 5); 26 Nov 2002 16:57:52 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 13742 invoked by uid 49493); 26 Nov 2002 16:57:51 -0000 Original-Received: from broderic@MIT.EDU by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.51. spamassassin: 2.50-cvs. Clear:SA:0(-7.3/5.0):. Processed in 0.437899 secs); 26 Nov 2002 16:57:51 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 26 Nov 2002 16:57:51 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H6700B0K0GE8G@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 26 Nov 2002 11:57:51 -0500 (EST) Original-Received: from pacific-carrier-annex.mit.edu (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.7.21.83]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H670096U0G9GT@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 26 Nov 2002 11:57:46 -0500 (EST) Original-Received: from grand-central-station.mit.edu (GRAND-CENTRAL-STATION.MIT.EDU [18.7.21.82]) by pacific-carrier-annex.mit.edu (8.9.2/8.9.2) with ESMTP id LAA17379 for ; Tue, 26 Nov 2002 11:57:44 -0500 (EST) Original-Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by grand-central-station.mit.edu (8.9.2/8.9.2) with ESMTP id LAA22357 for ; Tue, 26 Nov 2002 11:57:43 -0500 (EST) Original-Received: from mit.edu (VBALL.MIT.EDU [18.94.0.87]) by melbourne-city-street.mit.edu (8.9.2/8.9.2) with ESMTP id LAA08897 for ; Tue, 26 Nov 2002 11:57:43 -0500 (EST) Original-To: tru64-unix-managers X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 Xref: main.gmane.org gmane.os.tru64.managers:2572 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2572 This is an old one but we just had a maintenance window this weekend for other things and was able to address it. Thanks for help from Richard Jackson, Tom Webster and Chris Eckert, the latter who said the devices could not be deleted in the current state because the driver owner was 4. not 0. After the maintenance adn reboot, the dirver owner was 0 and the below commands worked. On some systems after the reboot, 'hwmgr show dev' did not show certain devices, but 'hwmgr show scsi' did. Using combinations of these commands cleared everything up. hwmgr del comp -id hwmgr del -did dsfmgr -R hwid dsfmgr -v -F -V _Mike Mike Broderick wrote: >I'm having trouble deleting an old device on 5.1a... > ># hwmgr dele comp -id 105 >hwmgr: Error (95) Cannot start operation. ># hwmgr dele comp -id 105 >hwmgr: Error (95) Cannot start operation. ># hwmgr dele -did 22 >hwmgr: Error (95) Cannot start operation. > >If it matters, we replaced an FCTC on our SAN and the tape showed up as a new >device (new FCTC WWID) so I used 'dsfmgr -m old tape99; dsfmgr -m new old' so we >can use the same device name/number. I've done these things also but the above >commands yeild the same error: > ># dsfmgr -k ># dsfmgr -K ># dsfmgr -D tape99\* ># dsfmgr -R hwid 22 ># > >This is not urgent but I'd like to be able to clean up these old devices. > >Thanks for any tips/pointers. > _Mike > >P.S. - Here's some other possibly pertinent info on the devices... > > ># ls /dev/tape/tape99* >ls: No match. ># hwmgr show scsi -id 105 > > SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST > HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH >------------------------------------------------------------------------- > 105: 22 pecan tape none 4 3 tape99 ># hwmgr show scsi -id 105 -full > > SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST > HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH >------------------------------------------------------------------------- > 105: 22 pecan tape none 4 3 tape99 > > WWID:04100022:"QUANTUM DLT7000 CX926S2065" > > > BUS TARGET LUN PATH STATE > ------------------------------ > 4 17 5 stale > 6 17 5 stale > 7 3 5 stale > >