Re: NOTE making recovering tape

 
SOLVED
Go to solution
Mauro Gatti
Valued Contributor

NOTE making recovering tape

While I create make_tape_recovery I get these "NOTE":

# make_tape_recovery -x inc_entire=vg00
* Creating local directories for configuration files and archive.

======= 02/23/05 15:54:07 MET Started make_tape_recovery. (Wed Feb 23
15:54:07 MET 2005)
@(#) Ignite-UX Revision C.6.1.44
@(#) net_recovery (opt) $Revision: 10.672 $

* Testing for necessary pax patch.
* Passed pax tests.
* Checking Versions of Ignite-UX filesets
* Creating System Configuration.
* /opt/ignite/bin/save_config -f
/var/opt/ignite/recovery/2005-02-23,15:54/system_cfg vg00
NOTE: File: /var/opt/ignite/recovery/2005-02-23,15:54/system_cfg is not
world-readable, this may cause clients to fail to read it during an
installation.
* Backing Up Volume Group /dev/vg00
* /usr/sbin/vgcfgbackup /dev/vg00
* Creating Map Files for Volume Group /dev/vg00
* /usr/sbin/vgexport -p -m /etc/lvmconf/vg00.mapfile /dev/vg00

* Creating Control Configuration.
NOTE: File: /var/opt/ignite/recovery/2005-02-23,15:54/control_cfg is not
world-readable, this may cause clients to fail to read it during an
installation.
* Creating Archive File List
* Creating Archive Configuration

* /opt/ignite/bin/make_arch_config -c
/var/opt/ignite/recovery/2005-02-23,15:54/archive_cfg -g
/var/opt/ignite/recovery/2005-02-23,15:54/flist -n 2005-02-23,15:54 -r
64 -d Recovery\ Archive -t -i 1 -m t
NOTE: File: /var/opt/ignite/recovery/2005-02-23,15:54/archive_cfg is not
world-readable, this may cause clients to fail to read it during an
installation.
* Saving the information about archive to
/var/opt/ignite/recovery/previews
* Creating The Tape Archive
NOTE: File: /var/opt/ignite/recovery/2005-02-23,15:54/system_cfg is not
world-readable, this may cause clients to fail to read it during an
installation.
NOTE: File: /var/opt/ignite/recovery/2005-02-23,15:54/control_cfg is not
world-readable, this may cause clients to fail to read it during an
installation.
NOTE: File: /var/opt/ignite/recovery/2005-02-23,15:54/archive_cfg is not
world-readable, this may cause clients to fail to read it during an
installation.
Adding /opt/ignite/Version file to LIF.
NOTE: File: /var/tmp/tmp_cfg_file is not world-readable, this may cause
clients to fail to read it during an installation.
NOTE: File: /var/tmp/tmp_cfg_file is not world-readable, this may cause
clients to fail to read it during an installation.
48213+0 records in
48213+0 records out
* /opt/ignite/data/scripts/make_sys_image -c n -d /dev/rmt/0mn -t n -s
local -n 2005-02-23,15:54 -m t -w
/var/opt/ignite/recovery/2005-02-23,15:54/recovery.log -u -R -g
/var/opt/ignite/recovery/2005-02-23,15:54/flist -a 2742900

* Preparing to create a system archive.

* Archiving contents of s2dp1 via tar image to local device/dev/rmt/0mn.
NOTE: You are not allowed to interrupt this program at this time.
* Creation of system archive complete.

* Cleaning up old configuration file directories

======= 02/23/05 16:00:12 MET make_tape_recovery completed successfully!

How can I set correct permissions on files if it seems these files are created when I run make_tape_recovery?
When I tried to recover the system from this tape I couldn't be able because after 20 hours the boot screen staid at :
ISL booting hpux (;0):INSTALL


Thank you


Mauro
Ubi maior, minor cessat!
4 REPLIES 4
Fabio Ettore
Honored Contributor

Re: NOTE making recovering tape

Hi Mauro,

I would think 2 things about that NOTE:

1. if it is only a NOTE and not an error then I wouldn't think about a problem;
2. permissions on creation of a file depend from umask. Then check umask by

umask

and check that it is (at least) 022.
This umask setting will create file with permissions as the following:

umask 022
touch test
ll test
-rw-r--r-- 1 root sys 0 Feb 23 10:31 test

test is a file world-readable.
Then re-launch make_tape_recovery.

Hope this helps you.

Best regards,
Fabio
WISH? IMPROVEMENT!
Mauro Gatti
Valued Contributor

Re: NOTE making recovering tape

Fabio, the note isn't an error but it says "this may cause clients to fail to read it during an installation" so recovery precedure could be compromised.
I know I could change umask but why (if this is the problem) Ignite administration guide don't mind this check? (seen that I didn't change default hpux root umask)

thank you
Ubi maior, minor cessat!
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: NOTE making recovering tape

Mauro Gatti
Valued Contributor

Re: NOTE making recovering tape

closed
Ubi maior, minor cessat!