From: Nathan Gamber <ngamber@liquidweb.com>
To: linux-raid@vger.kernel.org
Subject: corrupted 600GiB md device
Date: Mon, 28 Mar 2011 17:09:39 -0400 [thread overview]
Message-ID: <4D90F913.5060105@liquidweb.com> (raw)
Hello,
I'm trying to create a soft RAID device from a remote LVM logical volume
imported via iscsi and another, local logical volume. It works without
issue most of the time, but I've found that if I specify a 600GiB
partition with lvcreate, such as with 'lvcreate -L 600G -n test1 LVM'
that /dev/md0 is "corrupted" until the device finishes syncing. For
example, 'fsck /dev/md0'
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
The filesystem size (according to the superblock) is 157286400 blocks
The physical size of the device is 157286384 blocks
Either the superblock or the partition table is likely to be corrupt!
And the details of the array:
/dev/md0:
Version : 0.90
Creation Time : Mon Mar 28 20:56:00 2011
Raid Level : raid1
Array Size : 629145536 (600.00 GiB 644.25 GB)
Used Dev Size : 629145536 (600.00 GiB 644.25 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Mon Mar 28 20:56:34 2011
State : active, resyncing
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Rebuild Status : 0% complete
UUID : da6c0776:2f3beb8f:b13b8b58:8282847d
Events : 0.3
Number Major Minor RaidDevice State
0 8 32 0 active sync /dev/sdc
1 253 10 1 active sync /dev/LVM/npgtest1
With RAID 1.0 metadata, fsck returns the same error, though the size of
the physical device varies from the filesystem by 34 blocks instead of
16. With 1.1 and 1.2 metadata, I get the following error instead:
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/md0
I seem to only have this problem when specifying a logical volume of
600GiB. If I shrink the filesystem on the original volume (before
exporting it via iscsi) slightly, I can't reproduce this. Am I seeing
intended behavior? If so, what would be the appropriate way to work
around it?
-Nathan
reply other threads:[~2011-03-28 21:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4D90F913.5060105@liquidweb.com \
--to=ngamber@liquidweb.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).