From: Nataraj <incoming-centos@rjl.com>
To: hansbkk@gmail.com
Cc: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Q: LVM over RAID, or plain disks? A:"Yes" = best of both worlds?
Date: Mon, 29 Nov 2010 23:14:58 -0800 [thread overview]
Message-ID: <4CF4A472.20107@rjl.com> (raw)
In-Reply-To: <AANLkTim67atrgHEzunBRvp4ij+MUDiTg4vu5t6sbgFLq@mail.gmail.com>
hansbkk@gmail.com wrote:
> On Tue, Nov 30, 2010 at 1:57 AM, Nataraj <incoming-redhat@rjl.com> wrote:
>
>> Your proposed solution is a bit confusing to understand,
>>
>
> Thanks for taking the time to give me feedback! And sorry I couldn't
> make it clearer, but if the diagram is pasted into a monospace screen
> it becomes more so - duplicated below.
>
> The key is that I want to RAID1 from a given **LV** within the
> TopRAID1 set to regular partitions on physical disks on the TopRAID2
> side.
>
>
>> however raid1 works for doing backups in the manner that you describe .
>> I use it myself and I
>> have, over time read about others doing so as well. Be sure to create your
>> volumes with --bitmap=internal, that way when you swap in a drive, it won't
>> need to replicate the entire drive, only the part that is changed.
>>
>
> TopRAID1's LVM is likely to be running over a RAID6 set , so I'm not
> depending on the TopRAID mirroring for reliability, just using it for
> the above volume cloning.
>
Your raid 1 backups won't mirror any snapshots of your LV's unless you
specifically setup mirroring of the snapshots after they exist.
> When TopRAID1 is running with the TopRAID2 side marked faulty or
> missing, will there be a performance hit or other negative
> consequences?
>
My guess would be no, but the only way to really tell is to run tests.
It would depend somewhat on how your drives and controllers are
configured, but writes might be faster with only a single drive online,
whereas reads may be slower, since you don't have the ability to read
from both drives. But since your LV is already raid 6, it's hard to
tell what the behavior of raid 1 on top of raid 6 will be. I think you
would just have to try it. The syncing of data when you readd a drive
into the raid 1 set tends to be very fast (with the internal bitmap).
> If so, would it be possible/better for the host In normal operations
> to mount the underlying LV directly rather than the degraded top-level
> RAID1?
>
>
No, you want to have mdadm assemble the raid volume, even if in degraded
mode with only one drive and then access the LV on top of the md
device. Even if you were able to mount the LV and bypass raid, that
would be pointless because you would not update the bitmap and
superblock and the integrety of the raid set would be lost.
Nataraj
next prev parent reply other threads:[~2010-11-30 7:15 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTimTYse7vnqZydc1Z5z60vNuQw3juj7J_W7+bQEm@mail.gmail.com>
2010-11-28 15:31 ` [linux-lvm] Q: LVM over RAID, or plain disks? A:"Yes" = best of both worlds? hansbkk
2010-11-29 16:27 ` Lars Ellenberg
2010-11-29 17:00 ` hansbkk
2010-11-29 18:57 ` Nataraj
2010-11-30 5:20 ` hansbkk
2010-11-30 7:14 ` Nataraj [this message]
2010-11-30 7:34 ` hansbkk
2010-11-30 13:13 ` Phil Turmel
2010-11-30 15:39 ` hansbkk
2010-11-30 16:56 ` Phil Turmel
2010-12-01 4:45 ` hansbkk
2010-12-01 12:50 ` Phil Turmel
2010-12-01 19:47 ` hansbkk
2010-11-30 15:41 ` Andrew Gideon
2010-11-30 15:53 ` hansbkk
2010-11-30 15:54 ` hansbkk
[not found] ` <2D.98.07087.690A2FC4@cdptpa-omtalb.mail.rr.com>
2010-11-29 11:01 ` [linux-lvm] " hansbkk
2010-11-29 15:29 ` Keld Jørn Simonsen
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=4CF4A472.20107@rjl.com \
--to=incoming-centos@rjl.com \
--cc=hansbkk@gmail.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 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).