Question : Tape drive is not working


We have AIX 5.1 server which mksysb tape backup configured. and backup is failing due to following error.  I dont any update in errpt . I am unable to remove it from odm also. How to proceed ?

[XXXXX:] /usr/bin/tctl -f /dev/rmt0 rewind
/dev/rmt0: Resource temporarily unavailable
[xxxxx:root:/var/log/ibm:]





[xxxxx:root:/var/log/ibm:] /usr/bin/tctl -f /dev/rmt0 rewind
/dev/rmt0: Resource temporarily unavailable
[wardia1tmrb00:root:/var/log/ibm:] /usr/bin/tctl -f /dev/rmt0 status
rmt0 Available 10-60-00-1,0 Other SCSI Tape Drive
attribute      value description                               user_settable

mode           yes   Use DEVICE BUFFERS during writes          True
block_size     512   BLOCK size (0=variable length)            True
extfm          yes   Use EXTENDED file marks                   True
maxlun         7     LVD SCSI Tape Drive                       True
res_support    no    RESERVE/RELEASE support                   True
var_block_size 0     BLOCK SIZE for variable length support    True
density_set_1  0     DENSITY setting #1                        True
density_set_2  0     DENSITY setting #2                        True
delay          45    Set delay after a FAILED command          True
rwtimeout      144   Set timeout for the READ or WRITE command True
ret_error      no    RETURN error on tape change or reset      True
[xxxxx:root:/var/log/ibm:] /usr/bin/tctl -f /dev/rmt0 rewind
/dev/rmt0: Resource temporarily unavailable
[xxxxx:root:/var/log/ibm:] /usr/bin/tctl -f /dev/rmt0 fsf
/dev/rmt0: Resource temporarily unavailable
[xxxxx:root:/var/log/ibm:]

Answer : Tape drive is not working

Hi,

seems that your tape is in use by another process.

Try to find it with

fuser /dev/rmt0

wmp

Random Solutions  
 
programming4us programming4us