linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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 08:17:25 +1100	[thread overview]
Message-ID: <87zi8mg7mi.fsf@notabene.neil.brown.name> (raw)
In-Reply-To: <63c30fde-d2df-bb92-d6c9-d231a955b5ce@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1593 bytes --]

On Wed, Oct 18 2017, sfunk1x wrote:

> On 10/18/2017 12:40 PM, Wols Lists wrote:
>> What does --detail tell us about the array?
>
> https://imgur.com/a/Own0W
>
> Apologies for the imgur link, but this was the easiest way to
> communicate --detail.

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)?

>
>> Are you sure the three drives were added? SELinux has a habit of causing
>> havoc. Did the available space on the array increase? Did you check?
>
> Yeah. The array took about 17 hours to rebuild with the three drives
> added (I had expected over 24 as that had been my experience with adding
> the 5th drive long ago), and I had immediately started using the extra
> space. The extra 8+ TB showed up in --details, as well as df, and my
> guests could see the extra space.
>
> The SELinux audit log, however, was very clear about mdadm not being
> able to edit the conf. And it's true - the conf file did not have the
> extra drives added. I've since audited and applied a rule to allow the
> editing of the conf file, but the system is currently in permissive mode
> until the array is back online. I can disable if needed.

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'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?

NeilBrown

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  parent reply	other threads:[~2017-10-19 21:17 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 [this message]
2017-10-20  0:43         ` sfunk1x
2017-10-20  1:50           ` NeilBrown
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=87zi8mg7mi.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 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).