Operating System - HP-UX
1834757 Members
3523 Online
110070 Solutions
New Discussion

Re: Ignite Backup Failed...Plz.help me~~!!

 
kevincho
Advisor

Ignite Backup Failed...Plz.help me~~!!

Hi ~~ Everybody ~!!

Plzzzzzzzzzzzzz Help me ~~~~

I try to backup O/S with ignite so many times.
But i still got some problem.

What i did for this problems are below things.

A. changed Tape & Tape Device & Cable & Terminator
B. Modified SCSI ID
C. Upgrade Ignite Software
D. Installed Patch file (SUM:Software Update Manager)
E. replaced system board. oh my goodness..!

Please Refer to below
logs
=========== INFORMATION ========================
System : rp3440
O/S : HP-UX prdldap2 B.11.11 U 9000/800
Ignite Version : Ignite-UX Revision C.7.1.93
=============================================
prdldap2[/]# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/1/1/1.0.0 stape CLAIMED DEVICE HP C7438A
/dev/rmt/0m /dev/rmt/c3t0d0BEST /dev/rmt/c3t0d0DDS
/dev/rmt/0mb /dev/rmt/c3t0d0BESTb /dev/rmt/c3t0d0DDSb
/dev/rmt/0mn /dev/rmt/c3t0d0BESTn /dev/rmt/c3t0d0DDSn
/dev/rmt/0mnb /dev/rmt/c3t0d0BESTnb /dev/rmt/c3t0d0DDSnb
prdldap2[/]#


prdldap2[/]# make_tape_recovery -Avd /dev/rmt/0m
* Creating local directories for configuration files and archive.

======= 04/04/07 22:44:37 KST Started make_tape_recovery. (Wed Apr 04
22:44:37 KST 2007)
@(#)Ignite-UX Revision C.7.1.93
@(#)ignite/net_recovery (opt) $Revision: 10.862 $ $Date: 2006/11/07
22:27:51 $

* Testing for necessary pax patch.
NOTE: Detected entries in the defaults file at
/var/opt/ignite/recovery/defaults.

* Recovery Archive Description = /dev/rmt/0m

* Recovery Archive Location = /dev/rmt/0mn

* Number of Archives to Save = 2

* Pax type = cpio


In? dsk/vg name minor# Associated disks/mountpoints
2 v /dev/vg00 0x00 /dev/dsk/c2t0d0 /dev/dsk/c2t1d0
/dev/vg00/lvol1 /stand 2
/dev/vg00/lvol2
/dev/vg00/lvol3 / 2

** 0 - The Volume Group or Filesystem is Not included in the
System Recovery Archive
** 1 - The Volume Group or Filesystem is Partially included in the
System Recovery Archive
** 2 - The Volume Group or Filesystem is Fully included in the
System Recovery Archive

* Checking Versions of Ignite-UX filesets
* Creating System Configuration.
* /opt/ignite/bin/save_config -f
/var/opt/ignite/recovery/2007-04-04,22:44/system_cfg vg00
* Backing Up Volume Group /dev/vg00
* /usr/sbin/vgcfgbackup /dev/vg00
* Creating Map Files for Volume Group /dev/vg00
* /usr/sbin/vgexport -s -p -m /etc/lvmconf/vg00.mapfile /dev/vg00

* Creating Control Configuration.
* Creating Archive File List
* Creating Archive Configuration

* /opt/ignite/lbin/make_arch_config -c
/var/opt/ignite/recovery/2007-04-04,22:44/archive_cfg -g
/var/opt/ignite/recovery/2007-04-04,22:44/flist -n 2007-04-04,22:44 -r
pa -b 64 -d /dev/rmt/0m -t 1 -i 1 -m c
* Saving the information about archive to
/var/opt/ignite/recovery/previews
* Creating The Tape Archive
* Checking configuration file for Syntax
* Writing boot LIF to tape
17714+0 records in
17713+1 records out
I/O error
ERROR: /usr/bin/dd if=/var/tmp/uxinstlf.recovery of=/dev/rmt/0mn bs=2k failed
to write LIF onto tape.
ERROR: Failed to generate LIF on tape.


======= 04/04/07 22:46:07 KST make_tape_recovery completed unsuccessfully
prdldap2[/]#


18 REPLIES 18
Patrick Wallek
Honored Contributor

Re: Ignite Backup Failed...Plz.help me~~!!

I'm not sure why you changed the system board, but whatever makes you happy I guess.

Your make_tape_recovery syntax is somewhat flawed. The '-d' switch to m_t_r does NOT tell it which device to use. '-d' is actually a "tag string" or description.

The syntax I generally use is:

# make_tape_recovery -a /dev/rmt/0mn -I -v -m tar -x inc_entire=vg00

Try that and see what happens.

Make SURE you use the no-rewind tape device (the one ending with an 'n') as I used above.
Court Campbell
Honored Contributor

Re: Ignite Backup Failed...Plz.help me~~!!

Pat, it tagged the tape with the name /dev/rmt/0m and used the default on /dev/rmt/0mn. But I am with you it looks odd.

John try this and let us know what happens:

#dd if=/dev/zero of=/dev/rmt/0mn bs=2k
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
kevincho
Advisor

Re: Ignite Backup Failed...Plz.help me~~!!

Thank you for ur advice.

The reason why i'v replaced system board is that The system H/W status was abnormal.
I mean that sometimes stape was CLAIMED and sometimes No H/W. and also SCSI Channel was resetted when i issued ioscan .


I tried as you told me . But still got same error.

Here is the log.

prdldap2[/]# make_tape_recovery -a /dev/rmt/0mn -I -v -m tar -x inc_entire=vg00
* Creating local directories for configuration files and archive.

======= 04/04/07 23:27:03 KST Started make_tape_recovery. (Wed Apr 04
23:27:03 KST 2007)
@(#)Ignite-UX Revision C.7.1.93
@(#)ignite/net_recovery (opt) $Revision: 10.862 $ $Date: 2006/11/07
22:27:51 $

* Testing for necessary pax patch.
NOTE: Detected entries in the defaults file at
/var/opt/ignite/recovery/defaults.

* Recovery Archive Description = Recovery Archive

* Recovery Archive Location = /dev/rmt/0mn

* Number of Archives to Save = 2

* Pax type = tar


In? dsk/vg name minor# Associated disks/mountpoints
2 v /dev/vg00 0x00 /dev/dsk/c2t0d0 /dev/dsk/c2t1d0
/dev/vg00/lvol1 /stand 2
/dev/vg00/lvol2
/dev/vg00/lvol3 / 2

** 0 - The Volume Group or Filesystem is Not included in the
System Recovery Archive
** 1 - The Volume Group or Filesystem is Partially included in the
System Recovery Archive
** 2 - The Volume Group or Filesystem is Fully included in the
System Recovery Archive

* Checking Versions of Ignite-UX filesets
* Creating System Configuration.
* /opt/ignite/bin/save_config -f
/var/opt/ignite/recovery/2007-04-04,23:27/system_cfg vg00
* Backing Up Volume Group /dev/vg00
* /usr/sbin/vgcfgbackup /dev/vg00
* Creating Map Files for Volume Group /dev/vg00
* /usr/sbin/vgexport -s -p -m /etc/lvmconf/vg00.mapfile /dev/vg00

* Creating Control Configuration.
* Creating Archive File List
* Creating Archive Configuration

* /opt/ignite/lbin/make_arch_config -c
/var/opt/ignite/recovery/2007-04-04,23:27/archive_cfg -g
/var/opt/ignite/recovery/2007-04-04,23:27/flist -n 2007-04-04,23:27 -r
pa -b 64 -d Recovery\ Archive -t 1 -i 1 -m t
* Saving the information about archive to
/var/opt/ignite/recovery/previews
* Creating The Tape Archive
* Checking configuration file for Syntax
* Writing boot LIF to tape
17701+0 records in
17700+1 records out
I/O error
ERROR: /usr/bin/dd if=/var/tmp/uxinstlf.recovery of=/dev/rmt/0mn bs=2k failed
to write LIF onto tape.
ERROR: Failed to generate LIF on tape.


======= 04/04/07 23:28:23 KST make_tape_recovery completed unsuccessfully
Patrick Wallek
Honored Contributor

Re: Ignite Backup Failed...Plz.help me~~!!

Have you tried writing to the tape just using 'tar' or some other utility?

Try this:

# mt -f /dev/rmt/0mn rew
# tar -cvf /dev/rmt/0mn /usr/bin

When that is finished, if it doesn't error do this:

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

Check the files listed. Make sure it all looks OK.

You may also want to try a new tape again and if you have a cleaning tape, run that through the drive as well.
kevincho
Advisor

Re: Ignite Backup Failed...Plz.help me~~!!


Patrick ~~

I did it again as you told me... Thanks ~!

But still have same problem....




# mt -f /dev/rmt/0mn rew
# tar -cvf /dev/rmt/0mn /usr/bin

================================
It works fine so i did next step
================================

prdldap2[/]# mt -f /dev/rmt/0mn rew
prdldap2[/]# tar -cvf /dev/rmt/0mn /usr/sbin
a /usr/sbin/tunefs 40 blocks
a /usr/sbin/devnm 32 blocks
a /usr/sbin/diskinfo 56 blocks
a /usr/sbin/insf symbolic link to /sbin/mksf
a /usr/sbin/ioinit symbolic link to /sbin/ioinit
a /usr/sbin/ioscan symbolic link to /sbin/ioscan
a /usr/sbin/mknod symbolic link to /sbin/mknod
a /usr/sbin/mount symbolic link to /sbin/mount
a /usr/sbin/reboot symbolic link to /sbin/reboot
a /usr/sbin/setboot 40 blocks
a /usr/sbin/swapon 56 blocks
..........................
.........................
/////////////// The rest is ommitted.

a /usr/sbin/vxddladm 2277 blocks
Tar: end of tape
Tar: to continue, enter device/file name when ready or null string to quit.
User entered a null name for next device file

prdldap2[/]# mt -f /dev/rmt/0mn status
Drive: HP C7438A
Format: DDS-3 format
Status: [81112500] EOF online compression immediate-report-mode
File: 1
Block: -1

prdldap2[/]# tar -tvf /dev/rmt/0mn
r-xr-xr-x 2/2 0 Mar 27 16:34 2007 /usr/sbin/
r-xr-xr-x 2/2 20480 Nov 10 04:38 2000 /usr/sbin/tunefs
r-xr-xr-x 2/2 16384 Aug 7 22:15 2003 /usr/sbin/devnm
r-xr-xr-x 2/2 28672 Jul 29 18:21 2002 /usr/sbin/diskinfo
rwxr-xr-x 2/2 0 Feb 5 17:02 2007 /usr/sbin/insf symbolic link to /sbin/mksf
rwxr-xr-x 0/0 0 Feb 5 16:46 2007 /usr/sbin/ioinit symbolic link to /sbin/ioinit
rwxr-xr-x 0/0 0 Feb 5 16:46 2007 /usr/sbin/ioscan symbolic link to /sbin/ioscan
rwxr-xr-x 0/0 0 Feb 5 16:46 2007 /usr/sbin/mknod symbolic link to /sbin/mknod
rwxr-xr-x 2/2 0 Feb 5 20:35 2007 /usr/sbin/mount symbolic link to /sbin/mount
......................................
......................................
/////////////// The rest is ommitted.
Tar: to continue, enter device/file name when ready or null string to quit.


=================

I think it looks good .. isn't it?

whew ... ~~

kevincho
Advisor

Re: Ignite Backup Failed...Plz.help me~~!!

Court~~~ , i did as you told me..

#dd if=/dev/zero of=/dev/rmt/0mn bs=2k

But no response . so i quitted.

How log does it take a time generally?

got confused..

Oh my gosh~~ ^^;
Court Campbell
Honored Contributor

Re: Ignite Backup Failed...Plz.help me~~!!

John, please try the following and past your ouptut:

# mt -f /dev/rmt/0m rew
# dd if=/stand/vmunix of=/dev/rmt/0mn bs=2k
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
kevincho
Advisor

Re: Ignite Backup Failed...Plz.help me~~!!

Please refer to output ~~!



prdldap2[/]# mt -f /dev/rmt/0m rew
prdldap2[/]# dd if=/stand/vmunix of=/dev/rmt/0mn bs=2k
9545+1 records in
9545+1 records out

need something else?

Patrick Wallek
Honored Contributor

Re: Ignite Backup Failed...Plz.help me~~!!

It appears that the tape drive is working and not having any major issues.

What type of tape drive are you using? What type of tape?

You might try another new tape, but the one you are using should work.

You might want to check your available disk space in the /var filesystem. If you are running out of space and getting an incomplete /var/tmp/uxinstlf.recovery file, then that could cause problems.

How much free space do you have available in /var (bdf /var)?

As a reference, one of my machines recent Ignite backups show 50460+0 records in and out when writing the boot LIF to tape.
Court Campbell
Honored Contributor

Re: Ignite Backup Failed...Plz.help me~~!!

Weird. I have been looking into this error and none of the threads have an answer. I would use swremove to remove all versions of Ignite on your box, then I would re-install Ignite. Then use the command:

# make_tape_recovery -I -v -x inc_entire=vg00

By default Ignite uses /dev/rmt/0mn.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Court Campbell
Honored Contributor

Re: Ignite Backup Failed...Plz.help me~~!!

Check this out:

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-1335382922+1175701199554+28353475&docId=200000079988494

The final resolution is that the scsi cable was not terminated properly.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
kevincho
Advisor

Re: Ignite Backup Failed...Plz.help me~~!!

Anyway Thank you so much two of you ~!~!!
I also try to check similar error on ITRC but couldn't get answer

Is there any other chance to get solution ?
plz...whew~~~



The last one what i can do is changing tape which is DDS-4?

hmmmmm ... ok i see then i'll try it

tomorrow~!


Anyway , I'll show you the output ~!

prdldap2[/]# mt -f /dev/rmt/0mn status
Drive: HP C7438A
Format: DDS-3 format

prdldap2[/]# bdf /var
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 138805248 9144576 128653776 7% /
prdldap2[/]# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 138805248 9144576 128653776 7% /
/dev/vg00/lvol1 314736 59848 223408 21% /stand

prdldap2[/]# swlist -l fileset |grep -i ignite
# Ignite-UX C.7.1.93 HP-UX System Installation Services
Ignite-UX.BOOT-COMMON-PA C.7.1.93 Common Boot Components for PA-RISC clients
Ignite-UX.BOOT-KRN-11-11 C.7.1.93 Installation Boot Kernel for B.11.11 clients
Ignite-UX.BOOT-SERVICES C.7.1.93 Network Boot Services for System Installations
Ignite-UX.CD-TOOLS C.7.1.93 Tools for creating CD media
Ignite-UX.CD-TOOLS-DOC C.7.1.93 Documentation for CD-TOOLS
Ignite-UX.CD-TOOLS-SRC C.7.1.93 Source for CD-TOOLS
Ignite-UX.DVD-TOOLS C.7.1.93 Tools for creating DVD media
Ignite-UX.DVD-TOOLS-DOC C.7.1.93 Documentation for DVD-TOOLS
Ignite-UX.DVD-TOOLS-SRC C.7.1.93 Source for DVD-TOOLS
Ignite-UX.FILE-SRV-11-11 C.7.1.93 File Archives Used By Clients During HP-UX Install
Ignite-UX.IGNITE C.7.1.93 Graphical Ignite User Interface for Installations
Ignite-UX.IGNT-ENG-A-MAN C.7.1.93 Ignite-UX Manual Pages
Ignite-UX.IGNT-JPN-E-MAN C.7.1.93 Ignite-UX Japanese EUC Manual Pages
Ignite-UX.IGNT-JPN-S-MAN C.7.1.93 Ignite-UX Japanese SJIS Manual Pages
Ignite-UX.IGNT-OBAM-RUN C.7.1.93 User Interface Libraries Needed for Older Systems
Ignite-UX.MGMT-TOOLS C.7.1.93 Tools for Managing Data Files on an Ignition Server
Ignite-UX.RECOVERY C.7.1.93 System disaster recovery tools


prdldap2[/]# make_tape_recovery -I -v -x inc_entire=vg00
* Creating local directories for configuration files and archive.

======= 04/05/07 00:53:57 KST Started make_tape_recovery. (Thu Apr 05
00:53:57 KST 2007)
@(#)Ignite-UX Revision C.7.1.93
@(#)ignite/net_recovery (opt) $Revision: 10.862 $ $Date: 2006/11/07
22:27:51 $

* Testing for necessary pax patch.
NOTE: Detected entries in the defaults file at
/var/opt/ignite/recovery/defaults.

* Recovery Archive Description = Recovery Archive

* Recovery Archive Location = /dev/rmt/0mn

* Number of Archives to Save = 2

* Pax type = cpio


In? dsk/vg name minor# Associated disks/mountpoints
2 v /dev/vg00 0x00 /dev/dsk/c2t0d0 /dev/dsk/c2t1d0
/dev/vg00/lvol1 /stand 2
/dev/vg00/lvol2
/dev/vg00/lvol3 / 2

** 0 - The Volume Group or Filesystem is Not included in the
System Recovery Archive
** 1 - The Volume Group or Filesystem is Partially included in the
System Recovery Archive
** 2 - The Volume Group or Filesystem is Fully included in the
System Recovery Archive

* Checking Versions of Ignite-UX filesets
* Creating System Configuration.
* /opt/ignite/bin/save_config -f
/var/opt/ignite/recovery/2007-04-05,00:53/system_cfg vg00
* Backing Up Volume Group /dev/vg00
* /usr/sbin/vgcfgbackup /dev/vg00
* Creating Map Files for Volume Group /dev/vg00
* /usr/sbin/vgexport -s -p -m /etc/lvmconf/vg00.mapfile /dev/vg00

* Creating Control Configuration.
* Creating Archive File List
* Creating Archive Configuration

* /opt/ignite/lbin/make_arch_config -c
/var/opt/ignite/recovery/2007-04-05,00:53/archive_cfg -g
/var/opt/ignite/recovery/2007-04-05,00:53/flist -n 2007-04-05,00:53 -r
pa -b 64 -d Recovery\ Archive -t 1 -i 1 -m c
* Saving the information about archive to
/var/opt/ignite/recovery/previews
* Creating The Tape Archive
* Checking configuration file for Syntax
* Writing boot LIF to tape
17714+0 records in
17713+1 records out
I/O error
ERROR: /usr/bin/dd if=/var/tmp/uxinstlf.recovery of=/dev/rmt/0mn bs=2k failed
to write LIF onto tape.
ERROR: Failed to generate LIF on tape.


======= 04/05/07 00:55:30 KST make_tape_recovery completed unsuccessfully


Thank you very much ~!!

Still i wanna get some good solution ~!

I'll change and clean the tape again.
show you the result tomorrow.

Best Regards

John_cho
Court Campbell
Honored Contributor

Re: Ignite Backup Failed...Plz.help me~~!!

What run-level are you in, or did you cut off your bdf output?

post

#who -r

Also post your /etc/fstab

Your bdf output doesn't look standard. But then again maybe you only created a / filesystem only.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
David Bellamy
Respected Contributor

Re: Ignite Backup Failed...Plz.help me~~!!

John i had the same problem the other day and a reseat of my tape drive cleared up the problem.
Piotr Kirklewski
Super Advisor

Re: Ignite Backup Failed...Plz.help me~~!!

I don't think it's a hardware problem.

It's possible that your Ignite instalation is corrupted.

Try to reinstall Ignite.

Jesus is the King
kevincho
Advisor

Re: Ignite Backup Failed...Plz.help me~~!!

I did it as you told me.

1. output
prdldap2[/]# pwd
/
prdldap2[/]# ls
.ICEauthority .mozilla bin make_sys_image.log tmp_mnt
.TTauthority .mozilla-license cdrom net usr
.Xauthority .profile core opt uxinstlf.recovery
.dt .rnd dev sapcd var
.dtprofile .sh_history etc sbin vmunix.0209
.glancerc_hp .sw home scripts
.gpmhp-prdldap2 Legacy ldap source
.hpjconfig_license Legacy_change lib stand
.mcc TT_DB lost+found tmp
prdldap2[/]# more /etc/fstab
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
#devxiap1:/sapcd/LDAP /Legacy_change nfs rw,soft 0 0

2. reinstalled ignite-UX.
3. used tape which is dat72


Same Situation.

Gosh~!



kevincho
Advisor

Re: Ignite Backup Failed...Plz.help me~~!!

I'm really thank you guys~~~ !!!!!!!


At last , It works fine.

Actually I don't know what the main reason with this problem.

But I need to tell you what i did for this problem .


Access problem with H/W.

1. replace Cable & Tape & Tape Device & Terminator
2. replace system board : if there's scsi problem ( The SCSI Channel B part had some problem in my case. SCSI bus was resetted by ioscan command. )

Access Problem with S/W.

2. Upgrade Ignite - UX

To be honest I think the problem was on hardware. The last things what i did is replaced terminator & tape & tape device again.

Anyway Thanks all you guys....

BestRegards

John_cho
kevincho
Advisor

Re: Ignite Backup Failed...Plz.help me~~!!

Do we have to check the postion of terminator? Well , the terminator was on upside at first. i changed the postion from upside to downside . Can it be problem? i wonder...

Anyway, Thanks.

Have a wonderful day~!