1836764 Members
2542 Online
110109 Solutions
New Discussion

Mirroring root partition

 
SOLVED
Go to solution
Robert Peregrin
Frequent Advisor

Mirroring root partition

We will be doing a disk mirroring in one of the HP Servers in STC. Kindly advise if the attached procedure is correct.

Iâ m having problem trying to identify which volume group will be used for the root, boot, swap and dump. So I was not able to complete the procedure for this part:

# lvextend â r
# lvextend â b
# lvextend â s
# lvextend â d

Attached is the RMS Server disk info for your reference.



Regards,

Robert Peregrin
BTC Networks
16 REPLIES 16
AnthonySN
Respected Contributor

Re: Mirroring root partition

note that the procedure for root disk mirroring is different for parisc and itanium.

your root disk volume group is vg00
Robert Peregrin
Frequent Advisor

Re: Mirroring root partition

Yes the root partition is vg00.

Is there a command to verify if the server is parisc or itanium?
AnthonySN
Respected Contributor

Re: Mirroring root partition

what is your server model
post the output of
model and uname -a
if ur model starts with RPxxxx then its pa-risc if RXxxxx then itanium.
Robert Peregrin
Frequent Advisor

Re: Mirroring root partition

Here it is:

s7dmc # uname -a
HP-UX s7dmc B.11.11 U 9000/800 3617756966 unlimited-user license

s7dmc # model
9000/800/rp4440
AnthonySN
Respected Contributor

Re: Mirroring root partition

it is a PA-RISC system
singh sanjeev
Trusted Contributor

Re: Mirroring root partition

>>Iâ  m having problem trying to identify which volume group will be used for the root, boot, swap and dump.

i think you looking for command "lvlnboot" to identify the logical volumes.

#man lvlnboot
Sanjeev Singh
Suraj K Sankari
Honored Contributor

Re: Mirroring root partition

Hi,

See the attached file go to page 48 Appendix D for "Mirroring the Root Volume"

Suraj
Abid Iqbal
Regular Advisor

Re: Mirroring root partition

Hi,
Find attached "mirror_script".
How to run? >> Do 'ioscnan -fnC disk'
Copy the (cxtxdx) path of mirror disk and run command.
./mirror_script cxtxdx
Robert Peregrin
Frequent Advisor

Re: Mirroring root partition

Thanks guys. I will check it on Saturday and feed you back.
Robert Peregrin
Frequent Advisor

Re: Mirroring root partition

Hi,

I still don't get the idea on which logical volume to use for root, swap, boot and dump.


Regards,

Robert Peregrin
Torsten.
Acclaimed Contributor
Solution

Re: Mirroring root partition

Run

# lvlnboot -v vg00

to get this information.

Now use

# lvlnboot -r|-b|-d|-s ...

to write this information to the new disk too.

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!   
Robert Peregrin
Frequent Advisor

Re: Mirroring root partition

Thanks Torsten. I now found what I was looking for.
Robert Peregrin
Frequent Advisor

Re: Mirroring root partition

Hi Torsten,

One more question. What does "/usr/sbin/lvlnboot -R" do?


Regards,

Robert Peregrin
AnthonySN
Respected Contributor

Re: Mirroring root partition

lvlnboot -R /dev/vg00
Recover any missing links to all of the logical volumes
Robert Peregrin
Frequent Advisor

Re: Mirroring root partition

Thanks SASJ.
Robert Peregrin
Frequent Advisor

Re: Mirroring root partition

Thanks Guys. the mirroring procedure is now clear to me.