[CentOS] How does LVM decide which Physical Volume to write to?

Filipe Brandenburger filbranden at gmail.com
Mon Sep 21 14:30:46 UTC 2009


Hi,

On Sat, Sep 19, 2009 at 02:15, Oliver Ransom <oliver at ransom.com.au> wrote:
> Now I started moving a lot of data onto the volume and iostat said all
> the data was being written to md9. Why that array? How does it decide
> which physical volume to write to?

This does not exactly explain how it picks them at creation, but you
can use the command "lvdisplay -m" or "lvdisplay -m
/dev/vgname/lvname" to show which logical blocks are mapped to which
physical blocks of the underlying pv.

HTH,
Filipe



More information about the CentOS mailing list