1827295 Members
3171 Online
109717 Solutions
New Discussion

Re: unbalanced mirrors

 
David Bellamy
Respected Contributor

unbalanced mirrors

hi

i had to increase /var which i did, but it unbalanced my mirrors (2drives to 2 drives),
i cant use lvreduce or i lose data(?), is there any way to get out of this perdicament
without downtime?

tnx in advance
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: unbalanced mirrors

David:

See 'man !M pvmove'. This will let you move physical extents from one physical volume to another. Does this help?

...JRF...
Rita C Workman
Honored Contributor

Re: unbalanced mirrors

Is your mirror drive reflecting the increase??

Have your tried doing a lvsync???

Just a couple thoughts,
Patrick Wallek
Honored Contributor

Re: unbalanced mirrors

I'm not quite sure I understand the problem. But if /var didn't get extended like you wanted, or to the wrong drive(s), then James is correct in his pvmove suggestion. pvmove will allow you to move the extents for an lv from one physical disk to another, thus allowing you to control where the lv resides.

This CAN be accomplished on the fly, as far as I know.