1833776 Members
2191 Online
110063 Solutions
New Discussion

lifls PAD file

 
Mathew Ericson
Occasional Contributor

lifls PAD file

I am mirroring my root disk and I noticed that one of my root disks contains the PAD lif file whereas the other disk does not?

What is this file for?
Is it important?
How do I recreate it for the disk that doesn't have it?

NOTE: System is booting without fail - there is nothing wrong - other than I am too curious :)
5 REPLIES 5
Sundar_7
Honored Contributor

Re: lifls PAD file


I can tell you my understanding - PAD is just a "space filler", it does nothing but ensures the size of the LIF volume meets a specific criteria (I dont know what that is !)

if you are really worried about having PAD in the lif volume then use mkboot

# mkboot -b /usr/lib/uxbootlf -p ISL -p AUTO -p HPUX -i PAD /dev/rdsk/

Learn What to do ,How to do and more importantly When to do ?
Jeff Schussele
Honored Contributor

Re: lifls PAD file

Hi Mathew,

Sundar's correct in it's function - the command as I know it to create it is:

mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p HPUX -p ISL.... -p all_current_LIF /dev/rdsk/cXtYdZ

You need a -p for *all* existing LIF elements preceeding this command.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Sundar_7
Honored Contributor

Re: lifls PAD file

Jeff,

I dont believe LIF file /usr/sbin/diag/lif/updatediaglif2 to create PAD file because PAD file is not part of this particular lif volume

# lifls /usr/sbin/diag/lif/updatediaglif2
ODE MAPFILE SYSLIB CONFIGDATA SLMOD2
SLDEV2 SLDRV2 SLSCSI2 MAPPER2 IOTEST2
PERFVER2 PVCU SSINFO
#

So /usr/lib/uxbootlf is the LIF file to use here.

-- Sundar
Learn What to do ,How to do and more importantly When to do ?
Jeff Schussele
Honored Contributor

Re: lifls PAD file

I stand corrected.
Thanks for the clarification Sundar.
I forgot that PAD comes in via install by default.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Geoff Wild
Honored Contributor

Re: lifls PAD file

Just a tip - make sure that both disks are bootable:

/usr/sbin/lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c28t5d0 (0/0/0/3/0.5.0) -- Boot Disk
/dev/dsk/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c28t5d0
/dev/dsk/c0t6d0
Root: lvol3 on: /dev/dsk/c28t5d0
/dev/dsk/c0t6d0
Swap: lvol2 on: /dev/dsk/c28t5d0
/dev/dsk/c0t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0


If they don't both say "Boot Disk" - then they are not.

You may be able to do just a simple:

/usr/sbin/lvlnboot -b /dev/vg00/lvol1
/usr/sbin/lvlnboot -s /dev/vg00/lvol2
/usr/sbin/lvlnboot -r /dev/vg00/lvol3

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.