因為磁帶機故障送修,回來後接上機器,但是在HP Data Protector卻沒有辦法使用原來的Drivers,
只好將它刪除,重建Drivers,但是在掃描磁帶時卻出現下列錯誤的訊息,以致無法操作:
Device is already locked by someone else (and no sessions running)
查lock的訊息
hp7420:/opt/omni/sbin>./omnidbutil -show_locked_devs
Locked devices/media/cartridges:
================================
Type: Device
Name/Id: HP:Ultrium 1-SCSI:HU74B00251
Pid: 7358
Host: hp7420
解開lock,會詢問是否確定要unlock,輸入y
hp7420:/opt/omni/sbin>./omnidbutil -free_locked_devs
Are you sure you want to unlock ALL locked devices/media/cartridges (y/n)? y
DONE!
重新查詢後就看不到被lock了
hp7420:/opt/omni/sbin>./omnidbutil -show_locked_devs
Locked devices/media/cartridges:
================================
No locked devices/media/cartridges found!
最後再重建Drivers,這次掃描就成功了。