[linux-lvm] LV Fragmentation determination
Heinz J . Mauelshagen
mauelshagen at sistina.com
Thu Nov 7 11:05:01 UTC 2002
On Wed, Nov 06, 2002 at 01:38:03PM +0000, Joe Thornber wrote:
> On Wed, Nov 06, 2002 at 02:17:00PM +0100, Anders Widman wrote:
> > >> First off, can LV's become fragmented across a PV/VG? If yes then...
> > > Yes, they can.
> > >>
> > >> I'm looking for an easy way to determine how fragmented an LV might been
> > >> inside the VG. Is there any command I can run that'll give me nice
> > >> estimate on this?
> > > You can analyze the "lvdisplay -v" output on your LVs in question.
> > > That shows you the mapping information and therefore, if your LVs are
> > > fragemented.
> > Will LVM include a defragment procedure?
> LVM2 will at some point, in that arbitrary remappings will be
> supported. However I'm not convinced that this is a big problem, the
> extents are 4M after all.
BTW: the default got changed to 32MB to support up to 2TB LVs in
LVM 1.0.6 by default rather than by "vgchange -s" which makes the
impact even smaller.
> - Joe
> linux-lvm mailing list
> linux-lvm at sistina.com
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
Mauelshagen at Sistina.com +49 2626 141200
More information about the linux-lvm