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
>
>
Received on Tue Nov 26 2002 - 16:58:23 NZDT