From: Bart Kus <me@bartk.us>
To: "Michał Przyłuski" <mikylie@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Used Dev Size is wrong
Date: Sun, 25 Oct 2009 10:42:09 -0700 [thread overview]
Message-ID: <4AE48DF1.6000001@bartk.us> (raw)
In-Reply-To: <6c4602af0910251019p40116312jf010c3584b817596@mail.gmail.com>
Michał Przyłuski wrote:
> Hello,
>
> 2009/10/25 Bart Kus <me@bartk.us>:
>
>> # mdadm --detail /dev/md4
>> /dev/md4:
>> Version : 1.02
>> Creation Time : Sun Aug 10 23:41:49 2008
>> Raid Level : raid6
>> Array Size : 15628094464 (14904.11 GiB 16003.17 GB)
>> Used Dev Size : 3907023616 (3726.03 GiB 4000.79 GB)
>> ...
>> # mdadm --examine /dev/sdc1
>> /dev/sdc1:
>> ...
>> Avail Dev Size : 3907023730 (1863.01 GiB 2000.40 GB)
>> Array Size : 31256188928 (14904.11 GiB 16003.17 GB)
>> Used Dev Size : 3907023616 (1863.01 GiB 2000.40 GB)
>>
>
> Mostly likely cause is mdadm bug. Please let us know what's mdadm
> version, but I'd suggest getting the newest one, and just seeing if
> the output is correct. If I recall correctly, it's a bug related to a
> sector<->bytes change in output generating code. Not dangerous. It was
> brought to list's attention a while ago, I suppose it might've been in
> 2.6.7? From what I have installed here right now .4 and .9 are okay,
> and .7 is just wrong.
>
> And, as an aside comment, I think that some values of --detail,
> --examine and cat /proc/mdstat are not always what you'd expect during
> ongoing reshape. So if anything else is inconsistent right now, you
> might want to wait.
>
> Cheers,
> Mike
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
Excellent! I'm running mdadm 2.6.8. I compiled 2.6.9 in /tmp/ and when
using that binary, it does show the correct size. When Gentoo decides
to upgrade, this little problem should fix itself.
Thanks!
--Bart
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-10-25 17:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-25 16:56 Used Dev Size is wrong Bart Kus
2009-10-25 17:19 ` Michał Przyłuski
2009-10-25 17:42 ` Bart Kus [this message]
2009-10-25 17:20 ` Thomas Fjellstrom
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=4AE48DF1.6000001@bartk.us \
--to=me@bartk.us \
--cc=linux-raid@vger.kernel.org \
--cc=mikylie@gmail.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.