From: NeilBrown <neilb@suse.com>
To: sfunk1x <sfunk1x@gmail.com>,
Wols Lists <antlists@youngman.org.uk>,
linux-raid@vger.kernel.org
Subject: Re: MDADM RAID 6 Bad Superblock after reboot
Date: Fri, 20 Oct 2017 12:50:37 +1100 [thread overview]
Message-ID: <87efpyfuz6.fsf@notabene.neil.brown.name> (raw)
In-Reply-To: <e257fcc8-9773-a8a2-42bd-6030aef6329e@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1640 bytes --]
On Thu, Oct 19 2017, sfunk1x wrote:
> On 10/19/2017 02:17 PM, NeilBrown wrote:
>
>> Anything is better than nothing.. Can we get a photo of "mdadm
>> --examine" output on one of the devices (e.g. /dev/sda1) ??
>>
>> Also, what mdadm version (mdadm -V) and kernel version (uname -r)?
>
> https://imgur.com/x2rZEl5
>
> I included an --examine of sda1 and sdf.
Thanks. sdf looks like it might have a gpt partition
table on it. The "od -x" supports that. What does "fdisk -l /dev/sdf"
show? What about
mdadm --examine /dev/sdf*
??
>
>> mdadm never tries to edit mdadm.conf.
>> It does modify files in /run/mdadm (or maybe /var/run/mdadm).
>> Can we get a photo of that audit log?
>
> I was mistaken, I think. It looks like mdadm tried to read (??) the file
> and the context for the file was not set properly:
>
> https://imgur.com/5UvFExp
As you say, it was reading. That makes sense but shouldn't be fatal.
>
> In order to "fix" the issue, I ran sealert against the audit.log and
> followed it's instructions, producing a rules file.
>
>>
>> I'm very suspicious of these new drives appearing to have not metadata.
>> Can you
>> od -x /dev/sdf | head
>> od -x /dev/sdf | grep a92b
>> and provide a photo of the output?
>
> grep'ing a92b scrolled off the screen, so I grabbed a portion of it,
> ctrl-c' and included head:
I should have suggested " | head" at the end of the 'grep'
command. Maybe make it
od -x /dev/sdf | grep '4efc a92b' | head
That will look for md metadata.
Thanks
NeilBrown
>
> https://imgur.com/WDcAYBc
>
> Thanks for the help so far.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2017-10-20 1:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <6a0f0e0b-6b03-8ec1-b02f-b17b0447aff8@gmail.com>
2017-10-18 18:14 ` MDADM RAID 6 Bad Superblock after reboot Sean R. Funk
2017-10-18 19:40 ` Wols Lists
2017-10-19 1:52 ` sfunk1x
2017-10-19 10:58 ` Wols Lists
2017-10-19 14:11 ` Sean R. Funk
2017-10-19 14:28 ` Wols Lists
2017-10-19 21:17 ` NeilBrown
2017-10-20 0:43 ` sfunk1x
2017-10-20 1:50 ` NeilBrown [this message]
2017-10-22 21:00 ` sfunk1x
2017-10-22 22:40 ` NeilBrown
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=87efpyfuz6.fsf@notabene.neil.brown.name \
--to=neilb@suse.com \
--cc=antlists@youngman.org.uk \
--cc=linux-raid@vger.kernel.org \
--cc=sfunk1x@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.