Operating System - HP-UX
1819579 Members
3420 Online
109603 Solutions
New Discussion юеВ

output file /dev/rmt/0m is currently being used and not available

 
hops_303
New Member

output file /dev/rmt/0m is currently being used and not available

this is the error i receive when trying to backup to a dlt tape drive using fbackup. i know very little about hp-ux, so i have no idea how to troubleshoot this problem and have not had much luck searching for info on the web. thanks.
5 REPLIES 5
Vivek Bhatia
Trusted Contributor

Re: output file /dev/rmt/0m is currently being used and not available

okay

First of all check

1. mt -f /dev/rmt/0mn status

Paste the command and the error message you are getting.

Thanks
Vivek Bhatia
hops_303
New Member

Re: output file /dev/rmt/0m is currently being used and not available

i tried the command mt -f /dev/rmt/0m status and got this message

mt: unknown command "status"

i tried mt -t /dev/rmt/0m rew and got this message

/dev/rmt/0m: Device busy

Any o
Dennis Handly
Acclaimed Contributor

Re: output file /dev/rmt/0m is currently being used and not available

>i tried the command mt -f /dev/rmt/0m status and got this message
mt: unknown command "status"

What OS version are you using? status is valid on 11.00.

Can you use fuser(1m) to find who is using it?
# fuser -f /dev/rmt/0m

The tape drive could also be jammed.
Sandeep_Chaudhary
Trusted Contributor

Re: output file /dev/rmt/0m is currently being used and not available

use "fuser -ku /dev/rmt/0mn"
hops_303
New Member

Re: output file /dev/rmt/0m is currently being used and not available

we are using B.11.00... i'm not sure why the 'status' option doesn't work.

the problem is resolved. i'm not sure how... someone must have had a lock on the tape drive or maybe a process hung up. i'm not sure but thank you very much for your help everyone.