Operating System - HP-UX
1832552 Members
6155 Online
110043 Solutions
New Discussion

Making Tape Recovery (backup) in HP-UX

 
SOLVED
Go to solution
Stars_1
New Member

Making Tape Recovery (backup) in HP-UX

Hi all,

I am trying to make a tape backup in HP-UX, but I ran into an issue yesterday. Here is the command I entered:

# /opt/ignite/bin/make_tape_recovery -AvI

This is the error that I received:

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

ERROR: Check tape device failed.


Does anybody know how to remedy this error? I have been searching online for answers to no avail. Thanks in advance.
9 REPLIES 9
Pete Randall
Outstanding Contributor
Solution

Re: Making Tape Recovery (backup) in HP-UX

Post the output of "ll /dev/rmt/0mn" please. Perhaps you don't even have that particular device file?


Pete

Pete
Torsten.
Acclaimed Contributor

Re: Making Tape Recovery (backup) in HP-UX

Do you get something similar returned if you perform this:

# ll /dev/rmt
total 0
crw-rw-rw- 2 bin bin 205 0x010000 May 16 2007 0m
crw-rw-rw- 2 bin bin 205 0x010080 May 16 2007 0mb
crw-rw-rw- 2 bin bin 205 0x010040 May 16 2007 0mn
crw-rw-rw- 2 bin bin 205 0x0100c0 May 16 2007 0mnb
crw-rw-rw- 2 bin bin 205 0x010000 May 16 2007 c1t0d0BEST
crw-rw-rw- 2 bin bin 205 0x010080 May 16 2007 c1t0d0BESTb
crw-rw-rw- 2 bin bin 205 0x010040 May 16 2007 c1t0d0BESTn
crw-rw-rw- 2 bin bin 205 0x0100c0 May 16 2007 c1t0d0BESTnb
crw-rw-rw- 1 bin bin 205 0x010001 May 16 2007 c1t0d0DDS
crw-rw-rw- 1 bin bin 205 0x010081 May 16 2007 c1t0d0DDSb
crw-rw-rw- 1 bin bin 205 0x010041 May 16 2007 c1t0d0DDSn
crw-rw-rw- 1 bin bin 205 0x0100c1 May 16 2007 c1t0d0DDSnb
crw-r--r-- 1 bin bin 205 0xfffffe Mar 14 2006 stape_config


Don't know what happens if you use a write protected tape, but better to check this.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Srikanth Arunachalam
Trusted Contributor

Re: Making Tape Recovery (backup) in HP-UX

Hi,

There could be problem with your tape device.
What is the output of ?

"mc -p /dev/robot -r DS"

If you see some error as given below, the driver file might not have been created.

ERROR: 0x6 Unit Attention : 0x2800 Not ready to ready transition.

/dev/robot is the device file. It may change across different tape vendor.

Thanks,
Srikanth
Stars_1
New Member

Re: Making Tape Recovery (backup) in HP-UX

Thanks for such prompt help.

Here is the output for ll /dev/rmt/0nm:

crwxrwxrwx 2 bin bin 205 0x013040 Aug 27 15:41 /dev/rmt/0mn

And Torsten I get an identical return to yours with the command ll /dev/rmt.
Pete Randall
Outstanding Contributor

Re: Making Tape Recovery (backup) in HP-UX

How about

# whoami
root

and

# who am i
root ttyp6 Sep 26 13:41


Pete

Pete
Stars_1
New Member

Re: Making Tape Recovery (backup) in HP-UX

Srikanth,

I do not have the /dev/robot directory, I could not complete the command.

Pete,

My whoami output is identical. Here is my who am i output:

root pts/tb Dec 5 11:05
James R. Ferguson
Acclaimed Contributor

Re: Making Tape Recovery (backup) in HP-UX

Hi:

Is you tape write-enabled? Can you do:

# tar -cv /etc/hosts

...and post the output, please.

Regards!

...JRF...
Stars_1
New Member

Re: Making Tape Recovery (backup) in HP-UX

Hi James,

My output for your command is:

tar: cannot open /dev/rmt/0m
Srikanth Arunachalam
Trusted Contributor

Re: Making Tape Recovery (backup) in HP-UX

Hi,

Please confirm if you use the ULTRIUM tape drive. If so, I can give you the instruction for creating the robotics device.

Thanks,
Srikanth