Operating System - HP-UX
1832114 Members
2944 Online
110038 Solutions
New Discussion

mkboot failed during mirroring

 
SOLVED
Go to solution
JUP
Regular Advisor

mkboot failed during mirroring

Hi

I'm trying to mirror my internal drive "/dev/rdsk/c0t0d0" onto another internal drive "/dev/rdsk/c2t0d0"

The following are my commands and the resulting error for "mkboot":

# pvcreate -B /dev/rdsk/c2t0d0
Physical volume "/dev/rdsk/c2t0d0" has been successfully created.

# vgextend /dev/vg00 /dev/dsk/c2t0d0
vgextend: Warning: Max_PE_per_PV for the volume group (4238) too small for this
PV (4341).
Using only 4238 PEs from this physical volume.
Volume group "/dev/vg00" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

# mkboot /dev/rdsk/c2t0d0
# mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/c2t0d0

-a specified but no current boot area on /dev/rdsk/c2t0d0

# mkboot -a "hpux (;0) /stand/vmunix" /dev/rdsk/c2t0d0

-a specified but no current boot area on /dev/rdsk/c2t0d0


I continued to do the following:

#lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t0d0

The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol6" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

So I assume the mirroring worked - however not convinced the second drive is bootable as the "mkboot -a ..." command failed.

How to check if the second disk is bootable without removing the original disk ?

Is there something else that I can check for ?

Thanks in advance
JUP


6 REPLIES 6
JUP
Regular Advisor

Re: mkboot failed during mirroring

Need to add that I'm using an HP Itanium, 11.23.

Mic V.
Esteemed Contributor

Re: mkboot failed during mirroring

This document contains many answers:

http://docs.hp.com/en/5990-8172/index.html

In particular, check out:
http://docs.hp.com/en/5990-8172/ch06s02.html#mrflv

Good luck,
Mic
What kind of a name is 'Wolverine'?
JUP
Regular Advisor

Re: mkboot failed during mirroring

Thanks Mic

I was following instruction from the PA-RISC manual.

Never used idisk and efi_cp - and not convinced that I need to either.

JUP
Dietmar Konermann
Honored Contributor
Solution

Re: mkboot failed during mirroring

JUP,

> Never used idisk and efi_cp - and not convinced that I need to either.

Well, regardless if you are convinced... you mirrored only LVM's lvols onto the 2nd disk. However that's far away from having an Itanium boot disk, since it contains no EFI setup/partition at it's beginning.

Sorry to say, but you need to throw away your configured mirrors and then start from scratch, following the steps in the suggested docs.

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
JUP
Regular Advisor

Re: mkboot failed during mirroring

Thanks Dietmar - I'm convinced now.

Found a link that may help others with mirroring on Itanium.

http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,5343,00.html

Ian Hawley
Occasional Advisor

Re: mkboot failed during mirroring


I've been trying to do the same thing, following the TechTip but I get the following:

1.dat contains:

2
EFI 500MB
HPUX 100%


# idisk -wf 1.dat /dev/rdsk/c3t0d0

idisk version: 1.31

********************** WARNING ***********************

If you continue you may destroy all data on this disk.

Do you wish to continue(yes/no)? yes



EFI Primary Header:

Signature = EFI PART

Revision = 0x10000

HeaderSize = 0x5c

HeaderCRC32 = 0xbce8f2e2

MyLbaLo = 0x1

AlternateLbaLo = 0x88bb991

FirstUsableLbaLo = 0x22

LastUsableLbaLo = 0x88bb96e

Disk GUID = 4af624ae-67ee-11da-8001-d6217b60e588

PartitionEntryLbaLo = 0x2

NumberOfPartitionEntries = 0xc

SizeOfPartitionEntry = 0x80

PartitionEntryArrayCRC32 = 0x1c085685



Primary Partition Table (in 512 byte blocks):

Partition 1 (EFI):

Partition Type GUID = c12a7328-f81f-11d2-ba4b-00a0c93ec93b

Unique Partition GUID = 4af62648-67ee-11da-8002-d6217b60e588

Starting Lba = 0x22

Ending Lba = 0xfa021

Partition 2 (HP-UX):

Partition Type GUID = 75894c1e-3aeb-11d3-b7c1-7b03a0000000

Unique Partition GUID = 4af62666-67ee-11da-8003-d6217b60e588

Starting Lba = 0xfa022

Ending Lba = 0x88bb96d



EFI Alternate Header:

Signature = EFI PART

Revision = 0x10000

HeaderSize = 0x5c

HeaderCRC32 = 0x8b934a77

MyLbaLo = 0x88bb991

AlternateLbaLo = 0x1

FirstUsableLbaLo = 0x22

LastUsableLbaLo = 0x88bb96e

Disk GUID = 4af624ae-67ee-11da-8001-d6217b60e588

PartitionEntryLbaLo = 0x88bb970

NumberOfPartitionEntries = 0xc

SizeOfPartitionEntry = 0x80

PartitionEntryArrayCRC32 = 0x1c085685



Alternate Partition Table (in 512 byte blocks):

Partition 1 (EFI):

Partition Type GUID = c12a7328-f81f-11d2-ba4b-00a0c93ec93b

Unique Partition GUID = 4af62648-67ee-11da-8002-d6217b60e588

Starting Lba = 0x22

Ending Lba = 0xfa021

Partition 2 (HP-UX):

Partition Type GUID = 75894c1e-3aeb-11d3-b7c1-7b03a0000000

Unique Partition GUID = 4af62666-67ee-11da-8003-d6217b60e588

Starting Lba = 0xfa022

Ending Lba = 0x88bb96d



Legacy MBR (MBR Signatures in little endian):

MBR Signature = 0x4024f64a



Protective MBR

# efi_ls -d /dev/rdsk/c3t0d0s1

FileName Last Modified Size

¥üõCà à à/ 0/ 0/1980 0



total space 523251712 bytes, free space 500961280 bytes



# mkboot -e -l /dev/rdsk/c3t0d0

# efi_ls -d /dev/rdsk/c3t0d0s1

FileName Last Modified Size

¥üõCà à àEFI/ 0/ 0/1980 0

EFI/ 12/ 8/2005 0

STARTUP.NSH 12/ 8/2005 296



total space 523251712 bytes, free space 497692672 bytes



# mkboot -a "boot vmunix" /dev/rdsk/c3t0d0

Could not update AUTO file on EFI file system

ERROR: /usr/sbin/efi_cp returned 29

Any ideas what the odd file is in the EFI area and why mkboot -a doesn't work?

Thanks,

Ian.