Bug#806215: mdadm: Problem also occurs with RAID1 array
Daniel Sullivan
dnsulliv at oakland.edu
Tue Jan 26 22:09:19 UTC 2016
Package: mdadm
Version: 3.3.2-5+deb8u1
Followup-For: Bug #806215
Dear Maintainer,
I've completed the questions in the template provided by reportbug below.
* What led up to the situation?
Ran full update and upgrade using apt-get at around 11AM on Tuesday,
January 26th.
Rebooted the machine and the problem occurred.
* What exactly did you do (or not do) that was effective (or
ineffective)?
1. Mounted the root drive using a Debian Stable LiveCD.
2. Commented out the line in /etc/fstab that mounted /dev/md0
to a folder in my home directory:
/dev/md0 [HOMEDIR] ext4 noatime,noexec,rw 0 0
3. Rebooted the machine.
4. Re-assembled the RAID1 array using
mdadm --assemble --force /dev/md0 /dev/sdb1,/dev/sdd1
5. Uncommented the line in /etc/fstab mentioned in step 3.
6. Mounted /dev/md0 to the original folder in my home directory using
mount --all
and confirmed that files could be read from the folder.
7. Rebooted the machine.
* What was the outcome of this action?
Same problem. /dev/md0 was not created, and mdadm made no apparent
attempts to re-assemble the RAID1 array after logging in.
* What outcome did you expect instead?
I expected the RAID1 array to be created as /dev/md0 and mounted to the
folder in my home directory that I designated in /etc/fstab.
-- Package-specific info:
--- mdadm.conf
ARRAY /dev/md0 devices=/dev/sdb,/dev/sdd level=1 num-devices=2 auto=yes
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
MAILADDR root
--- /etc/default/mdadm
INITRDSTART='none'
AUTOCHECK=true
START_DAEMON=true
DAEMON_OPTIONS="--syslog"
VERBOSE=false
--- /proc/mdstat:
Personalities :
unused devices: <none>
--- /proc/partitions:
major minor #blocks name
8 0 78150744 sda
8 1 248832 sda1
8 2 1 sda2
8 5 77899776 sda5
8 16 976762584 sdb
8 17 976761560 sdb1
8 32 5860522584 sdc
8 33 5860520960 sdc1
8 48 976762584 sdd
8 49 976761560 sdd1
11 0 1048575 sr0
254 0 77897728 dm-0
254 1 74690560 dm-1
254 2 3203072 dm-2
--- LVM physical volumes:
PV VG Fmt Attr PSize PFree
/dev/mapper/sda5_crypt doofwagon-vg lvm2 a-- 74.29g 0
--- mount output
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=1013494,mode=755)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=1638800k,mode=755)
/dev/mapper/doofwagon--vg-root on / type ext4
(rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs
(rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup
(rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
(rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup
(rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup
(rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup
(rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup
(rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup
(rw,nosuid,nodev,noexec,relatime,perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs
(rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sdc1 on /home/dnsullivan/library2 type ext4
(rw,noexec,noatime,data=ordered)
/dev/sda1 on /boot type ext2 (rw,relatime)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /run/user/1000 type tmpfs
(rw,nosuid,nodev,relatime,size=819400k,mode=700,uid=1000,gid=1000)
--- initrd.img-3.16.0-4-amd64:
106904 blocks
131be8e959b59b6dc48c289966125cd4 ./sbin/mdadm
d11fdf5c4dc36e493e12540b64cc8fc4 ./conf/mdadm
599bbf3fe6093157a26863dcb59cdf5d ./scripts/local-top/mdadm
1aa46962fd59231a7aef46f17ab354fd ./etc/mdadm/mdadm.conf
d3be82c0f275d6c25b04d388baf9e836 ./etc/modprobe.d/mdadm.conf
07fb41218499d831672d6b87331863a1
./lib/modules/3.16.0-4-amd64/kernel/drivers/md/linear.ko
3a02f53c60739a5549172206e0541c52
./lib/modules/3.16.0-4-amd64/kernel/drivers/md/raid0.ko
6b258314b83f21d8d983b5e12d629fc0
./lib/modules/3.16.0-4-amd64/kernel/drivers/md/raid1.ko
b307708d878588b6c60de00ce5c0785a
./lib/modules/3.16.0-4-amd64/kernel/drivers/md/dm-mod.ko
0fdf63c571b49d46d6daacc3f17352a6
./lib/modules/3.16.0-4-amd64/kernel/drivers/md/dm-snapshot.ko
d1d6ad3a8bce4cc570d66ed60b9ef856
./lib/modules/3.16.0-4-amd64/kernel/drivers/md/multipath.ko
89c02e328dfbe555fa6dbf672dd3c74b
./lib/modules/3.16.0-4-amd64/kernel/drivers/md/dm-bufio.ko
c4a5688fca2b8f10229e19bb31a8c49e
./lib/modules/3.16.0-4-amd64/kernel/drivers/md/raid456.ko
a964933ab7158416c89b9af5549a6570
./lib/modules/3.16.0-4-amd64/kernel/drivers/md/md-mod.ko
ba20940aac01a8da2387912dceb15aa5
./lib/modules/3.16.0-4-amd64/kernel/drivers/md/dm-region-hash.ko
d667cfaecfa20795570916268c218d8d
./lib/modules/3.16.0-4-amd64/kernel/drivers/md/dm-mirror.ko
df0441dd71ce3fa45560ee097469a0b3
./lib/modules/3.16.0-4-amd64/kernel/drivers/md/raid10.ko
0b1b51fdbbcacd9b145bd602d5a7c7ee
./lib/modules/3.16.0-4-amd64/kernel/drivers/md/dm-log.ko
5137132a0856b16af280c0eeefea623c
./lib/modules/3.16.0-4-amd64/kernel/drivers/md/dm-crypt.ko
38010a9345779caeb826363df5047b43
./lib/modules/3.16.0-4-amd64/kernel/drivers/md/dm-raid.ko
--- initrd's /conf/conf.d/md:
no conf/md file.
--- /proc/modules:
dm_crypt 22595 1 - Live 0xffffffffa0000000
dm_mod 89405 9 dm_crypt, Live 0xffffffffa018a000
--- /var/log/syslog:
--- volume detail:
/dev/sda:
MBR Magic : aa55
Partition[0] : 497664 sectors at 2048 (type 83)
Partition[1] : 155799554 sectors at 501758 (type 05)
--
/dev/sda1 is not recognised by mdadm.
/dev/sda2:
MBR Magic : aa55
Partition[0] : 155799552 sectors at 2 (type 83)
--
/dev/sda5 is not recognised by mdadm.
/dev/sdb:
MBR Magic : aa55
Partition[0] : 1953523120 sectors at 2048 (type fd)
--
/dev/sdb1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : ac25d5b0:822398ce:5cc525f9:93c0c588
Name : doofwagon:0 (local to host doofwagon)
Creation Time : Mon Jan 4 09:42:25 2016
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 1953260976 (931.39 GiB 1000.07 GB)
Array Size : 976630464 (931.39 GiB 1000.07 GB)
Used Dev Size : 1953260928 (931.39 GiB 1000.07 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=48 sectors
State : clean
Device UUID : 6b6c99ee:a43ad5dd:9c4b54cb:0b793e7e
Internal Bitmap : 8 sectors from superblock
Update Time : Tue Jan 26 14:25:49 2016
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 2c65b409 - correct
Events : 1548
Device Role : Active device 0
Array State : AA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sdc:
MBR Magic : aa55
Partition[0] : 4294967295 sectors at 1 (type ee)
--
/dev/sdc1 is not recognised by mdadm.
/dev/sdd:
MBR Magic : aa55
Partition[0] : 1953523120 sectors at 2048 (type fd)
--
/dev/sdd1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : ac25d5b0:822398ce:5cc525f9:93c0c588
Name : doofwagon:0 (local to host doofwagon)
Creation Time : Mon Jan 4 09:42:25 2016
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 1953260976 (931.39 GiB 1000.07 GB)
Array Size : 976630464 (931.39 GiB 1000.07 GB)
Used Dev Size : 1953260928 (931.39 GiB 1000.07 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=48 sectors
State : clean
Device UUID : cf693476:ac28f62b:e323e9fd:c6c61b16
Internal Bitmap : 8 sectors from superblock
Update Time : Tue Jan 26 14:25:49 2016
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : cc93c576 - correct
Events : 1548
Device Role : Active device 1
Array State : AA ('A' == active, '.' == missing, 'R' == replacing)
--
--- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.16.0-4-amd64 root=/dev/mapper/doofwagon--vg-root ro quiet
--- grub2:
set root='hd0,msdos1'
set root='hd0,msdos1'
set root='hd0,msdos1'
linux /vmlinuz-3.16.0-4-amd64
root=/dev/mapper/doofwagon--vg-root ro quiet
set root='hd0,msdos1'
linux /vmlinuz-3.16.0-4-amd64
root=/dev/mapper/doofwagon--vg-root ro quiet
set root='hd0,msdos1'
linux /vmlinuz-3.16.0-4-amd64
root=/dev/mapper/doofwagon--vg-root ro single
--- udev:
ii udev 215-17+deb8u amd64 /dev/ and hotplug management daem
e95faba71945b1dcc9749adc5dcd80f6 /lib/udev/rules.d/63-md-raid-arrays.rules
f0b45148fbd3ce678e682925483f17dc /lib/udev/rules.d/64-md-raid-assembly.rules
13e82ea039db387bce78de8e7aeb2f34 /lib/udev/rules.d/99-systemd.rules
--- /dev:
/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root 9 Jan 26 16:36
ata-HL-DT-ST_DVDRAM_GH24NSC0_K2CF9MG3407 -> ../../sr0
lrwxrwxrwx 1 root root 9 Jan 26 16:36 ata-ST380815AS_6RA60PHD -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 26 16:36 ata-ST380815AS_6RA60PHD-part1
-> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 26 16:36 ata-ST380815AS_6RA60PHD-part2
-> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 26 16:36 ata-ST380815AS_6RA60PHD-part5
-> ../../sda5
lrwxrwxrwx 1 root root 9 Jan 26 16:36
ata-WDC_WD10EZEX-00BN5A0_WD-WCC3F1AH87S2 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 26 16:36
ata-WDC_WD10EZEX-00BN5A0_WD-WCC3F1AH87S2-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Jan 26 16:36
ata-WDC_WD10EZEX-00BN5A0_WD-WCC3F1CDTFDT -> ../../sdd
lrwxrwxrwx 1 root root 10 Jan 26 16:36
ata-WDC_WD10EZEX-00BN5A0_WD-WCC3F1CDTFDT-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 9 Jan 26 16:36
ata-WDC_WD60EZRX-00MVLB1_WD-WX11D153XNXU -> ../../sdc
lrwxrwxrwx 1 root root 10 Jan 26 16:36
ata-WDC_WD60EZRX-00MVLB1_WD-WX11D153XNXU-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Jan 26 16:36 dm-name-doofwagon--vg-root -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jan 26 16:36 dm-name-doofwagon--vg-swap_1 ->
../../dm-2
lrwxrwxrwx 1 root root 10 Jan 26 16:36 dm-name-sda5_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jan 26 16:36
dm-uuid-CRYPT-LUKS1-ce1a29bbbfe94a049d516ea15fa66e7b-sda5_crypt ->
../../dm-0
lrwxrwxrwx 1 root root 10 Jan 26 16:36
dm-uuid-LVM-gAtqeKTYLzBRMkd35tysxQ1PNYw7Atgg88VlCout2XABDHHpNLipSeQMPDybRYpw
-> ../../dm-2
lrwxrwxrwx 1 root root 10 Jan 26 16:36
dm-uuid-LVM-gAtqeKTYLzBRMkd35tysxQ1PNYw7AtggWYbnc9iwhTpylojqYsTLzUgIgCIihbEq
-> ../../dm-1
lrwxrwxrwx 1 root root 10 Jan 26 16:36
lvm-pv-uuid-Ywdtem-lLtf-PA24-OXwx-HC5q-gfP7-0Ew5l0 -> ../../dm-0
lrwxrwxrwx 1 root root 9 Jan 26 16:36 wwn-0x5001480000000000 -> ../../sr0
lrwxrwxrwx 1 root root 9 Jan 26 16:36 wwn-0x50014ee261d4419b -> ../../sdd
lrwxrwxrwx 1 root root 10 Jan 26 16:36 wwn-0x50014ee261d4419b-part1 ->
../../sdd1
lrwxrwxrwx 1 root root 9 Jan 26 16:36 wwn-0x50014ee2b67c9fb4 -> ../../sdc
lrwxrwxrwx 1 root root 10 Jan 26 16:36 wwn-0x50014ee2b67c9fb4-part1 ->
../../sdc1
lrwxrwxrwx 1 root root 9 Jan 26 16:36 wwn-0x50014ee2b6918792 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan 26 16:36 wwn-0x50014ee2b6918792-part1 ->
../../sdb1
/dev/disk/by-partlabel:
total 0
lrwxrwxrwx 1 root root 10 Jan 26 16:36 primary -> ../../sdc1
/dev/disk/by-partuuid:
total 0
lrwxrwxrwx 1 root root 10 Jan 26 16:36
795e52c7-d09e-4395-9a12-b1a4b3016e34 -> ../../sdc1
/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 Jan 26 16:36
126b025b-5ffd-4180-913b-c0fe585c8573 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 26 16:36
67963147-1872-4d9a-ba3f-5d24d099e482 -> ../../dm-2
lrwxrwxrwx 1 root root 10 Jan 26 16:36
9d7d2d6b-33d7-479c-a6b1-60bba2a7e4c7 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jan 26 16:36
c6a9d7ec-0a58-4101-9d55-d128b0de2b66 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Jan 26 16:36
ce1a29bb-bfe9-4a04-9d51-6ea15fa66e7b -> ../../sda5
/dev/md:
total 0
Auto-generated on Tue, 26 Jan 2016 16:44:07 -0500 by mdadm bugscript
-- System Information:
Debian Release: 8.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mdadm depends on:
ii debconf [debconf-2.0] 1.5.56
ii initscripts 2.88dsf-59
ii libc6 2.19-18+deb8u2
ii lsb-base 4.1+Debian13+nmu1
ii udev 215-17+deb8u3
Versions of packages mdadm recommends:
ii exim4-daemon-light [mail-transport-agent] 4.84-8+deb8u2
ii kmod 18-3
mdadm suggests no packages.
-- debconf information:
mdadm/initrdstart_msg_intro:
mdadm/initrdstart_msg_errblock:
mdadm/mail_to: root
mdadm/initrdstart_msg_errmd:
mdadm/initrdstart_notinconf: false
mdadm/autocheck: true
* mdadm/initrdstart: none
mdadm/initrdstart_msg_errexist:
mdadm/initrdstart_msg_errconf:
mdadm/start_daemon: true
More information about the pkg-mdadm-devel
mailing list