[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mdadm: No arrays found in config file or automatically



Gary Dale <garydale@torfree.net> writes:

> Were your arrays running when you ran
>
> mdadm --detail --scan >> /etc/mdadm/mdadm.conf ?
>
> If they weren't then mdadm can't find them to add
> them to mdadm.conf.

At this point, I don't know if I even have arrays.
It is nothing I put there or ever mucked around with,
for sure.

/etc/mdadm/mdadm.conf looks like this:

# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
#DEVICE partitions containers

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays

# This file was auto-generated on Wed, 14 Jan 2015 03:41:06 +0000
# by mkconf 3.2.5-5

Here is the output of:

$ find / -name \*mdadm\* 2> /dev/null
/sys/fs/cgroup/systemd/system.slice/mdadm-raid.service
/sbin/mdadm
/lib/systemd/system-shutdown/mdadm.shutdown
/lib/systemd/system/mdadm-waitidle.service
/lib/systemd/system/mdadm-last-resort@.timer
/lib/systemd/system/mdadm.service
/lib/systemd/system/mdadm-grow-continue@.service
/lib/systemd/system/mdadm-last-resort@.service
/var/lib/ucf/cache/:etc:aide:aide.conf.d:31_aide_mdadm
/var/lib/dpkg/info/mdadm.preinst
/var/lib/dpkg/info/mdadm.postinst
/var/lib/dpkg/info/mdadm.config
/var/lib/dpkg/info/mdadm.conffiles
/var/lib/dpkg/info/mdadm.list
/var/lib/dpkg/info/mdadm.prerm
/var/lib/dpkg/info/mdadm.md5sums
/var/lib/dpkg/info/mdadm.templates
/var/lib/dpkg/info/mdadm.postrm
/var/cache/apt/archives/mdadm_3.3.2-4_amd64.deb
/etc/rcS.d/S08mdadm-raid
/etc/modprobe.d/mdadm.conf
/etc/default/mdadm
/etc/logcheck/violations.d/mdadm
/etc/logcheck/ignore.d.server/mdadm
/etc/aide/aide.conf.d/31_aide_mdadm
/etc/rc5.d/S22mdadm
/etc/mdadm
/etc/mdadm/mdadm.conf
/etc/cron.d/mdadm
/etc/init.d/mdadm-waitidle
/etc/init.d/mdadm-raid
/etc/init.d/mdadm
/etc/rc4.d/S22mdadm
/etc/rc2.d/S22mdadm
/etc/rc3.d/S22mdadm
/etc/cron.daily/mdadm
/etc/rc1.d/K01mdadm
/etc/rc6.d/K11mdadm-raid
/etc/rc6.d/K12mdadm-waitidle
/etc/rc6.d/K01mdadm
/etc/rc0.d/K11mdadm-raid
/etc/rc0.d/K12mdadm-waitidle
/etc/rc0.d/K01mdadm
/usr/share/aide/config/aide/aide.conf.d/31_aide_mdadm
/usr/share/bug/mdadm
/usr/share/mdadm
/usr/share/doc-base/mdadm-readme-recipes
/usr/share/doc-base/mdadm-faq
/usr/share/zsh/functions/Completion/Linux/_mdadm
/usr/share/initramfs-tools/hooks/mdadm
/usr/share/initramfs-tools/scripts/local-top/mdadm
/usr/share/man-ooa/man8/mdadm.8
/usr/share/man-ooa/man5/mdadm.conf.5
/usr/share/doc/mdadm
/usr/share/doc/mdadm/examples/mdadm.conf-example
/usr/share/bash-completion/completions/mdadm
/run/systemd/generator.late/mdadm-raid.service
/run/systemd/generator.late/sysinit.target.wants/mdadm-raid.service
/run/mdadm

-- 
underground experts united
http://user.it.uu.se/~embe8573


Reply to: