Re: 2 Q's: power outages during pvmove and fragmentation

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

 



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é."


_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux