1837365 Members
3545 Online
110116 Solutions
New Discussion

Making disk bootable

 
SOLVED
Go to solution
Mihails Nikitins
Super Advisor

Making disk bootable

Hi.

Problem. One of mirrored root disks is not bootable.

Question. Is it possibe to make it bootable without breaking mirror and recreating physical volume with 'pvcreate -B'.

# lifls -l /dev/rdsk/c2t2d0
volume c2t2d0 data size 29 directory size 1 05/11/02 18:18:37
filename type start size implement created
===============================================================
LABEL BIN 8 8 0 05/11/02 18:18:37

# mkboot -l /dev/rdsk/c2t2d0
There appear to be non-boot logical volumes on this device.
Overwriting them could destroy all the data on this device

Thanks and points in advance for your comments!
KISS - Keep It Simple Stupid
9 REPLIES 9
Arunvijai_4
Honored Contributor

Re: Making disk bootable

Adisuria Wangsadinata_1
Honored Contributor
Solution

Re: Making disk bootable

Hi,

If at the first time, you didnt use '-B' option when you did pvcreate; this mean you need to do re-mirror again from the first step. That means you need to make it bootable by breaking the mirror and recreating physical volume with 'pvcreate -B' again.

Breaking the mirror and recreating physical volume only destroy all the data in the mirror disk. This mean you didnt destroy the data on the primary disk, and this can be done online.

After mirroring process, dont forget to check the LIFS files on the mirror disk and try to test the boot disk by boot on the alternate disk (mirror disk).

Below is the url (docID : LVMKBRC00005103) about 'How to create a Mirrored Boot Disk on PA-RISC System - Cookbook' :

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

Hope this information can help you.

Cheers,
AW

now working, next not working ... that's unix
Luk Vandenbussche
Honored Contributor

Re: Making disk bootable

Hi,

I don't know which procedure you used.
But perhaps is better to break the mirror

lvreduce -m 0 /dev/vg00/lvolx

and restart the mirroring,
use the script attached
Devender Khatana
Honored Contributor

Re: Making disk bootable

Hi,

Was it not bottable anytime or has become umbootable now?

If it was not bootable then did you gave

#lvlnboot -R

HTH,
Devender
Impossible itself mentions "I m possible"
Fred.Wu
Frequent Advisor

Re: Making disk bootable

pvcreate -B will destroy your data, it's better to re-mirror.
fred
RAC_1
Honored Contributor

Re: Making disk bootable

Break the mirror and reduce that pv from vg00. Now repeat all the procedure and mirror again.
There is no substitute to HARDWORK
Borislav Perkov
Respected Contributor

Re: Making disk bootable

Hi Mihails,

You can't make it without breaking mirror and recreating physical volume.
mkboot command cames after including the disk in the volume group.

Regards,
Borislav
Mihails Nikitins
Super Advisor

Re: Making disk bootable

Thanks for you replies. I don't know about commands used for initializing the problem disk. Probably, '-B' was forgotten. Do you know any method to make sure that '-B' was omitted?

I'll come back with points later.
KISS - Keep It Simple Stupid
Mihails Nikitins
Super Advisor

Re: Making disk bootable

Thank you.
KISS - Keep It Simple Stupid