tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Mike Broderick <broderic@MIT.EDU>
Subject: Summary: (old) 5.1a: cannot delete old tape device
Date: Tue, 26 Nov 2002 11:57:16 -0500	[thread overview]
Message-ID: <3DE3A7EC.5020400@mit.edu> (raw)
In-Reply-To: 3D822D90.3D50316E@mit.edu


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 <hwid>
hwmgr del -did <devid>
dsfmgr -R hwid <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
>  
>



      reply	other threads:[~2002-11-26 16:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-13 18:25 5.1a: cannot delete old tape device Mike Broderick
2002-11-26 16:57 ` Mike Broderick [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox