From: Guoqing Jiang <gqjiang@suse.com>
To: Adam Goryachev <mailinglists@websitemanagers.com.au>,
Yi Zhang <yizhan@redhat.com>,
linux-raid@vger.kernel.org
Cc: songliubraving@fb.com, shli@fb.com, Jes.Sorensen@redhat.com
Subject: Re: journal disk become the first of --detail list after fail/remove one disk
Date: Fri, 5 Aug 2016 04:49:13 -0400 [thread overview]
Message-ID: <57A45309.4020402@suse.com> (raw)
In-Reply-To: <8ca13969-9e4f-b01e-6456-68a23512836f@websitemanagers.com.au>
On 08/04/2016 07:34 AM, Adam Goryachev wrote:
>
>
> On 4/08/2016 20:52, Yi Zhang wrote:
>> # mdadm -D /dev/md0
>> /dev/md0:
>> Version : 1.2
>> Creation Time : Thu Aug 4 18:42:19 2016
>> Raid Level : raid4
>> Array Size : 3139584 (2.99 GiB 3.21 GB)
>> Used Dev Size : 523264 (511.00 MiB 535.82 MB)
>> Raid Devices : 7
>> Total Devices : 7
>> Persistence : Superblock is persistent
>>
>> Intent Bitmap : Internal
>>
>> Update Time : Thu Aug 4 18:43:22 2016
>> State : clean, degraded
>> Active Devices : 6
>> Working Devices : 7
>> Failed Devices : 0
>> Spare Devices : 1
>>
>> Chunk Size : 512K
>>
>> Name : dhcp-12-125.nay.redhat.com:0 (local to host
>> dhcp-12-125.nay.redhat.com)
>> UUID : 29a267c2:04e91998:639e6eef:64ddbab0
>> Events : 23
>>
>> Number Major Minor RaidDevice State
>> 7 7 0 - journal /dev/loop0
>> 1 7 2 1 active sync /dev/loop2
>> 2 7 3 2 active sync /dev/loop3
>> 3 7 4 3 active sync /dev/loop4
>> 4 7 5 4 active sync /dev/loop5
>> 5 7 6 5 active sync /dev/loop6
>> 8 7 7 6 active sync /dev/loop7
>>
>
> I'm not really sure about the journal/your report, but also why does
> the above show 1 spare device? I would expect spare should mean that
> there is a device available to take over automatically if one of the
> active devices becomes faulty, but that doesn't seem to be the case.
> Should a journal device be counted as Active & Working (or faulty)
> instead of Spare?
Agree, or maybe "Journal Devices" can be added for it (but both kernel
and mdadm need to modify md_u.h I think).
Regards,
Guoqing
prev parent reply other threads:[~2016-08-05 8:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1597878292.11264554.1470307437177.JavaMail.zimbra@redhat.com>
2016-08-04 10:52 ` journal disk become the first of --detail list after fail/remove one disk Yi Zhang
2016-08-04 11:34 ` Adam Goryachev
2016-08-05 8:49 ` Guoqing Jiang [this message]
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=57A45309.4020402@suse.com \
--to=gqjiang@suse.com \
--cc=Jes.Sorensen@redhat.com \
--cc=linux-raid@vger.kernel.org \
--cc=mailinglists@websitemanagers.com.au \
--cc=shli@fb.com \
--cc=songliubraving@fb.com \
--cc=yizhan@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.