[linux-lvm] LV Fragmentation determination

Joe Thornber joe at fib011235813.fsnet.co.uk
Wed Nov 6 07:38:02 UTC 2002

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.

- Joe

More information about the linux-lvm mailing list