1833784 Members
2254 Online
110063 Solutions
New Discussion

Re: tape drive problem

 
Tvs
Regular Advisor

tape drive problem

Hi all.

iam facing a problem with my tape drive HP 7980S.

pls find the output of the commands.

root> mt -t /dev/rmt/1m rew
/dev/rmt/1m: Device busy
root> ps -ef | grep /dev/rmt/1m
root 7341 6582 0 12:22:55 pts/ta 0:00 grep /dev/rmt/1m


there is no backup running on the system .but the device is showing busy.. and i want to kill the process which is using the drive but ps -ef not showing any process. how i can recover this.. any utility like fuser.... so that i can kill all the process..

thanks in advance

Regards

TVs
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: tape drive problem

Hi:

You could try:

# fuser -fk /dev/rmt/1m

However, this may be a bad drive.

Regards!

...JRF...
Simon Wickham_6
Regular Advisor

Re: tape drive problem

Hi,

Do a ioscan -fnC tape as Device busy will be display even thought the tape drive is not attached.

Regards,
Simon
DCE
Honored Contributor

Re: tape drive problem



TVs


I have found in the past I have gotten a drive to work by rebooting the system.

I have also found and applied patches that have addreesed the problem

Or it could be a defective drive

DCE
Steven E. Protter
Exalted Contributor

Re: tape drive problem

Shalom,

Sadly sometimes the only way to clear this is the three fingered salute, which in HP-UX is a reboot.

shutdown -ry now

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Andrew Rutter
Honored Contributor

Re: tape drive problem

hi,

make sure the tape is correctly loaded in the 7980S beast.

Also check that the drive says online on the front panel, and no other message. you could always rewind the tape to BOT from the control panel.
Try to unload the tape and then load it again, bad media could also be the problem.
Even if it doesnt work you can have fun watching the tape fly around.

Does the tape drive come online on its own after tape is loaded. If the drive isnt online(ready) then HPUX will think its busy.

Depends what version hpux your running aswell, what does
#mt -t stat
say?
Also check with ioscan that the drive is been picked up properly, and has the correct device files.

last of all, reboot

Andy