On Tru64, it sucks when a faulty device is replaced and the new device now uses a different device file. The example below is how to delete the old device from hardware manager's database and how to rename the device special files using dsfmgr.
for reference: man hwmgr_ops
First, delete the old device:
# hwmgr show scsi -type tape
-get hwid of old device
-in this case tape1 was hwid 165
# hwmgr delete -id 165
hwmgr: Delete operation was successful
Second, move the new device file to the old name.
# dsfmgr -m tape2 tape1
# hwmgr show scsi -type tape
-get hwid of old device
-in this case tape1 was hwid 165
# hwmgr delete -id 165
hwmgr: Delete operation was successful
Second, move the new device file to the old name.
# dsfmgr -m tape2 tape1
No comments:
Post a Comment