From: malahal@us.ibm.com
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Mirrored LV
Date: Mon, 22 Sep 2008 14:21:07 -0700 [thread overview]
Message-ID: <20080922212107.GA19145@us.ibm.com> (raw)
In-Reply-To: <C6403FD1-E3EE-45EC-B294-F8C55FB07896@redhat.com>
Jonathan Brassow [jbrassow@redhat.com] wrote:
> Just to answer some questions:
>
> You can use just 2 disks to create a mirror and a disk log:
> prompt> lvcreate --alloc anywhere -m1 -L 500M -n my_lv my_vg
>
> I wish the allocation policy 'normal' (which is the default) would also do
> this... but instead you must choose a looser allocation policy to get what
> you want.
>
> The reason that you want the disk-based log is to prevent all the extra
> work when you machine comes up.
I wish LVM can detect and only re-sync if needed even with corelog!
> The reason that LVM wants a separate disk for the log is so the head on the
> storage device doesn't need to go ping-ponging around the device. (The log
> is touched for almost every write.) So, its a performance thing... and
> possibly a not-wear-out-your-hardware thing too.
Nice to know about guaranteed long disk seeks with this approach!
--Malahal.
next prev parent reply other threads:[~2008-09-22 21:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-16 19:20 [linux-lvm] Mirrored LV Koen Vermeer
2008-09-16 19:56 ` Georges Giralt
2008-09-16 20:20 ` Koen Vermeer
2008-09-16 20:42 ` malahal
2008-09-16 21:12 ` Koen Vermeer
2008-09-16 21:57 ` malahal
2008-09-17 7:36 ` Koen Vermeer
2008-09-19 15:06 ` Koen Vermeer
2008-09-19 17:31 ` malahal
2008-09-19 22:01 ` Koen Vermeer
2008-09-20 3:39 ` Jonathan Brassow
2008-09-22 21:21 ` malahal [this message]
2008-09-23 8:41 ` Koen Vermeer
2008-09-16 23:01 ` Larry Dickson
2008-09-17 1:22 ` malahal
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=20080922212107.GA19145@us.ibm.com \
--to=malahal@us.ibm.com \
--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.