From: Neil Brown <neilb@suse.de>
To: Dennison Williams <evoltech@2inches.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: The effects of multiple layers of block drivers
Date: Fri, 11 Jan 2008 12:45:07 +1100 [thread overview]
Message-ID: <18310.51747.929398.385256@notabene.brown> (raw)
In-Reply-To: message from Dennison Williams on Thursday January 10
On Thursday January 10, evoltech@2inches.com wrote:
> Hello,
>
> I am starting to dig into the Block subsystem to try and uncover the
> reason for some data I lost recently. My situation is that I have
> multiple block drivers on top of each other and am wondering how the
> effectss of a raid 5 rebuild would affect the block devices above it.
It should "just work" - no surprises. raid5 is just a block device
like any other. When doing a rebuild it might be a bit slower, but
that is all.
>
> The layers are raid 5 -> lvm -> cryptoloop. It seems that after the
> raid 5 device was rebuilt by adding in a new disk, that the cryptoloop
> doesn't have a valid ext3 partition on it.
There was a difference of opinion between raid5 and dm-crypt which
could cause some corruption.
What kernel version are you using, and are you using dm-crypt or loop
(e..g losetup) with encryption?
>
> As a raid device re-builds is there ant rearranging of sectors or
> corresponding blocks that would effect another block device on top of it?
No.
NeilBrown
next prev parent reply other threads:[~2008-01-11 1:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-10 22:58 The effects of multiple layers of block drivers Dennison Williams
2008-01-11 1:45 ` Neil Brown [this message]
2008-01-11 8:38 ` Nagilum
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=18310.51747.929398.385256@notabene.brown \
--to=neilb@suse.de \
--cc=evoltech@2inches.com \
--cc=linux-raid@vger.kernel.org \
/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).