1833238 Members
2564 Online
110051 Solutions
New Discussion

disk remirror

 
SOLVED
Go to solution
Jannik
Honored Contributor

disk remirror

hey,
I have a rp7410 server with mirror vg00. One of the disks had an error, and some of the PE change to stale.
What is the easy way to get it to remirror current to stale?
# lvchange
is probably the command i need but what parameters and in what order?
Is there a guide out there :-) ?
jaton
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor
Solution

Re: disk remirror

Hi Jannik,

lvsync or vgsync will do the job.

Regards,
Robert-Jan
Patrick Wallek
Honored Contributor

Re: disk remirror

Check out the Software Recovery Handbook:
http://www2.itrc.hp.com/service/iv/node.do?node=prodITRC%2FWW_Start%2FN1%7C16

Specifically you want Chapter 16 - Logical Volume Manager. It goes into details about how to replace disk drives. From the link below click on the "Open the Logical Volume Manager (LVM) chapter" link.

http://www2.itrc.hp.com/service/iv/node.do?node=prodITRC%2FWW_Start%2FN1%7C16%7C11
Sridhar Bhaskarla
Honored Contributor

Re: disk remirror

HI Jennik,

If the disk had a problem and you replaced it, then you would need to follow more than 'lvchange|vgchange' procedure. Search these forums with 'replace mirror disk' and you should get quite a few threads on it.

If you are sure that the disk is ok, then you would need to do

#vgsync vgxx

This will sync'up all the logical volumes in that volume group.

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

Re: disk remirror

Hi Jannik,

I would tell you to know reasons that disks had errors. Probably hw problems?
If yes then work about an hw call.
If no hw problems on disk then just

# vgsync

Best regards,
Ettore
WISH? IMPROVEMENT!