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

Re: [linux-lvm] 2 Q's: power outages during pvmove and fragmentation



On Monday 28 July 2003 12:17, Joe Thornber wrote:
> > 1: suppose my hamster bites my power cord during a pvmove and only half
> > of the data will have moved. How great a disaster does this result in?
> > Does lvm move one extend and does it write to disk which LE has been
> > mapped to which PE, or does it first write all the data and rewrite the
> > metadata?
>
> First off I encourage you to use LVM2 rather than LVM1.  An
> interrupted pvmove can be resumed or aborted after a crash.

Hm, I'll consider upgrading, since lvm2 seems to be largely compatible with 
older lvm installations.

> > 2: does lvm ever get fragmented if one moves data around across different
> > disks a lot?
>
> The extent size is normally so large (4M+) that fragmentation isn't
> really a big problem with LVM.  But we will be making a more general
> remapping tool in the future that allows you to do this sort of thing.

Ok. Cool :-)

-- 
Frank Van Damme    http://www.openstandaarden.be 
~~~~~~~~~~~~~~~    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Je pense, donc je suis breveté."




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