System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

boot files not showing in alternate boot drive.

SOLVED
Go to solution
jerrym
Trusted Contributor

boot files not showing in alternate boot drive.

 

I remirrored my boot drives and set mkboot etc... for the primary and alternate but info does not

show up or shows up incorrectly. Should the boot files show up on the alternate boot disk like

they do on the primary boot drive??  And why does the old boot drive c0t10d0 have more boot

files listed. See below.

 

#setboot
Primary bootpath : 0/0/1/1/0/4/0.8.0
Alternate bootpath : 0/0/1/1/0/4/1.8.0

 

 

#lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
        /dev/dsk/c0t10d0 (0/0/1/1/0/4/0.10.0) -- Boot Disk
        /dev/dsk/c1t10d0 (0/0/1/1/0/4/1.10.0)
        /dev/dsk/c0t8d0 (0/0/1/1/0/4/0.8.0) -- Boot Disk
        /dev/dsk/c1t8d0 (0/0/1/1/0/4/1.8.0)
Boot: lvol1     on:     /dev/dsk/c0t8d0
                                  /dev/dsk/c1t8d0
Root: lvol3     on:     /dev/dsk/c0t8d0
                                   /dev/dsk/c1t8d0
Swap: lvol2     on:     /dev/dsk/c0t8d0
                                     /dev/dsk/c1t8d0
Dump: lvol2     on:     /dev/dsk/c0t8d0, 0

 

 

# lifls -l /dev/rdsk/c0t8d0
volume ISL10 data size 7984 directory size 8 07/06/08 17:02:22
filename   type   start   size     implement  created
===============================================================
ISL        -12800 584     306      0          07/06/08 17:02:23
AUTO       -12289 896     1        0          07/06/08 17:02:23
HPUX       -12928 904     848      0          07/06/08 17:02:23
PAD        -12290 1752    1580     0          07/06/08 17:02:23
LABEL      BIN    3336    8        0          11/06/28 18:16:36

 


# lifls -l /dev/rdsk/c1t8d0
volume c1t8d0 data size 29 directory size 1 11/06/29 15:27:47
filename   type   start   size     implement  created
===============================================================
LABEL      BIN    8       8        0          11/06/29 15:27:47

 

 

  #lifls -l /dev/rdsk/c0t10d0
volume ISL10 data size 7984 directory size 8 02/05/10 16:25:44
filename   type   start   size     implement  created
===============================================================
HPUX       -12928 584     848      0          07/06/08 17:02:23
ODE        -12960 1432    880      0          08/02/25 13:54:09
MAPFILE    -12277 2312    128      0          08/02/25 13:54:09
SYSLIB     -12280 2440    354      0          08/02/25 13:54:09
CONFIGDATA -12278 2800    254      0          08/02/25 13:54:09
SLMOD2     -12276 3056    142      0          08/02/25 13:54:09
SLDEV2     -12276 3200    156      0          08/02/25 13:54:09
SLDRV2     -12276 3360    744      0          08/02/25 13:54:09
SLSCSI2    -12276 4104    121      0          08/02/25 13:54:09
MAPPER2    -12279 4232    146      0          08/02/25 13:54:09
IOTEST2    -12279 4384    880      0          08/02/25 13:54:09
PERFVER2   -12279 5264    126      0          08/02/25 13:54:09
PVCU       -12801 5392    64       0          08/02/25 13:54:09
SSINFO     -12286 5456    2        0          08/02/25 13:54:09
ISL        -12800 5464    306      0          02/05/10 16:25:44
AUTO       -12289 5776    1        0          02/05/10 16:25:44
PAD        -12290 5784    1580     0          02/05/10 16:25:45
LABEL      BIN    7368    8        0          11/06/21 15:01:41

 

 

 

 

 

 

8 REPLIES
Torsten.
Acclaimed Contributor

Re: boot files not showing in alternate boot drive.

 

Why you always open a new topic???

 

Better to continue!

 

 

 

However, if c0t10d0 and c0t8d0 are your boot disks, everything is fine.

 

 

c1t8d0 and c1t10d0 are just "extensions" without lvol 1..3; so you need no files in the LIF.

 

 

 

 

SL        -12800 584     306      0          07/06/08 17:02:23
AUTO       -12289 896     1        0          07/06/08 17:02:23
HPUX       -12928 904     848      0          07/06/08 17:02:23
PAD        -12290 1752    1580     0          07/06/08 17:02:23
LABEL      BIN    3336    8        0          11/06/28 18:16:36

 

are the needed boot files, all others are offline dianostics - you will never need them.

 

 

If somebody else will need them someday, they will use a current version from CD anyway.

 

 

 

 

 


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!   
jerrym
Trusted Contributor

Re: boot files not showing in alternate boot drive.

I don't always post a new topic Torsten. I have posted three in the last week after over a year and a

half of being off the forum. This post being the third which has nothing to do with the previsous LVM

problem. You assume too much.

 

If this is the alternate boot mirror drive. Why does it not have boot info after running mkboot commands??

 

# lifls -l /dev/rdsk/c1t8d0
volume c1t8d0 data size 29 directory size 1 11/06/29 15:27:47
filename   type   start   size     implement  created
===============================================================
LABEL      BIN    8       8        0          11/06/29 15:27:47

 

 

 

 

 

Torsten.
Acclaimed Contributor

Re: boot files not showing in alternate boot drive.

The handling of topics in this new forum is still a bit confusing ...

 

 

 

However, your boot disks are c0t8d0 and c0t10d0.

 

If this is not want you want, you did something wrong.

 

 

Since you did not post your commands, nobody can tell you what you did wrong ...


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!   
jerrym
Trusted Contributor

Re: boot files not showing in alternate boot drive.

When I get back into the office tomorrow I will check what I have for vg00, etc...

I'm pretty sure I had vg00 setup as primary boot drives c0t8d0 and c0t10d0 and

mirrored them to c1t8d0 and c1t10d0 as alternate and installed boot info to c1t8d0. 

 

What happened to the forum? I logged in last week with my old id and for a day

got the old forum style web pages and then the next day it changed. ???

Still trying to figure it all out. I'm at home and have no bottom scroll bar

with XP running IE 8 of this new forum web page.  ??

Torsten.
Acclaimed Contributor

Re: boot files not showing in alternate boot drive.

 you have vg00 across several disks, only the first disk (holding lvol1,2,3) must be bootable.

 

All other disks are just "extensions" to vg00, similar to data disks.

 

So only the LIF of the first disk must be populated.

 

Same for the mirror, of course.


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!   
jerrym
Trusted Contributor

Re: boot files not showing in alternate boot drive.

Here is the vgdisplay info and lvdisplay of /  and commands I typed after moving c0t10d0

as boot drive over to c0t8d0, etc... to get all vg00 lvols over on c0t8d0 and c0t10d0.

 

c0t8d0 and c0t10d0 are my primary boot drives. c1t8d0 and c1t10d0 are my alternates.

c1t8d0 should show boot files when doing lifls on it but it does not.

 

pvcreate -B  -f  /dev/rdsk/c0t8d0

mkboot /dev/rdsk/c0t8d0

mkboot -a "hpux .lq (;0)/stand/vmunix" /dev/rdsk/c0t8d0

 

pvcreate -B -f /dev/rdsk/c1t8d0

mkboot /dev/rdsk/c1t8d0

mkboot -a "hpux .lq (;0)/stand/vmunix" /dev/rdsk/c1t8d0

lvlnboot -R

 

#lifls -l /dev/rdsk/c0t8d0
volume ISL10 data size 7984 directory size 8 07/06/08 17:02:22
filename   type   start   size     implement  created
===============================================================
ISL        -12800 584     306      0          07/06/08 17:02:23
AUTO       -12289 896     1        0          07/06/08 17:02:23
HPUX       -12928 904     848      0          07/06/08 17:02:23
PAD        -12290 1752    1580     0          07/06/08 17:02:23
LABEL      BIN    3336    8        0          11/06/28 18:16:36


#lifls -l /dev/rdsk/c1t8d0
volume c1t8d0 data size 29 directory size 1 11/06/29 15:27:47
filename   type   start   size     implement  created
===============================================================
LABEL      BIN    8       8        0          11/06/29 15:27:47

 

#setboot -p 0/0/1/1/0/4/0.8.0 -a 0/0/1/1/0/4/1.8.0

#setboot

 Primary bootpath : 0/0/1/1/0/4/0.8.0

 Alternate bootpath : 0/0/1/1/0/4/1.8.0

 

 #lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
        /dev/dsk/c0t10d0 (0/0/1/1/0/4/0.10.0) -- Boot Disk      <--How can I remove this as a boot drive?
        /dev/dsk/c1t10d0 (0/0/1/1/0/4/1.10.0)
        /dev/dsk/c0t8d0 (0/0/1/1/0/4/0.8.0) -- Boot Disk
        /dev/dsk/c1t8d0 (0/0/1/1/0/4/1.8.0)                   < --Why is this not listed as a boot drive??
Boot: lvol1     on:     /dev/dsk/c0t8d0
                        /dev/dsk/c1t8d0
Root: lvol3     on:     /dev/dsk/c0t8d0
                        /dev/dsk/c1t8d0
Swap: lvol2     on:     /dev/dsk/c0t8d0
                        /dev/dsk/c1t8d0
Dump: lvol2     on:     /dev/dsk/c0t8d0, 0

 

 

 

 

 #bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3    1048576  149376  892200   14% /
/dev/vg00/lvol8    4194304 2298672 1881064   55% /var
/dev/vg00/lvol7    4194304 1560272 2613584   37% /usr
/dev/vg00/lvol6    1048576    2488 1037984    0% /tmp
/dev/vg00/lvol5    4194304 2583264 1598528   62% /opt
/dev/vg00/lvol10   4194304    2129 3930171    0% /nsr
/dev/vg00/lvol9    4194304    2196 3930173    0% /var/adm/crash

/dev/vg00/lvol4    1048576    3072 1037384    0% /home

 

 

 

 #vgdisplay -v vg00
--- Volume groups ---
VG Name                     /dev/vg00
VG Write Access             read/write
VG Status                   available
Max LV                      255
Cur LV                      10
Open LV                     10
Max PV                      16
Cur PV                      4
Act PV                      4
Max PE per PV               4350
VGDA                        8
PE Size (Mbytes)            8
Total PE                    17360
Alloc PE                    11140
Free PE                     6220
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0

   --- Logical volumes ---
   LV Name                     /dev/vg00/lvol1
   LV Status                   available/syncd
   LV Size (Mbytes)            528
   Current LE                  66
   Allocated PE                132
   Used PV                     2

   LV Name                     /dev/vg00/lvol2
   LV Status                   available/syncd
   LV Size (Mbytes)            20480
   Current LE                  2560
   Allocated PE                5120
   Used PV                     2

   LV Name                     /dev/vg00/lvol3
   LV Status                   available/syncd
   LV Size (Mbytes)            1024
   Current LE                  128
   Allocated PE                256
   Used PV                     2

 .

.

.
   --- Physical volumes ---
   PV Name                     /dev/dsk/c0t10d0
   PV Status                   available
   Total PE                    4340
   Free PE                     2804

   Autoswitch                  On
   Proactive Polling           On

   PV Name                     /dev/dsk/c1t10d0
   PV Status                   available
   Total PE                    4340
   Free PE                     2804
   Autoswitch                  On
   Proactive Polling           On

   PV Name                     /dev/dsk/c0t8d0
   PV Status                   available
   Total PE                    4340
   Free PE                     306
   Autoswitch                  On
   Proactive Polling           On

   PV Name                     /dev/dsk/c1t8d0
   PV Status                   available
   Total PE                    4340
   Free PE                     306
   Autoswitch                  On
   Proactive Polling           On

 

 #lvdisplay -v /dev/vg00/lvol3|more
--- Logical volumes ---
LV Name                     /dev/vg00/lvol3
VG Name                     /dev/vg00
LV Permission               read/write
LV Status                   available/syncd
Mirror copies               1
Consistency Recovery        MWC
Schedule                    parallel
LV Size (Mbytes)            1024
Current LE                  128
Allocated PE                256
Stripes                     0
Stripe Size (Kbytes)        0
Bad block                   off
Allocation                  strict/contiguous
IO Timeout (Seconds)        default

   --- Distribution of logical volume ---
   PV Name            LE on PV  PE on PV
   /dev/dsk/c0t8d0    128       128
   /dev/dsk/c1t8d0    128       128

   --- Logical extents ---
   LE    PV1                PE1   Status 1 PV2                PE2   Status 2
   00000 /dev/dsk/c0t8d0    02626 current  /dev/dsk/c1t8d0    02626 current
      .

 

.

 

Torsten.
Acclaimed Contributor

Re: boot files not showing in alternate boot drive.

I always use

mkboot -l /dev/rdsk/c1t8d0

(lower case L) - not sure if this makes a difference.

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!   
jerrym
Trusted Contributor
Solution

Re: boot files not showing in alternate boot drive.

I unmirrored all the vg00 lvols and did:

 

pvcreate -B -f /dev/rdsk/c1t8d0

mkboot -l /dev/rdsk/c1t8d0

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

 

Now the boot files show up under lifls

 

 

 #lifls -l /dev/rdsk/c1t8d0
volume c1t8d0 data size 7984 directory size 8 11/06/29 15:27:47
filename   type   start   size     implement  created
===============================================================
ISL        -12800 584     306      0          07/06/08 17:02:23
AUTO       -12289 896     1        0          07/06/08 17:02:23
HPUX       -12928 904     848      0          07/06/08 17:02:23
PAD        -12290 1752    1580     0          07/06/08 17:02:23
LABEL      BIN    3336    8        0          11/07/11 12:30:09

 

I guess the -l  with mkboot makes a difference.