try ps -ef | grep rmt.... (whatever the tape is) in aix
that might give you a pid and user whio has it -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Steve Ferries Sent: 24 January 2007 14:36 To: u2-users@listserver.u2ug.org Subject: [U2] [UV] Locked tape drive Hi All, AIX 5.3 UV 10.1.14 We have a tape drive that we cannot access. It appears to be locked and barring a reboot, we don't know how to clear it. At the Unix prompt: server:/u1/dbms/TCR# tctl -f /dev/rmt1 rewind /dev/rmt1: Resource temporarily unavailable server:/u1/dbms/TCR# At the uv prompt: >ASSIGN MT1 TO MTU 0 <--- I'm stuck here We did LIST.READU, and cleared the locks that were set against my id: >unlock user 313 all Clearing Record locks. Clearing GROUP locks. Clearing FILE locks. There is obviously someone else who had locked the drive before I arrived, but there are no more users listed in LIST.READU, or PORT.STATUS that show a tape drive being used. PORT.STATUS: 519788 t.stevef 313 /dev/pts/37 ASSIGN MT1 TO MTU 0 Any suggestions? Thanks, Steve Chief Cook/Bottle Washer ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/