linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Strange errors trying to mirror
@ 2010-04-05 14:04 Phillip Susi
  2010-04-05 16:51 ` Bryan Whitehead
  0 siblings, 1 reply; 3+ messages in thread
From: Phillip Susi @ 2010-04-05 14:04 UTC (permalink / raw)
  To: LVM general discussion and development

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] Strange errors trying to mirror
  2010-04-05 14:04 [linux-lvm] Strange errors trying to mirror Phillip Susi
@ 2010-04-05 16:51 ` Bryan Whitehead
  2010-04-05 17:33   ` Phillip Susi
  0 siblings, 1 reply; 3+ messages in thread
From: Bryan Whitehead @ 2010-04-05 16:51 UTC (permalink / raw)
  To: LVM general discussion and development

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@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@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] Strange errors trying to mirror
  2010-04-05 16:51 ` Bryan Whitehead
@ 2010-04-05 17:33   ` Phillip Susi
  0 siblings, 0 replies; 3+ messages in thread
From: Phillip Susi @ 2010-04-05 17:33 UTC (permalink / raw)
  To: LVM general discussion and development

On 4/5/2010 12:51 PM, Bryan Whitehead wrote:
> 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.

No, -i is for update interval to show progress.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-05 17:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-05 14:04 [linux-lvm] Strange errors trying to mirror Phillip Susi
2010-04-05 16:51 ` Bryan Whitehead
2010-04-05 17:33   ` Phillip Susi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).