Operating System - HP-UX
1834089 Members
2428 Online
110063 Solutions
New Discussion

Failed to open tape device /dev/rmt/0mn:Permission denied (errno=13)

 
SOLVED
Go to solution
Josh Wilson
Occasional Contributor

Failed to open tape device /dev/rmt/0mn:Permission denied (errno=13)

I am working with an HP9000 System. (HP-UX 11.00) and am trying to create an ignite tape backup of my system.

When I type:
make_tape_recovery -x inc_entire=vg00
it reports back an error stating that it failed to open tape device /dev/rmt/0mn.

When I perform an "ioscan -fnC tape" my devices show /dev/rmt/0mn in the list.

Can anyone help me? (Additional info and command output is attached.)
Often, being an expert simply means being able to find the answer faster than anyone else.
4 REPLIES 4
Steven E. Protter
Exalted Contributor
Solution

Re: Failed to open tape device /dev/rmt/0mn:Permission denied (errno=13)

most common cause:
no tape
write tab wrong on tape

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
G. Vrijhoeven
Honored Contributor

Re: Failed to open tape device /dev/rmt/0mn:Permission denied (errno=13)

Hi,

Might be a stupid question, but is the tape write protected?

Gideon
Maxpert IT Service Cent
Occasional Advisor

Re: Failed to open tape device /dev/rmt/0mn:Permission denied (errno=13)

In the ioscan list - /dev/rmt/0mn has status CLAIMED?
If not there is something wrong with the Hardware.

Try also a "diskinfo /dev/rmt/0mn" - what is the result?

A tape in inserted to the drive I assume :)
Josh Wilson
Occasional Contributor

Re: Failed to open tape device /dev/rmt/0mn:Permission denied (errno=13)

Well don't I feel daft. The tape was, in fact, write protected. After spending hours working on this server this weekend and applying the appropriate patches so that I could even use Ignite, I failed to check the tape's write tab.

Thanks a bunch for helping me solve this apparently trivial issue.
Often, being an expert simply means being able to find the answer faster than anyone else.