[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] Move pvmove questions Was: Need help with a particular use-case for pvmove.



On Sun, Nov 14, 2010 at 6:52 PM, Stirling Westrup <swestrup gmail com> wrote:
>>
> Thanks for going through all those steps. It does make the procedure a
> lot clearer in my mind, and it does look like dd_rescue is the way to
> go then. I'm going to head off to try it now.
>

Okay, I've tried the dd_rescue method that was outlined for me, and it
failed, although not for any reasons inherent in the method. It seems
that what is wrong with my 'flakey' drive is not that it has bad
sectors, but that it has a tendency to heat up when used, and then
fail all operations until its cooled down.

So, I went out and managed to borrow a sata card for my server so that
I could hook up all five drives at once, and actually have an active
system while working on it, and now I would like to pvmove all of the
PE's from the old flakey drive to the replacement.

pvmove typically reports getting somewhere around 7% done before the
drive fails, but I would like to know what that represents in terms of
checkpointed data. The man pages are frustratingly vague on a large
number of points:

1) how do you get a list of PEs on a PV?
2) how often are checkpoints made, and can you control that in any way?
3) can you request a given number of PEs to be moved? (I googled and
found someone who claimed to do that in a similar situation, but I
could find no further details).
4) the man page for pvmove says that you can reference a physical
volume with PhysicalVolume[:PE[-PE]..., but it doesn't say what those
suffixes mean, nor could I find any man page which explained it.

Basically, I want to attempt to optimize my uses of pvmove to transfer
as much as possible in as few attempts as possible. Any help would be
appreciated.





-- 
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]