From: malahal@us.ibm.com
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Mirrored LV
Date: Tue, 16 Sep 2008 13:42:41 -0700 [thread overview]
Message-ID: <20080916204241.GA9810@us.ibm.com> (raw)
In-Reply-To: <1221592827.6037.57.camel@localhost>
Koen Vermeer [koen@vermeer.tv] wrote:
> Hi,
>
> I was thinking of using a mirrored LV as a easier to use alternative to
> a RAID1 PV (with matching VG and LV). I tried to find the information I
> need on how this works and how to set it up, but so far, I failed.
>
> First, am I right in trying to use LVM in this way? I have two disks,
> and I just want to mirror some LVs.
You can by using corelog (aka, log in memory), but read on...
> Second, I am confused by the apparent need to have this log stored on
> another device. Actually, this doesn't seem true in two ways: There's
> the option of having the log in memory and then the documentation only
> says that the log is 'usually on a separate device'. Does that mean that
> using a mirrored LV makes no sense on a system with two disks? Or should
> I just keep the log in memory in this case? Or can I use another PV on
> one of the disks? Should this be mirrored as well? What happens if I
> loose that data?
The log records what regions of your master device are in sync with your
other mirror device. It is used to synchronize the failed regions from
the master to your other device when your 'other device' comes back to
life. This should work whether your log device is in memory or on a PV
by itself as long as you don't de-activate or restart your machine. The
log data on a PV can be useful for reboots.
-Malahal.
next prev parent reply other threads:[~2008-09-16 20:42 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 [this message]
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
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=20080916204241.GA9810@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.