1833883 Members
1811 Online
110063 Solutions
New Discussion

Re: boot disk questions

 
Rick Garland
Honored Contributor

boot disk questions

Hi all:

rx2620 with HPUX 11.23

Recently re-ignited the vg00 on the system. It has Ignite version 6.2.42 and it is streamed to an Ultrium 2 tape drive.

Got the system restored fine, did the remirror of the root drive. Without having to do a reboot to verify, what values am I looking for on the root drives that says they are both independently bootable.

In checking the configs on the drives,
lvlnboot -v
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t0d0s2 (0/1/1/0.0.0) -- Boot Disk
/dev/dsk/c2t1d0s2 (0/1/1/0.1.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t0d0s2
/dev/dsk/c2t1d0s2
Root: lvol3 on: /dev/dsk/c2t0d0s2
/dev/dsk/c2t1d0s2
Swap: lvol2 on: /dev/dsk/c2t0d0s2
/dev/dsk/c2t1d0s2
Dump: lvol2 on: /dev/dsk/c2t0d0s2, 0

Looking at the quorum settings;
efi_cp -d /dev/rdsk/c2t0d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO.0
efi_cp -d /dev/rdsk/c2t1d0s1 -u EFI/HPUX/AUTO /tmp/AUTO.1

The c2t0d0 (AUTO.0) disk has "boot vmunix"
The c2t1d0 (AUTO.1) disk has "boot vmunix -lq"

Shouldn't both disks have the -lq quorum string? If so, how can I change the 1st disk to have the -lq? On a running system with no reboots.

Thanks
9 REPLIES 9
James R. Ferguson
Acclaimed Contributor

Re: boot disk questions

Hi Rick:

Yes, both disk should have the low quorum.

You should be able to do:

# mkboot â a "hpux â lq" to the disk without any problem.

Regards!

...JRF...
Christian Tremblay
Trusted Contributor

Re: boot disk questions

On Itanium, I believe that the procedure is a little different:

echo "boot vmunix -lq" > /tmp/AUTO.lq
efi_cp -d /dev/rdsk/c2t1d0s1 /tmp/AUTO.lq /EFI/HPUX/AUTO

Chris
Rick Garland
Honored Contributor

Re: boot disk questions

OK, gotta have the quorum setting on both disks

JRF, some weird characters in your post so I am wanting to check on that syntax again.
What I have is
mkboot -e -l /dev/rdsk/c2t0d0
echo "boot vmunix -lq" > /tmp/AUTO.lq

To emphasize again, this is a running system. No reboots allowed at this time. These commands will not interfere, correct?
Rick Garland
Honored Contributor

Re: boot disk questions

Forgot the last step - here they are again.

mkboot -e -l /dev/rdsk/c0t0d0
echo "boot vmunix -lq" > /tmp/AUTO.lq
efi_cp -d /dev/rdsk/c2t0d0s1 /tmp/AUTO.lq /EFI/HPUX/AUTO

James R. Ferguson
Acclaimed Contributor

Re: boot disk questions

Hi (again) Rick:

Sorry about the trash characters. I meant to write:

# mkboot â a "hpux -lq" /dev/rdsk/cXtYdZ

Of course, this is PA-RISC syntax and I missed the fact that you are an Itanium.

Thus:

# echo "boot -lq vmunix" > ./AUTO
# efi_cp -d dev/rdsk/c2t1d0s1 ./AUTO /efi/hpux/auto

...see the mirroring procedure for Itanium in:

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf

Regards!

...JRF...

Rick Garland
Honored Contributor

Re: boot disk questions

BTW I want to do a plug here.

rx2620
HPUX 11.23
ignite C.6.2.241
make_tape_recovery to a local Ultrium-2 tape device

Doing the ignite from the local LTO tape device was fast and easy! Once you got to the screen where you select to boot from DVD and use the tape drive, the vg00 restore took all of 20 min!

No mess; no fuss. All external VGs and EMC devices were put back.

So VERY easy!

Rick Garland
Honored Contributor

Re: boot disk questions

So I do not do the "mkboot -e -l /dev/rdsk/c2t0d0" command?

Rick Garland
Honored Contributor

Re: boot disk questions

ping - put this on top of list
James R. Ferguson
Acclaimed Contributor

Re: boot disk questions

Hi Rick:

> So I do not do the "mkboot -e -l /dev/rdsk/c2t0d0" command?

If you haven't already done this, I read that this is the step before updating the autoboot file. My reference is the link I posted, above. I don't have an Itanium to play with.

Regards!

...JRF...