1825803 Members
2457 Online
109687 Solutions
New Discussion

backup kernel

 
Raghuram_2
New Member

backup kernel

Hi,

I am trying to change kernel parameters. I am using the procedure below.
1. Take backup of exisiting kernel.(create copies of vmunix & system as vmunix.prev/system.prev )
2. Change parameters using SAM
3. Re-boot by SAM

When I reboot, the parameters would have changed as I have desired.

If I restart the system using backup kernel using the /stand/vmunix.prev, then I expected to see the old kernel parameters. But I get the new kernel parameter set.

Is this normal or abnormal. Why am I not able to see all the old parameter settings? If I restart using /stand/vmunix.prev will the HP-UX use /stand/system.prev or /stand/system file.

Could you please let me know if there is any way I can tell HP-UX to use system.prev & not system file?

Regards,
Raghu
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: backup kernel

I believe the parameters reported are from the current /stand/system file.

Sam should so the same thing.

This happens even if you boot off of /stand/vmunix.prev

Try reversing the two system files and see what kmtune reports.

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
Zeev Schultz
Honored Contributor

Re: backup kernel

try kmtune -q to query kernel directly and
not the /stand/vmunix file.
use kmtune -S to use a system file you like.
it uses /stand/system even if you boot with
any kernel you like.

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Sridhar Bhaskarla
Honored Contributor

Re: backup kernel

Hi Raghu,

How are you verifying the kernel parameters?. If you are using "kmtune" command, then it will show the entries in /stand/system as "planned" and the values from the current kernel as "current".

Another way of grabbing the current kernel is to use system_prep

/usr/lbin/sysadm/system_prep -s /tmp/system.now

Look at the system.now it should be different from /stand/system.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Caesar_3
Esteemed Contributor

Re: backup kernel

Hello!

The parameters that you see are from the
/stand/system so it maybe difrent when you
boot with other kernel.

Caesar