aettorre

updated

3 years ago

A

aettorre

23 Posts

0

3765

September 21st, 2006 05:00

device is not idle

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?

The OS is solari 9 and NW is 7.2.2
  • xvan_egmond

    74 Posts

    1848

    0

    Posted December 16th, 2006 01:00

    Antonio,

    try using nsrjb -HHEf
    Usually this will release the drive
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    1848

    0

    Posted September 21st, 2006 07:00

    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 :D

    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).
  • bbeckers1

    2 Intern

    •

    205 Posts

    •

    6 Points

    1848

    0

    Posted December 21st, 2006 16:00

    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.

    Message was edited by:
    Barry Beckers
  • SanSow

    1 Message

    0

    0

    Posted December 27th, 2023 20:15

    @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