Re: make_tape_recovery

Go to solution
mohd hashimi
Occasional Contributor


hi all ...

how to generate command

make_tape_recovery to my whole vg00 ..

the one i got here is ;

make_tape_recovery -l -v -x inc_entire=vg00 -a /dev/rmt/0m

this is the result ...

/-> make_tape_recovery -l -v -x inc_entire=vg00 -a /dev/rmt/c0t2d0BEST
* Creating local directories for configuration files and archive.

======= 05/19/07 13:24:03 mal Started make_tape_recovery. (Sat May 19
13:24:03 mal 2007)
@(#) Ignite-UX Revision B.3.6.82
@(#) net_recovery (opt) $Revision: 10.567 $

* Testing pax for needed patch
* Passed pax tests.
* Checking Versions of Ignite-UX filesets
ERROR: This is not a no rewind device file.
ERROR: Check tape device failed.

======= 05/19/07 13:24:05 mal make_tape_recovery completed unsuccessfully
Rasheed Tamton
Honored Contributor

Re: make_tape_recovery


Use a no rewind device

/opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn
Rasheed Tamton
Honored Contributor

Re: make_tape_recovery

You can use the lssf command to see the information about a specific device file. Below it shows the tape device info - AT&T no rewind and Berkeley no rewind

# lssf /dev/rmt/0mn
tape2 card instance 0 SCSI target 4 SCSI LUN 0 at&t no rewind best density available at address 0/0.4.0 /dev/rmt/0mn

# lssf /dev/rmt/0mnb
tape2 card instance 0 SCSI target 4 SCSI LUN 0 berkeley no rewind best density available at address 0/0.4.0 /dev/rmt/0mnb
Valued Contributor

Re: make_tape_recovery

Dear hashmi,

Use following command only.

make_tape_recovery -A

Regular Advisor

Re: make_tape_recovery


The problem is not with command . I you
are using /dev/rmt/0mn there is no need to specify this device. Before running the recovery check the status of drive and tape.

lssf /dev/rmt/0mn

mt -rw

make_tape_recovery -l -v -x inc_entire=vg00
Hoang Chi Cong_1
Honored Contributor

Re: make_tape_recovery


Need to check for the tape device first!Also can rewind the tape from begining:
Resuming the tape device's file:/dev/rmt/0mn

#mt -f /dev/rmt/0mn rew

Do this command and you will have whole vg00 data:
#make_tape_recovery -v -A -I -x inc_entire=vg00 -a /dev/rmt/0mn
Looking for a special chance.......
Steven E. Protter
Exalted Contributor

Re: make_tape_recovery


You run:
make_tape_recovery -l -v -x inc_entire=vg00 -a /dev/rmt/0m

I run without specifying the device since /dev/rmt/0m is the default anyway.

Assuming all the devices are still present this will solve the problem. Otherwise, you may need to insf -e the system again.

Steven E Protter
Owner of ISN Corporation
mohd hashimi
Occasional Contributor

Re: make_tape_recovery

Thanks guys ..

really apreaciate this info

tqvm ;)
Nguyen Anh Tien
Honored Contributor

Re: make_tape_recovery

I think the key is target
You should use
#make_tape_recovery -A /dev/rmt/0mn
0mn is rewind device

Other devices will support other function, such as:
dev/rmt/c4t1d0BESTn is rewind device with best density available

General; n mean rewind device
HP is simple