Ignite-UX

Re: problem with make_net_recovery -> save_config: Error

 
SOLVED
Go to solution
Wood_2
Frequent Advisor

problem with make_net_recovery -> save_config: Error

Hello

when i'm using this command, make_net_recovery -s srvu0011b -n 2 -x inc_entire=vg00 -x exclude=/tmp -x exclude=/var/tmp -P s 1

+ make_net_recovery -s srvu0011b -n 2 -x inc_entire=vg00 -x exclude=/tmp -x exclude=/var/tmp -P s 1
* Creating NFS mount directories for configuration files.

======= 03/29/07 15:55:58 METDST Started make_net_recovery. (Thu Mar 29
15:55:58 METDST 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.
* Checking Versions of Recovery Tools
* Creating System Configuration.
* /opt/ignite/bin/save_config -f /var/opt/ignite/recovery/client_mnt/0x0
016353CDC7E/recovery/2007-03-29,15:55/system_cfg vg00
save_config: Error - vg00 not in the volume/disk group
ERROR: /opt/ignite/bin/save_config failed

idem with

/opt/ignite/bin/save_config vg00.

vgdisplay -v vg00 and strings /etc/lvmtab are ok
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: problem with make_net_recovery -> save_config: Error

Shalom,

I got this error 4 years ago.

The response center recommended that if I didn't need vxvm, I should swremove it. I followed this advice and the problem never returned.

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
Wood_2
Frequent Advisor

Re: problem with make_net_recovery -> save_config: Error

Sorry but it doesn't work



Angus Crome
Honored Contributor

Re: problem with make_net_recovery -> save_config: Error

Check your boot time settings under lvlmboot, etc. If they are not set for some reason, it may be causing make_net_recovery to miss that vg00 actually contains any disks.

I haven't dealt with this in years, so I can't really give you the syntax anymore. Don't have an HP-UX server at the moment.

Hope to again in the near future though.
There are 10 types of people in the world, those who understand binary and those who don't - Author Unknown
Wood_2
Frequent Advisor

Re: problem with make_net_recovery -> save_config: Error

I don't see something special

frbpcs41:/var/opt/ignite # lvlnboot -v vg00
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t0d0s2 (0/1/1/0.0.0) -- Boot Disk
/dev/dsk/c0t1d0s2 (0/1/1/0.1.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t0d0s2
/dev/dsk/c0t1d0s2
Root: lvol3 on: /dev/dsk/c0t0d0s2
/dev/dsk/c0t1d0s2
Swap: lvol2 on: /dev/dsk/c0t0d0s2
/dev/dsk/c0t1d0s2
Dump: lvol2 on: /dev/dsk/c0t0d0s2, 0
Jag_2
Occasional Advisor

Re: problem with make_net_recovery -> save_config: Error

I came across this error message recently after upgrading the server to C.6.10.97 and client B.5.3.35 was not upgraded and tried to create an ignite image, after upgrading the client to C.6.10.97 the error message disappeared.
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: problem with make_net_recovery -> save_config: Error

check the permissions of the lvm commands in the /sbin directory.

example
# ll /sbin/vgdisplay
-r-sr-xr-x 26 root sys 815104 Aug 7 2002 /sbin/vgdisplay

Regards,
Robert-Jan
Wood_2
Frequent Advisor

Re: problem with make_net_recovery -> save_config: Error

frbpcs41:/var/opt/ignite # ll /sbin/vgdisplay
-r-sr-xr-x 31 bin bin 1783164 Jul 10 2006 /sbin/vgdisplay

and my server and client ignite are both C.7.1.93



Wood_2
Frequent Advisor

Re: problem with make_net_recovery -> save_config: Error

Ok it's work fine,

juste change bin:bin to root:sys

thank you all for your help

Nicolas