Hi to all,
someone knows in which way I can reset the status of a tape drive?
The problem is that a tape drive is unusable, cause its status is not idle, but it doesn't perform anything.
I can't use nsrjb -v -HE cause i can't unload the other tape drives.
Can i find the process of it (fuser doesn't work) and kill?
Not sure if that still works with 7.2.2, but you may wish to try nsrjb -Hv -f /dev/rmt/blah. Usually that won't help
From past experience, you have much better chances fixing this by finding pid of nsrmmd via fuser and killing nsrmmd associated with path then. If you can't kill it - it means it is gone banana at kernel level and reboot would be only option. That is rare, but when it happens it points toward HW issue (meaning in such case you should check also system logs).
Within 7.2.2 resetting an individual device is not supported anymore, while that was stilll the case in 7.2.1 (not a behaviour you would expect from a minor update from 7.2.1 to 7.2.2...). Just like 7.3 you now can only reset a complete jukebox (sadly with as additional consequence the unloading of other loaded tapedrives as well).
But still use the "nsrjb -HHEv option" as the double-H makes sure that a tape is put back in the slot it came from and not in a random free slot and the -E reinitializes the state of the slots and drives, if the jukebox supports this. Due to -E Networker then checks if it the drive is really empty instead of depending on what Networker thinks is in the drive and updates the drive state accordingly.
@xvan_egmond Does this also work for version 19.1, I have other devices running clone job now and running the command , will it affect the current running job . Is there any other way to trace out pid associated with tape drive and kill it and unmount tape . OS is RHEL linux and EMC version is 19.1.1
xvan_egmond
74 Posts
1848
0
Posted December 16th, 2006 01:00
try using nsrjb -HHEf
Usually this will release the drive