* 5.1a: cannot delete old tape device
@ 2002-09-13 18:25 Mike Broderick
2002-11-26 16:57 ` Summary: (old) " Mike Broderick
0 siblings, 1 reply; 2+ messages in thread
From: Mike Broderick @ 2002-09-13 18:25 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Summary: (old) 5.1a: cannot delete old tape device
2002-09-13 18:25 5.1a: cannot delete old tape device Mike Broderick
@ 2002-11-26 16:57 ` Mike Broderick
0 siblings, 0 replies; 2+ messages in thread
From: Mike Broderick @ 2002-11-26 16:57 UTC (permalink / raw)
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
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-26 16:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-13 18:25 5.1a: cannot delete old tape device Mike Broderick
2002-11-26 16:57 ` Summary: (old) " Mike Broderick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox