1834926 Members
2822 Online
110071 Solutions
New Discussion

Re: ignite backup failed

 
SOLVED
Go to solution
sarfaraj ahmad
Trusted Contributor

ignite backup failed


Hi! i am taking ignite backup on tape drive with below command,

/opt/ignite/bin/make_tape_recovery -Av -a /dev/rmt/0mn
but at last it is showing below error,

* Checking Versions of Ignite-UX filesets
ERROR: This is not a no rewind device file.
ERROR: Check tape device failed.

======= 11/17/08 19:52:19 IST make_tape_recovery completed unsuccessfully

my tape drive status is given below,

Server1# ioscan -kfnC tape
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
tape 9 0/0/1/1/1.1.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/c1t1d0BEST /dev/rmt/c1t1d0BESTn /dev/rmt/c1t1d0DDS /dev/rmt/c1t1d0DDSn
/dev/rmt/c1t1d0BESTb /dev/rmt/c1t1d0BESTnb /dev/rmt/c1t1d0DDSb /dev/rmt/c1t1d0DDSnb
tape 2 0/0/10/1/0/4/0.1.29.255.0.0.0 stape CLAIMED DEVICE HP Ultrium 2-SCSI
/dev/rmt/2m /dev/rmt/2mn /dev/rmt/c4t0d0BEST /dev/rmt/c4t0d0BESTn
/dev/rmt/2mb /dev/rmt/2mnb /dev/rmt/c4t0d0BESTb /dev/rmt/c4t0d0BESTnb

Server1#

so i have confusion on tape drive location which i am specifying with command.

can anyone help me on this issue?
thanks.
16 REPLIES 16
Torsten.
Acclaimed Contributor

Re: ignite backup failed

You don't have a device file named

/dev/rmt/0mn

Your drive C5683A doesn't have a device file like x_mn at all, so I would try to remove and re-create the device files for H/W path

0/0/1/1/1.1.0

using rmsf -H ... and insf -e -H ...

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!   
Steven E. Protter
Exalted Contributor

Re: ignite backup failed

Shalom,

You direct the job to tape device /dev/rmt/0mn

No device by that path/name exists on your system.

Try /dev/rmt/2mn

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
Ganesan R
Honored Contributor

Re: ignite backup failed

Hi Ahmad,

Since you do not have the device file /dev/rmt/0mn, use the below command,

#/opt/ignite/bin/make_tape_recovery -Av -a /dev/rmt/2mn

or

Create the device file at hardware path 0/0/1/1/1.1.0 as Torstan speficied.



Best wishes,

Ganesh.
Ninad_1
Honored Contributor

Re: ignite backup failed

Hi,

You have spotted your mistake correctly.
You do not have tape drive with device name as 0mn - It seems you have 2 drives.
1 - DAT drive (0/0/1/1/1.1.0) and other is LTO 2 drive (0/0/10/1/0/4/0).

Ideally there are some more device names like /dev/rmt/1m , 1mn , 1mb and 1mnb associated apart from the BEST and DDS names. - not sure why they are not appearing in your case.

But you can tyr using the device names shown in your ioscan - /dev/rmt/c1t1d0DDS for the DAT drive or /dev/rmt/2m for your LTO2 drive.

Regards,
Ninad
sreekanthtm
Trusted Contributor

Re: ignite backup failed

Hi,
You have 2 tape drives in your server,
But, the device file you specified in the command is not pointing to any of the device.
You can try # /opt/ignite/bin/make_tape_recovery -Av -a /dev/rmt/2mn
The command will take ignite backup on your second tape drive (2 0/0/10/1/0/4/0.1.29.255.0.0.0)

If you want to take backup on your first tape drive, first you have to create the device files. Follow the steps given by Torsten.
#rmsf -H 9 0/0/1/1
#insf -e -H 9 0/0/1/1

Then find the corresponding device file name from ioscan, and take backup.

Rgds
Sreekanth
sarfaraj ahmad
Trusted Contributor

Re: ignite backup failed


i tried to recreate the device file, but the device name doesn't changed. i also tried with below shown location "/dev/rmt/c1t1d0BESTn", but it again failed with the same error.

server1# insf -e -H 0/0/1/1/1.1.0
insf: Installing special files for stape instance 9 address 0/0/1/1/1.1.0

server1# ioscan -kfnC tape
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
tape 9 0/0/1/1/1.1.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/c1t1d0BEST /dev/rmt/c1t1d0BESTn /dev/rmt/c1t1d0DDS /dev/rmt/c1t1d0DDSn
/dev/rmt/c1t1d0BESTb /dev/rmt/c1t1d0BESTnb /dev/rmt/c1t1d0DDSb /dev/rmt/c1t1d0DDSnb

kindly suggest.
sreekanthtm
Trusted Contributor

Re: ignite backup failed

Hi,

Have you removed the device files, using rmsf? If not, please remove, and then recreate.....

Rgds
Sreekanth
sarfaraj ahmad
Trusted Contributor

Re: ignite backup failed


hi, i have removed and recreated the device file but still the tape drive name doesn't changed.

server1# rmsf -H 0/0/1/1/1.1.0

server1# insf -e -H 0/0/1/1/1.1.0
insf: Installing special files for stape instance 9 address 0/0/1/1/1.1.0

server1# ioscan -kfnC tape
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
tape 9 0/0/1/1/1.1.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/c1t1d0BEST /dev/rmt/c1t1d0BESTn /dev/rmt/c1t1d0DDS /dev/rmt/c1t1d0DDSn
/dev/rmt/c1t1d0BESTb /dev/rmt/c1t1d0BESTnb /dev/rmt/c1t1d0DDSb /dev/rmt/c1t1d0DDSnb
sreekanthtm
Trusted Contributor

Re: ignite backup failed

Hi,
Can you post the o/p of # ioscan -fnC tape
because ioscan -kfnC will show the cache.

and what about the other tape drive? Did you tried with that??

Rgds
Sreekanth
Torsten.
Acclaimed Contributor

Re: ignite backup failed

Meanwhile you can try this:

# /opt/ignite/bin/make_tape_recovery -Av -a /dev/rmt/c1t1d0BESTn

Please post

# ll /dev/rmt

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!   
sarfaraj ahmad
Trusted Contributor

Re: ignite backup failed

hi srikanth,
the first tape is my local DAT drive and others are showing from our Tape library.i want to take backup on my local drive on DDS tape.

server1# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
tape 9 0/0/1/1/1.1.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/c1t1d0BEST /dev/rmt/c1t1d0BESTn /dev/rmt/c1t1d0DDS /dev/rmt/c1t1d0DDSn
/dev/rmt/c1t1d0BESTb /dev/rmt/c1t1d0BESTnb /dev/rmt/c1t1d0DDSb /dev/rmt/c1t1d0DDSnb
tape 2 0/0/10/1/0/4/0.1.29.255.0.0.0 stape CLAIMED DEVICE HP Ultrium 2-SCSI
/dev/rmt/2m /dev/rmt/2mn /dev/rmt/c4t0d0BEST /dev/rmt/c4t0d0BESTn
/dev/rmt/2mb /dev/rmt/2mnb /dev/rmt/c4t0d0BESTb /dev/rmt/c4t0d0BESTnb
sarfaraj ahmad
Trusted Contributor

Re: ignite backup failed

hi torsten,
there is a lot of files in /dev/rmt
server1# ll /dev/rmt
total 0
crw-rw-rw- 2 bin bin 205 0x013000 Jun 8 03:30 0m
crw-rw-rw- 2 bin bin 205 0x013080 Jun 8 03:30 0mb
crw-rw-rw- 2 bin bin 205 0x013040 Jun 8 03:30 0mn
crw-rw-rw- 2 bin bin 205 0x0130c0 Jun 8 03:30 0mnb
crw-rw-rw- 2 bin bin 205 0x050000 Aug 4 2005 1m
crw-rw-rw- 2 bin bin 205 0x050080 May 28 2005 1mb
crw-rw-rw- 2 bin bin 205 0x050040 Nov 9 07:09 1mn
crw-rw-rw- 2 bin bin 205 0x0500c0 May 28 2005 1mnb
crw-rw-rw- 2 bin bin 205 0x040000 May 28 2005 2m
crw-rw-rw- 2 bin bin 205 0x040080 May 28 2005 2mb
crw-rw-rw- 2 bin bin 205 0x040040 Nov 9 13:54 2mn
crw-rw-rw- 2 bin bin 205 0x0400c0 May 28 2005 2mnb
crw-rw-rw- 2 bin bin 205 0x050100 May 28 2005 3m
crw-rw-rw- 2 bin bin 205 0x050180 May 28 2005 3mb
crw-rw-rw- 2 bin bin 205 0x050140 Nov 9 15:58 3mn
crw-rw-rw- 2 bin bin 205 0x0501c0 May 28 2005 3mnb
crw-rw-rw- 2 bin bin 205 0x120000 Jun 8 03:30 c18t0d0BEST
crw-rw-rw- 2 bin bin 205 0x120080 Jun 8 03:30 c18t0d0BESTb
Torsten.
Acclaimed Contributor

Re: ignite backup failed

The existing device files in /dev/rmt and your devices don't fit together.

I would try to manually delete all the 0m* 1m* and 3m* file and try "insf -e -C tape" again.

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!   
sreekanthtm
Trusted Contributor

Re: ignite backup failed

Try this

# /opt/ignite/bin/make_tape_recovery -Av -a /dev/rmt/2mn

What error msg you are getting here??

Rgds
Sreekanth
Ninad_1
Honored Contributor
Solution

Re: ignite backup failed

Since the DAT drive is to be used for the ignite backup - pls try using /dev/rmt/c1t1d0BESTn device.

Regards,
Ninad
sarfaraj ahmad
Trusted Contributor

Re: ignite backup failed

Yes After changing the Drive path backup was completed.

Thanks everybody.