1829596 Members
1771 Online
109992 Solutions
New Discussion

bootable disk

 
navin
Super Advisor

bootable disk

Hello,
I have mirrored the root disk to the second disk using veritas -vxdiskadm command. When i rebooted the box i did not see the second disk in the boot manager. What else need to be taken care in order to make my second disk is bootable and will show up in boot manager - appreciate your help
Thanks a lot
Learning ...
5 REPLIES 5
Guna_2
Regular Advisor

Re: bootable disk

Hi,

Which os do u have?

If it is IA/64 then u may want to add the mirrored disk as secondary boot disk in efi bootloader.

and if it is pa-risc then u should add the mirrored disk path as secondary boot disk in pdc.

by defualt when we make a mirrored boot disk we initialize the DM with vxdisksetup -B -i c#t#d#.

and we use mkboot command to make the disk bootable.

What procedure did u used to make the bootable disk?

Regards
--MGP--
navin
Super Advisor

Re: bootable disk

Hi ,
I'm using the ia/64 .I have just mirrored the OS with second disk using veritas (vxdiskadm) , if you could share me the info about making the second disk bootable and add it to bootable device list - i will surely appreciate.
Thanks
Learning ...
Guna_2
Regular Advisor

Re: bootable disk

Hi,

If u made the mirror via vxdiskadm. Then i think now ur disk is bootable media.

Please go through the follwoing link.

http://h21007.www2.hp.com/dspp/tech/tech_TechGroupTipDetailPage_IDX/1,2367,10002,00.html#5343


Look on the topic.

Mirroring HP-UX root disk on Itanium-based systems.

In that Point no 7. Adding the boot disk in EFI boot loader.

Hope it will help u.

Thaks and Regards
--MGP--
Mridul Shrivastava
Honored Contributor

Re: bootable disk

How do I create a rootdg mirrored boot disk on Itanium systems ?

=====================================================
NOTE: Steps MUST be executed in sequential order.
=====================================================

A) The first step is to determine which drive is the new drive. Use
"ioscan -fnC disk" command or obtain help from an HP Hardware
Engineer (HP-CE) or HP's Response Center. The disk device name
for this process.
-Example /dev/dsk/c3t2d0 (Controller instance 3, SCSI ID 2, Lun 0)


B) Partition the new disk and populate.

1. Use vi to create a partition description file by doing the following:

# vi /tmp/partitionfile

The 3 line entry for 11.22 should look like this:

2
EFI 100MB
HPUX 100%

The 4 line entry for 11.23 should look like this:

3
EFI 500MB
HPUX 100%
HPSP 400MB


2. Use idisk to setup the disk partitioning using the file created above:

# idisk -wf /tmp/partitionfile /dev/rdsk/cXtXdX

NOTE: There will be a prompt with a message saying the operation may be
destructive and asks to continue. Be sure to answer 'yes' for the
operation to be successful. If the prompt is answered with 'y' only,
an error is received along with a message saying "user aborting".


3. Use insf to create the new device files (cXtXdXs1, cXtXdX2 and cXtXdXs3)

# insf -e

4. Use mkboot to format and populate the newly created EFI partition:
(Note this command is done to the whole disk path)

# mkboot -e -l /dev/dsk/cXtXdX

5. Use vxdctl to have VxVM see the new cXtXdXs2 disk:

# vxdctl enable

6. Use vxdisk to confirm that the new disk can be seen by vxvm
and that it is "online invalid":

# vxdisk list

7. Use vxrootmir to mirror the root disk. Make sure to use
the -v option since mirroring volumes takes a long time:
(Note the path must be to sub-partition s2)

# /etc/vx/bin/vxrootmir -v cXtXdXs2

NOTE: With the full version of "VERITAS Volume Manager", you
will be able to mirror all non-root volumes on rootdg.

# vxassist -g rootdg mirror VOL_NAME

8. Use vxprint to verify that all volumes are mirrored:

# vxprint -g rootdg -vp (All vols should have 2 plexes and
ACTIVE)


D) Create a new EFI boot option.


9. Reboot and select the EFI "Boot Option Maint menu" --> "Add a
boot Option", then select the correct disk. Select "EFI" -->
"HPUX" --> "HPUX.efi". Then name the entry to either
"HP-UX Primary boot" or "HP-UX alternate boot".


Selecting the mirror disk. Example,
(Pun1,Lun0) represents SCSI target 1, Lun 0 (cXt1d0):
(Pun2,Lun0) represents SCSI target 2, Lun 0 (cXt2d0):
---------------------------------------------------------------
EFI Boot Maintenance Manager ver 1.10 [14.61]

Add a Boot Option. Select a Volume

IA64_EFI [Acpi(HWP0002,100)/Pci(1|0)/
Scsi(Pun1,Lun0)/HD(Part1,SigB45A0000)
IA64_EFI [Acpi(HWP0002,100)/Pci(1|1)/
Scsi(Pun2,Lun0)/HD(Part1,Sig958B0000)


10. If required select "Change boot order" to manage the boot
order. For example, "HP-UX Primary boot" should be on the
top, followed by the "HP-UX alternate boot" boot option.



E) VERIFY YOUR WORK!!!

11. Manually boot the system using each boot option.

12. Run the following command after booting HP-UX.

# setboot (Verify that both disks are in the bootpath)
# vxprint -g rootdg -pv (All vols should have 2 plexes and
ACTIVE)
Time has a wonderful way of weeding out the trivial
Adisuria Wangsadinata_1
Honored Contributor

Re: bootable disk

Hi Navin,

Good day to you !
I'm not sure that veritas can works on bootable devices eg. bootdisk / vg00.

But to be sure, you can use the document below (docID : KBRC00014526 for HP-UX 11.23 & KBRC00011156 for HP-UX 11.22) to create a mirror on your bootdisk:

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01016745-1

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01010177-1

To mirror VxVM rootdg on Itanium, you can use the document below (docID : IA64KBRC00012173) :

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&admit=-1335382922+1180937808663+28353475&docId=emr_na-c01001982-1

Hope this information can help.

Cheers,
AW
now working, next not working ... that's unix