Operating System - HP-UX
1833875 Members
2364 Online
110063 Solutions
New Discussion

Re: Replace local Boot Disks on rx2600 (EFI)

 
Christian Marquardt_1
Regular Advisor

Replace local Boot Disks on rx2600 (EFI)

Hello,
does anyone know a good documentation how to replace an boot disk on a rx2600 Itanium server with HP/UX?
If I replace the boot disks with older boot disks they doesn't boot automatically. What have I to do????

regards
Christian
8 REPLIES 8
Robert-Jan Goossens
Honored Contributor

Re: Replace local Boot Disks on rx2600 (EFI)

Christian,

Check this doc.

Title: Replace failed root and non-root LVM disks on Itanium.
Document ID: KBRC00014036

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000079971585

Regards,
Robert-Jan
RAC_1
Honored Contributor

Re: Replace local Boot Disks on rx2600 (EFI)

I do not know exact procedure, but what you can do is as follows. (Assuming that boot disk is mirrored)
First, take mirored lvols out. (reduce mirror copies from problematic disk.)
1. lvreduce -m 0 /dev/vg00/lvolx /dev/dsk/cxtxdx (You may have to use -k option if disk has problems.)
2. Once, all lvols are reduced successfully, reduce the disk from VG. Shutdown and replace disk.
3. Follow boot disk mirror procedure again. (it is little different depdning on OS version-if 11.22 or 11.23.)
There is no substitute to HARDWORK
Christian Marquardt_1
Regular Advisor

Re: Replace local Boot Disks on rx2600 (EFI)

Hello,
I dont need to make additional disk bootable. I need to replace the two original boot disks with another (older) boot disks. In my opinion EFI writes some signature to the boot disk and if I replace the original disks with older boot disks the EFI brings up an error message and I have to write some new signature on the older boot disks to start automatically from the older disks.
Dineshkumar
Advisor

Re: Replace local Boot Disks on rx2600 (EFI)

Hi

If its mirror disk follow this steps

# vi /tmp/partitionfile
EFI 500MB
HPUX 100%
HPSP 400MB

# echo yes | idisk -wf /tmp/partitionfile /dev/rdsk/c4t6d0
# rm /tmp/partitionfile
# insf ?e
# pvcreate -B /dev/rdsk/c4t6d0s2
# mkboot -e -l /dev/dsk/c4t6d0
# efi_fsinit -d /dev/rdsk/c4t6d0s3
# vgcfgrestore -n vg00 /dev/rdsk/c4t6d0s2
# pvchange -a n /dev/dsk/c4t6d0s2
# vgcfgrestore -n vg00 /dev/rdsk/c4t6d0s2
# mkboot -e -l /dev/dsk/c4t6d0
# efi_fsinit -d /dev/rdsk/c4t6d0s3
# vgcfgrestore -n vg00 /dev/rdsk/c4t6d0s2
# pvchange -a y /dev/dsk/c4t6d0s2
# vgchange -a y vg00
# vgsync vg00
# lvlnboot -r /dev/vg00/lvol3 /dev/vg00
# lvlnboot -b /dev/vg00/lvol1 /dev/vg00
# lvlnboot -s /dev/vg00/lvol2 /dev/vg00
# lvlnboot -d /dev/vg00/lvol2 /dev/vg00
# lvlnboot -v (to verify the results)
# vgdisplay -v /dev/vg00 (to verify the results)
# setboot -a (Alternate Boot device path)

Regards,
Dineshkumar
RHCE# 807303594707347
RAC_1
Honored Contributor

Re: Replace local Boot Disks on rx2600 (EFI)

Are old disks with 11.23 or 11.11?
There is no substitute to HARDWORK
Christian Marquardt_1
Regular Advisor

Re: Replace local Boot Disks on rx2600 (EFI)

The old disks are with 11.23
RAC_1
Honored Contributor

Re: Replace local Boot Disks on rx2600 (EFI)

Are these disks from same server or some other server? Just put them and do you see them as bootable disk at boot time on PDC?
There is no substitute to HARDWORK
Christian Marquardt_1
Regular Advisor

Re: Replace local Boot Disks on rx2600 (EFI)

These disks are from this server but these are older versions. The last installation was done on new disk and these are the earlier boot disks of this server. Now we have to bring the machine up with the earlier boot disks.