Operating System - HP-UX
1753774 Members
6927 Online
108799 Solutions
New Discussion юеВ

Internal Disk Mirroring problem

 
SOLVED
Go to solution
Walker_3
Frequent Advisor

Internal Disk Mirroring problem

Hi all,
I have rp3440 PA-RISC with 2 internal disk. I am facing problem to copy boot loader to second disk during Mirroring internal disk. I used the following commands. All volumes are mirrored. Now what can I do?

pvcreate -B newdisk
vgextend /dev/vg00
mkboot -l /dev/rdsk/newdisk
mkboot -a "hpux -lq" /dev/rdsk/newdisk
mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p HPUX -p AUTO -p LABEL -p PAD /dev/rdsk/newdisk

then mirrored lvol1 2 3 4 5 6 7
Modified setboot
But failed to reboot from alternat disk. Can any1 help me?

 

P.S. This thread has been moved from HP-UX Technical Documentation to LVM and VxVM. -HP Forum Moderator

11 REPLIES 11
RAC_1
Honored Contributor

Re: Internal Disk Mirroring problem

lifls -l /dev/rdsk/cxtxdx on primary and secondary disk. Check if all utilities are there or not.

Also are you sure, you mirrored the lvols in the correct order?? They should be mirrored ins ame order as they appear on primary disk.
There is no substitute to HARDWORK
Walker_3
Frequent Advisor

Re: Internal Disk Mirroring problem

Hi RAC,
Yes, I have followed the correct order. Do I have to re-establish mirror to troubleshoot this boot loader?
RAC_1
Honored Contributor

Re: Internal Disk Mirroring problem

Repeat the procedure. You have used updatediaglif to put the boot utilities. Which system is this 64 bit or 32 bit?? If 64 bit, then you should be using updatediaglif2 and not updatediaglif.
There is no substitute to HARDWORK
Adisuria Wangsadinata_1
Honored Contributor

Re: Internal Disk Mirroring problem

Hi,

Check the document (docID : LVMKBRC00005103) below about 'How to create a Mirrored Boot Disk on PA-RISC Systems - Cookbook' :

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

To check your system 32/64 bit :

# getconf HW_CPU_SUPP_BITS

Always work when I use this document to mirror the boot disk.

Cheers,
AW
now working, next not working ... that's unix
Artyom Voronchihin
Respected Contributor

Re: Internal Disk Mirroring problem

Hello!

You forgot to execute "lvlnboot -R" just after mkboot to update links in BDRA on newdisk.
"Intel inside" is not a label, it's a warning.
Walker_3
Frequent Advisor

Re: Internal Disk Mirroring problem

Hi,

Can I apply command now without breaking the mirrors? If I have to break the mirrors, what is the procedure to do it?
RAC_1
Honored Contributor

Re: Internal Disk Mirroring problem

lvreduce -m 0 /dev/vgxx/lvolx

Repeat for all lvols.

vgreduce /dev/vg00 /dev/dsk/cxtxdx

Repeat the procedure.
There is no substitute to HARDWORK
Walker_3
Frequent Advisor

Re: Internal Disk Mirroring problem

Hi RAC,
After all steping done orderly when reboot the system I interrupted the normal boot and gave command (bo alt), it tried to boot from alternate disk but since there is no execution file is there so it goes to the ISL prompt. In ISL prompt I have given sevral commands for booting from alternate disk but it says format error, can not execute, etc. Please help.
Sameer_Nirmal
Honored Contributor

Re: Internal Disk Mirroring problem

I suspect the problem with LIF headers and LIF files. Hence you are getting that error.

Now you can cross check LIF headers and files on the new -disk using
#lifls -l /dev/rdsk/new-disk
#licp /dev/rdsk/new-disk:AUTO -

Did you refer the doc mentioned by Adisuria and followed the steps there in?
Did you do followings and cross-check the mirror before trying to boot from the mirror?

# 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

Did you add the entry in /stand/bootconf for the new mirror device ?

If you see problems pertaining to above, just reduce all mirrors and start over.
If you follow all the steps correctly , the mirror should work.