[linux-lvm] Strange errors trying to mirror
Bryan Whitehead
driver at megahappy.net
Mon Apr 5 16:51:20 UTC 2010
What's up with "-i 5"? Doesn't that map to striping? you can't stripe
across 5 pv's if you only have 2.
On Mon, Apr 5, 2010 at 7:04 AM, Phillip Susi <psusi at cfl.rr.com> wrote:
> I'm trying to mirror my root fs and get errors that make no sense. What
> am I missing?
>
> PV VG Fmt Attr PSize PFree
> /dev/sda1 vg0 lvm2 a- 111.79G 61.79G
> /dev/sdb1 vg0 lvm2 a- 111.79G 111.79G
>
> lvconvert -m1 -i 5 vg0/root
> Insufficient suitable allocatable extents for logical volume : 7680
> more required
> Unable to allocate extents for mirror(s).
>
> Then I tried explicitly telling it to allocate from sdb1:
>
> lvconvert -m1 -i 5 vg0/root /dev/sdb1
> Not enough PVs with free space available for parallel allocation.
> Consider --alloc anywhere if desperate.
> Unable to allocate extents for mirror(s).
>
> There are two PVs so why does it complain?
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
More information about the linux-lvm
mailing list