Operating System - HP-UX
1833549 Members
2943 Online
110061 Solutions
New Discussion

Re: WARNING: Could not clear boot block on disk

 
Ramones
Frequent Advisor

WARNING: Could not clear boot block on disk

Hi all

I am having trouble with an ignite recovery.
I am trying to upgrade a vpar, from 11.23 to 11.31 by cloning a 11.31 vpar to a new target. I made a make_net_recovery of the source vpar (11.31) to an ignite-ux server, then I copied the recovery and CINDEX files from the source vpar directory to the target directory (in the ignite server).
I changed the vlan of the vpar I want to install to the same of the ignite server, configured NFS and IP in the ignite server.
Then I boot the vpar from another of the same npar and the download of the IINSTALL begins , then the menu of the recovery appears and I choose Install HP-UX...I choose a recovery archive (the ones from the source target appears in the list), the instalation begins...
Then, the error

* Will install B.11.31 onto this system.
WARNING: Could not clear boot block on disk "/dev/rdisk/disk12":
fwrite(i=2957312): No such device or address (errno = 6).
* Using LVM for disk 0/0/2/1/0/4/0.0xa.0x0 (disk7), group: vg00
* Using LVM for disk 1/0/2/1/0/4/0.0xa.0x0 (disk10), group: vg00
* Using LVM for disk 0/0/1/1/0.0x5006048c52a735a7.0x4000000000000000
(disk12), group: vg00
* Using LVM for disk 1/0/1/1/0.0x5006048c52a735a8.0x4000000000000000
(disk12), group: vg00
* Using LVM for disk 1/0/2/1/0/4/0.0x8.0x0 (disk9_p2), group: vg00
* Creating LVM physical volume "/dev/rdisk/disk7"
(0/0/2/1/0/4/0.0xa.0x0).
* Creating LVM physical volume "/dev/rdisk/disk10"
(1/0/2/1/0/4/0.0xa.0x0).
* Creating LVM physical volume "/dev/rdisk/disk12"
(0/0/1/1/0.0x5006048c52a735a7.0x4000000000000000).
* Creating LVM physical volume "/dev/rdisk/disk9_p2"
(1/0/2/1/0/4/0.0x8.0x0).
* Creating volume group "vg00".
vgcreate: Not enough physical extents per physical volume.
Need: 35003, Have: 4384.
ERROR: Command "/sbin/vgcreate -A n -e 4384 -l 255 -p 16 -s 16 /dev/vg00
/dev/disk/disk9_p2 /dev/disk/disk12 /dev/disk/disk10 /dev/disk/disk7"
failed.

The configuration process has incurred an error, would you like
to push a shell for debugging purposes? (y/[n]):

It seams it tries to create the boot disk in a device that it's not there...(there is no disk12, I ran a recovery shell and made an ioscan to check it out)..the disk12 device must be from the source machine, but should he use the disk found in this one...should I make the make_net_recovery with a especial option to allow restore in a diferent disk? I checked make_net_recovery and found nothing about that...
Does anyone saw this before...

Thanks,
R
1 REPLY 1
Keith Bryson
Honored Contributor

Re: WARNING: Could not clear boot block on disk

Hi there

Could you provide the ioscan listing? I apologise if this is obvious, but you are doing a "ioscan -fnNC disk"?

When you created the vpar using vparcreate, did you use the "-a io x/x" feature so the vpar only sees a certain hardware path?

If you do find the disks that are in the ignite vgcreate command, try manually running the vgcreate at the shell but with "... -e 8775 .... -s 64" (rather than 4384 and 16) to specify a larger number of PE per PV and PE size (it looks like you are using 0.5Tb drives here?).

Keith
Arse-cover at all costs