Operating System - HP-UX
1834478 Members
3431 Online
110067 Solutions
New Discussion

Re: Verifying an Ignite tape?

 
SOLVED
Go to solution
Kevin Bushman
Occasional Advisor

Verifying an Ignite tape?

What's the preferred way to verify an Ignite-UX tape? We're doing an upgrade and I want to verify my ignite tape(s) before I blow away the O/S!

TIA
6 REPLIES 6
RAC_1
Honored Contributor

Re: Verifying an Ignite tape?

boot from tape and check.

Exit after it starts. Exit to shell and reboot your machine.

Anil
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: Verifying an Ignite tape?

The ONLY way to be sure is what RAC said.

But.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=468268

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
Jeff Schussele
Honored Contributor
Solution

Re: Verifying an Ignite tape?

Hi Kevin,

As RAC implies, the only *sure* way is to totally restore a system with it. Not a very practical method, huh?

What I do is create TWO tapes & then check them both by:

1) mt rew #rewind the tape - if it's not /dev/rmt/0mn, you'll need -f /dev/rmt/Xmn where X=instance number

2) mt fsf 1 #This skips one file space - the LIF volume

3) tar tv #This should start listing all the files on the tape. If it gets through all of them you can be "reasonably" sure the tape is OK.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
SS_6
Valued Contributor

Re: Verifying an Ignite tape?

Best method is to test the tape on some test box.
Can list contents by using tar
make two tapes.
check logs under /var/opt/ignite/logs/
By providing solutions I am helping myself
Kevin Bushman
Occasional Advisor

Re: Verifying an Ignite tape?

Thanks all. Points will be awarded.

I thought there was a way to process to actually verify a tape, i.e., a command that would verify it, not actually booting from it. But the tar tv works just fine.

In any event. I got what I needed. Thanks again to all!

Ragesh V.K
New Member

Re: Verifying an Ignite tape?


Kevin,

You can verify the tape as below.

1. Check the tape contents by using below commands

mt â f /dev/rmt/0mn rew
mt â t /dev/rmt/0mn fsf 1
tar â tvf /dev/rmt/0m

This should list the contents in this tape.


2. Check whether the tape contains boot LIF contents. LIF contents must be present to boot the system through tape.

copy_boot_tape -u /dev/rmt/0mn -b -d /tmp/tape


It runs as below..

Rewinding tape /dev/rmt/0mn.
Extracting the boot area to /tmp/tape/bootimage.
14524+1 records in
14524+1 records out
Boot file contents.
volume ISL10 data size 281239 directory size 3 02/11/14 14:50:50
filename type start size implement created
===============================================================
ISL -12800 16 240 0 02/11/14 14:50:50
AUTO -12289 256 1 0 02/11/14 14:50:50
INDEX BIN 264 1 0 02/11/14 14:50:50
CONFIG BIN 272 34 0 02/11/14 14:50:50
HPUX -12928 312 880 0 02/11/14 14:50:50
INSTALL -12290 1192 26990 0 02/11/14 14:50:57
INSTALLFS -12290 28184 31744 0 02/11/14 14:51:03

Rewinding and ejecting /dev/r