Operating System - HP-UX
1825789 Members
2210 Online
109687 Solutions
New Discussion

Re: mirroring vg00 system disk different on 11.23 than 11.11?

 
Joe Profaizer
Super Advisor

mirroring vg00 system disk different on 11.23 than 11.11?

I'm trying to add /dev/dsk/c2t0d0 to vg00 which already has c2t1d0 as it's only disk. Both are I'm using the following commands:
0. pvcreate -B /dev/rdsk/c2t2d0
1. mkboot /dev/rdsk/c2t2d0
2. mkboot -a "hpux -lq" /dev/rdsk/c2t2d0
3. for LVOL in `ls /dev/vg00/l*`
do
lvextend -m 1 $LVOL
done
4. lvlnboot -v <- Just to make sure it is all clean

Some of the errors I'm getting is:
# mkboot /dev/rdsk/c2t0d0
-W requires file system on device /dev/rdsk/c2t0d0

# mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/c2t0d0
-a specified but no current boot area on /dev/rdsk/c2t0d0

Are there any steps I'm missing. This was a surefire way while on 11.11.

Both disks are HP 73.4GST373453LC

Thanks....
..Joe
10 REPLIES 10
Steven E. Protter
Exalted Contributor

Re: mirroring vg00 system disk different on 11.23 than 11.11?

As far as I've been told there is no difference in the proces. My complete reference on the subject.

pvcreate -B /dev/rdsk/c1t0d0 #use real disk

mkboot -l /dev/rdsk/c1t0d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk


# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?

If you are running 64-bit OS:

# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?


vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0

# real disk. repeat for other lvols

lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot
setboot -a 52.1.0 # second disk

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Patrick Wallek
Honored Contributor

Re: mirroring vg00 system disk different on 11.23 than 11.11?

YES, there is a different procedure on 11.23 than on 11.11.

Check out knowledge base article KBRC00014526

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072837833
Slawomir Gora
Honored Contributor

Re: mirroring vg00 system disk different on 11.23 than 11.11?

Hi,

procedure for doing mirror on HP-UX 11.23
Itanium is quite different because you have to
create partitions for EFI, HPUX and HPSP.
You can create this by idisk command. After that we use partitions 2 for LVM root disk.
In appendix there is my script for 11.23 itanium.

Sridhar Bhaskarla
Honored Contributor

Re: mirroring vg00 system disk different on 11.23 than 11.11?

Hi Joe,

There is quite a bit.. You can't use any commands that would update the LIF as there is no LIF concept on Itaniums. Also, you would see sliced disks instead of partitioned ones.. For ex., c2t0d0 would be c2t0d0s1 for eFI partition and c2t0d0s2 for root disk paritition.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
John Bolene
Honored Contributor

Re: mirroring vg00 system disk different on 11.23 than 11.11?

I just have to say...ty ty ty

I just got a rx2600 and have been beating my head against the wall.

I give these responses a 10 since the person asking the question did not.


John
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Steven E. Protter
Exalted Contributor

Re: mirroring vg00 system disk different on 11.23 than 11.11?

Would someone post a revised procedure so I can update my bookmarks?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Gary Cooper_1
Esteemed Contributor

Re: mirroring vg00 system disk different on 11.23 than 11.11?

Hi Guys,

Check out http://docs.hp.com/en/5992-1910/5992-1910.pdf

Regards,

Gary
Torsten.
Acclaimed Contributor

Re: mirroring vg00 system disk different on 11.23 than 11.11?

The procedure for Integrity (!) servers is totally different.
If you run 11.23 or 11.31 on a PA-RISC the procedure is very similar to 11.11.

Reference:

http://docs.hp.com/en/B2355-90950/ch06s02.html#cchgjafa

"Mirroring a Boot Disk with LVM on HP-UX 11i for HP Integrity Servers"



Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: mirroring vg00 system disk different on 11.23 than 11.11?

Another resource is the Appendix A chapter "How to mirror the root volume (Integrity servers)" in this well-known document:


http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: mirroring vg00 system disk different on 11.23 than 11.11?

And finally, another (different!) procedure to mirror ** 11.31 ** boot disks.

The procedure is different for both (Integrity and 9000's), because of the different device files.

legacy:
/dev/dsk/cxtydzsn

new:
/dev/disk/diskx_pn

See

"Mirroring the Boot Disk on HP Integrity Servers"

http://docs.hp.com/en/5991-6481/ch03s04.html#babegeeh

"Mirroring the Boot Disk on HP 9000 Servers"

http://docs.hp.com/en/5991-6481/ch03s04.html#cbdfgcii

@SEP: consider to use these links to update your bookmarks ;-)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!