Operating System - HP-UX
1834269 Members
96023 Online
110066 Solutions
New Discussion

Setting up Mirroring on root disk : system hangs

 
Mahesh Ganga
Occasional Advisor

Setting up Mirroring on root disk : system hangs

Hi,

I am trying to setup mirroring on my server with 2 internal drives. The OS(11i) is installed on one.

pvcreate and vgextend went ok but "makeboot /dev/dsk/c2t1d0" hangs the entire system. Did anyone see this problem ?
7 REPLIES 7
Sanjay_6
Honored Contributor

Re: Setting up Mirroring on root disk : system hangs

Hi,

I think mkboot works with /dev/rdsk. isn't it ?.

Hope this helps.

Regds
Mahesh Ganga
Occasional Advisor

Re: Setting up Mirroring on root disk : system hangs

Sorry!
This is what I tried:
mkboot -l /dev/rdsk/c2t1d0
and it hangs.
Geoff Wild
Honored Contributor

Re: Setting up Mirroring on root disk : system hangs

Correct - rdsk:

mkboot -l /dev/rdsk/c3t6d0

I attached a procedure I ues.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Sanjay_6
Honored Contributor

Re: Setting up Mirroring on root disk : system hangs

Hi,

Try these two patches,

1.) PHCO_28378
2.) PHCO_27101

And here is the cookbook to create a root mirror,

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

The itrc doc id is LVMKBRC00005103.

Make sure you are using the correct device file.

Hope this helps.

Regds
Kyri Pilavakis
Frequent Advisor

Re: Setting up Mirroring on root disk : system hangs

This is what I use and works ok..It's written for my collegues, so it contains a lot of explanations as to why something is done..
See file attached..
Bosses don't undestand..HP does
Mahesh Ganga
Occasional Advisor

Re: Setting up Mirroring on root disk : system hangs

Thank you all for the help.

It looks like the disk is bad. We found out that even though 'ioscan' and 'diskinfo' showed good data, the "dd" command did the same thing to the system(the system hung)

$ dd if=/dev/rdsk/c2t1d0 of=/dev/null bs=1024k

Kyri Pilavakis
Frequent Advisor

Re: Setting up Mirroring on root disk : system hangs

Srikanth,

Thanks for the 5 points !!!! It's my first....

kyris

Bosses don't undestand..HP does