Sponsored Content
Operating Systems AIX Tape device temporarily unavailable Post 302555159 by petervg on Wednesday 14th of September 2011 04:21:15 AM
Old 09-14-2011
Tape device temporarily unavailable

Hi All,

After (by accident) closing a session that ran a restore command I can not access the tape drive anymore.

I get the following error:
Code:
# tctl -f /dev/rmt0 rewind
/dev/rmt0: Resource temporarily unavailable

But I cannot find any processes associated with the tape device:
Code:
# ps -ef | egrep "restore|rmt"
    root 4595872 4321502   0 09:59:54 pts/71  0:00 egrep restore|rmt
# fuser /dev/rmt0
/dev/rmt0:

Although AIX says that the device is available:
Code:
# lsdev -Cc tape
rmt0 Available 06-08-01-0,0 LVD SCSI 4mm Tape Drive

I cannot remove the device and then add it:
Code:
# rmdev -dl rmt0
Method error (/etc/methods/ucfgdevice):
        0514-062 Cannot perform the requested function because the
                 specified device is busy.

Still I can access the attributes of the device:
Code:
# lsattr -El rmt0
block_size    1024  BLOCK size (0=variable length)       True
compress      yes   Use data COMPRESSION                 True
density_set_1 71    DENSITY setting #1                   True
density_set_2 38    DENSITY setting #2                   True
extfm         yes   Use EXTENDED file marks              True
mode          yes   Use DEVICE BUFFERS during writes     True
ret           no    RETENSION on tape change or reset    True
ret_error     no    RETURN error on tape change or reset True
size_in_mb    36000 Size in Megabytes                    False

Which procedure should I follow to get access to the tape device again?
 

10 More Discussions You Might Find Interesting

1. Solaris

Device PS1 AC UNAVAILABLE

Hi im getting this error on my solaris server. sscprvmds001 picld: Device PS1 AC UNAVAILABLE Does anyone know what this means (1 Reply)
Discussion started by: dennisca
1 Replies

2. Solaris

sendto failing "resource temporarily unavailable"

Well, I am not even sure if its failing, cause at the other end I have a select call and it wakes up and reads the data I sent fine. Ok here is the issue, I have a UDP socket(non blocking) through which I push some data to another port. At the other end I have select loop, waiting for this data.... (6 Replies)
Discussion started by: Naanu
6 Replies

3. Solaris

fork: Resource temporarily unavailable - What can I check ?

Hi everybody, I have an Unix box running Solaris and every day for 1 hour or 2 the box is stuck and I can only get this error message when trying to type a command : bash-3.00$ vmstat 5 bash: fork: Resource temporarily unavailable How can I trace what's is going wrong with this box ?... (5 Replies)
Discussion started by: unclefab
5 Replies

4. Solaris

Unix file temporarily unavailable

Morning, I logged on to my webserver today and checked /var/adm/messages. I just happen to run across this message: Sep 3 13:15:21 web1 nfs: file temporarily unavailable on the ser ver, retrying... Is there a problem with nfs? Are the files locked? (9 Replies)
Discussion started by: dr. phreeze
9 Replies

5. UNIX for Dummies Questions & Answers

Resource temporarily unavailable Error In Socket

Hi, Now I am programming to communicate with some network printer through TCP Socket program.By sending command "\033E 1\r" to printer,causes, check the port for error normally. In my case i used following code bytesSent = send( sockfd, "\033E 1\r",sizeof("\033E 1\r"), 0); ... (1 Reply)
Discussion started by: kavinsivakumar
1 Replies

6. Red Hat

cannot set user id: Resource temporarily unavailable (not open file/open process related)

First post, sorry to be a bother but this one has been dogging me. I have a process user (java application server) that trips a resource limit every couple weeks and need help finding what limit we're hitting. First, this is what's running: This is the error when jobs are run or the... (0 Replies)
Discussion started by: Katahdin
0 Replies

7. UNIX for Advanced & Expert Users

fork: Resource temporarily unavailable , server unexpectedly unavailable network connection

Solaris 10 Server refuse to connect :wall: fork: Resource temporarily unavailable , server unexpectedly unavailable network connection , refuse error, disconnect message, fatal error type2, (protocol error type2) Issue has been resolved after taken few steps :b: First of all need to check... (1 Reply)
Discussion started by: taherahmed
1 Replies

8. UNIX for Dummies Questions & Answers

Fork: Resource Temporarily Unavailable

I wrote a script that works most of the time but gave me fork: resource temporarily unavailable some of the time. I restarted my computer and now it runs fine but googling "fork: resource temporarily unavailable" and looking on the forums has not actually helped me figure out what exactly I... (3 Replies)
Discussion started by: monstrousturtle
3 Replies

9. Programming

[ERROR:Resource temporarily unavailable!] Serial writing by termios library

Hello, I am using the termios library to write data that I get from a Bluetooth device to a modem via serial. The data arrive from the Bluetooth device correctly every 50ms and I have to bypass them on the serial ttyUSB3 where it is connected to a modem connected to a socket with static IP. The... (10 Replies)
Discussion started by: enaud
10 Replies

10. Shell Programming and Scripting

Fork: Resource temporarily unavailable

Hi friends, Working on a linux X86-64 bit system, I suddenly started getting this error (mentioned in subject) from various scripts. I googled, found that there are couple of reason which causes this issue. - less memory I am pretty sure, memory seems to be stable on my system and at the... (15 Replies)
Discussion started by: clx
15 Replies
tms(4)							     Kernel Interfaces Manual							    tms(4)

Name
       tms - TMSCP magnetic tape interface

Syntax
       For UNIBUS, Q-bus:
	  controller klesiu0 at uba0
	  controller uq0 at klesiu0 csr 0174500 vector uqintr
	  tape tms0 at uq0 drive 0

       For MSI Bus:
	  adapter msi0 at nexus?
	  controller dssc0 at msi0 msinode 0
	  tape tms0 at dssc0 drive 3

       For VAXBI:
	  controller klesib0 at vaxbi0 node 0
	  controller uq0 at klesib0 vector uqintr
	  tape tms0 at uq0 drive 0

	  controller aie0 at vaxbi? node?
	  controller bvpssp0 at aie0 vector bvpsspintr
	  tape tms0 at bvpssp0 drive 0

       For MSI Bus:
	  adapter msi0 at nexus?
	  controller dssc0 at msi0 msinode 0
	  tape tms0 at dssc0 drive 0

       For VAX CI/HSC:
	  adapter ci0 at nexus?
	  adapter ci0 at vaxbi? node?
	  controller hsc0 at ci0 cinode 6
	  tape tms0 at hsc0 drive 3

Description
       Prior to Version 2.0, this device was referenced by tmscp(4).

       The  TMSCP  driver  provides  a standard tape drive interface, as described in This is a driver for any controller that adheres to the Tape
       Mass Storage Control Protocol (TMSCP).  The TMSCP controllers communicate with the host through a packet-oriented protocol termed the  Tape
       Mass  Storage  Control Protocol.  This driver also supports n-buffered reads and writes to the raw tape interface (used with streaming tape
       drives).  See for further details.

Tape Support
       TK50, TK70, TF70, TU81, TU81e, TA78, TA79, TA81, RV20, TA90, TA90E, TA91

Diagnostics
       All diagnostic messages are sent to the error logger subsystem.

Files
See Also
       mtio(4), nbuf(4), MAKEDEV(8), uerf(8), tapex(8)
       Guide to the Error Logger

																	    tms(4)
All times are GMT -4. The time now is 01:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy