All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Harik A'ttar" <harik@chaos.ao.net>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Error setting up a mirrored lv
Date: Tue, 18 Jul 2006 15:16:13 -0400	[thread overview]
Message-ID: <44BD337D.8070005@chaos.ao.net> (raw)
In-Reply-To: <D81E5F9261AA644D90FF7B8E4005881737C122@PDBEX02E.pdb.fsc.net>

Laurenz, Dirk wrote:
> Hi,
> 
> i'm doing this:
> 
>>> hgest3301:~/LVM2.2.02.06 # lvcreate -m1 -n lvmirror -L 10G 
>>> vgtest /dev/dm-55 /dev/dm-56
>>>   Not enough PVs with free space available for parallel allocation.
>>>   Consider --alloc anywhere if desperate.

> 
> what's wrong? 
> Is there any documentation out there?
> Why do we need three pvs? for a mirror?
> Are there any other options?

As you noticed, you need a log partition.  dm-mirror is a bit smarter 
then the basic MD raid1 in that it uses a log disk to keep track of 
write completions for synchronization.  I've only recently got a kernel 
that supports modern mirror, but it looks like the log file sticks at a 
single extent even with a 20gb mirror (all my free space).

Is there a reason that the mirror is on a separate volume rather then a 
serialized metadata chunk at the end of each?  Just for seektime 
performance reasons?

  parent reply	other threads:[~2006-07-18 19:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-13 12:07 [linux-lvm] Error setting up a mirrored lv Laurenz, Dirk
2006-07-13 12:47 ` Laurenz, Dirk
2006-07-18 19:16 ` Harik A'ttar [this message]
2006-07-18 22:51   ` Luca Berra
2006-07-19 10:15     ` Laurenz, Dirk
2006-07-19 12:25       ` Denny Schierz
2006-07-20 12:29         ` Laurenz, Dirk
2006-07-20 13:49           ` Kelly Sauke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44BD337D.8070005@chaos.ao.net \
    --to=harik@chaos.ao.net \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.