1836580 Members
1575 Online
110102 Solutions
New Discussion

LIF AUTO File Contents

 
SOLVED
Go to solution
Pete Randall
Outstanding Contributor

LIF AUTO File Contents

When mirroring root disks, it's common to modify the contents of the auto file to override the LVM quorum, like this:

mkboot -a "hpux -lq" /dev/rdsk/c0t6d0

My question is, how can you check the contents of this file?


Pete

Pete
6 REPLIES 6
Solution

Re: LIF AUTO File Contents

Pete,

Assuming PA-RISC:

lifcp /dev/dsk/c0t6d0:AUTO -

HTH

Duncan

I am an HPE Employee
Accept or Kudo

Re: LIF AUTO File Contents

For completeness, on Integrity systems you would run:

efi_cp -d /dev/dsk/c0t6d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO
cat /tmp/AUTO

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Pete Randall
Outstanding Contributor

Re: LIF AUTO File Contents

Thanks, Duncan. I should have specified PA-RISC.

Right after I posted the question, I tried experimenting with lifcp - works like a charm!


Pete

Pete
Torsten.
Acclaimed Contributor

Re: LIF AUTO File Contents

Hi Pete,

last but not least (because I think you have also vPars running on some systems) - if vPars is running, keep in mind all bootstrings on all bootdisks should be set to

(PA-Risc)
"hpux /stand/vpmon -a"

(Integrity)
"boot vpmon -a"

HTH too.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Pete Randall
Outstanding Contributor

Re: LIF AUTO File Contents

Good memory, Torsten. That's exactly what I was doing was checking all the boot strings in my VPars.


Pete

Pete
Torsten.
Acclaimed Contributor

Re: LIF AUTO File Contents

So for your vPars systems make sure the bootstrings within the lif points to vpmon (not vmunix)!

Checking the flags for the certain vPars is pretty easy:

just run "vparstatus" - the boot flags like "-lq" are listed in the boot opts column.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!