Bug#714155: initramfs-tools: mdadm starts up before all needed devices are available
Package: initramfs-tools
Version: 0.113
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Dear Maintainer,
bminton@bminton:~$ dmesg|grep sde
[ 3.114799] sd 8:0:0:0: [sde] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB)
[ 3.115888] sd 8:0:0:0: [sde] Write Protect is off
[ 3.119758] sd 8:0:0:0: [sde] Mode Sense: 00 3a 00 00
[ 3.119808] sd 8:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.134660] sde: unknown partition table
[ 3.135237] sd 8:0:0:0: [sde] Attached SCSI disk
[45018.662644] md: export_rdev(sde)
[45018.748222] md: bind<sde>
[45018.772292] disk 2, o:1, dev:sde
bminton@bminton:~$ dmesg|grep md1
[ 2.164616] md: md1 stopped.
[ 2.171754] md/raid:md1: device sdc operational as raid disk 0
[ 2.172104] md/raid:md1: device sda2 operational as raid disk 1
[ 2.173021] md/raid:md1: allocated 3282kB
[ 2.173416] md/raid:md1: raid level 5 active with 2 out of 3 devices, algorithm 5
[ 2.174093] md1: detected capacity change from 0 to 3000603639808
[ 2.177433] md1: unknown partition table
[45018.773937] md: recovery of RAID array md1
Here's some info about my RAID setup:
Personalities : [raid6] [raid5] [raid4]
md1 : active raid5 sde[3] sdc[0] sda2[1]
2930276992 blocks level 5, 64k chunk, algorithm 5 [3/2] [UU_]
[===>.................] recovery = 19.4% (285554336/1465138496) finish=684.0min speed=28741K/sec
unused devices: <none>
/dev/md1:
Version : 0.90
Creation Time : Wed Jun 3 09:16:22 2009
Raid Level : raid5
Array Size : 2930276992 (2794.53 GiB 3000.60 GB)
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Raid Devices : 3
Total Devices : 3
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Wed Jun 19 11:22:09 2013
State : clean, degraded, recovering
Active Devices : 2
Working Devices : 3
Failed Devices : 0
Spare Devices : 1
Layout : parity-last
Chunk Size : 64K
Rebuild Status : 19% complete
UUID : bfa46bf0:67d6e997:e473ac2a:9f2b3a7b
Events : 0.2609536
Number Major Minor RaidDevice State
0 8 32 0 active sync /dev/sdc
1 8 2 1 active sync /dev/sda2
3 8 64 2 spare rebuilding /dev/sde
- -- Package-specific info:
- -- initramfs sizes
- -rw------- 1 root root 12M Nov 3 2009 /boot/initrd.img-2.6.31-trunk-amd64
- -rw------- 1 root root 13M Sep 10 2010 /boot/initrd.img-2.6.31.5
- -rw------- 1 root root 15M Feb 16 2010 /boot/initrd.img-2.6.31.5.bak
- -rw------- 1 root root 4.7M Oct 27 2011 /boot/initrd.img-2.6.35.5
- -rw------- 1 root root 12M Jun 6 2012 /boot/initrd.img-3.1.6
- -rw-r--r-- 1 root root 9.6M Jun 25 2012 /boot/initrd.img-3.4.3
- -rw------- 1 root root 11M May 2 13:28 /boot/initrd.img-3.7.0
- -rw------- 1 root root 0 Dec 13 2012 /boot/initrd.img-3.7.new
- -rw------- 1 root root 13M Jun 21 09:21 /boot/initrd.img-3.9.0
- -rw-r--r-- 1 root root 8.0M Sep 30 2009 /boot/initrd.img-evms
- -- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.9.0 root=/dev/mapper/root-root_vol ro root=/dev/mapper/root-root_vol ro
- -- /proc/filesystems
reiserfs
ext3
ext2
ext4
squashfs
vfat
iso9660
ntfs
fuseblk
udf
jfs
xfs
btrfs
- -- lsmod
Module Size Used by
xt_limit 1860 5
nf_conntrack_ipv4 9048 2
nf_defrag_ipv4 1473 1 nf_conntrack_ipv4
xt_recent 8255 2
xt_conntrack 2920 2
nf_conntrack 66471 2 xt_conntrack,nf_conntrack_ipv4
cpufreq_powersave 1370 0
cpufreq_conservative 4268 0
cpufreq_ondemand 5212 1
cpufreq_stats 4638 0
ppdev 7256 0
lp 9272 0
bnep 14388 2
rfcomm 56820 0
bluetooth 296970 10 bnep,rfcomm
rfkill 16291 2 bluetooth
nfnetlink_queue 7688 0
nfnetlink_log 7629 0
nfnetlink 4265 2 nfnetlink_log,nfnetlink_queue
uinput 7173 3
nfsd 197243 13
decnet 77683 0
dummy 2368 0
bridge 82616 0
stp 1900 1 bridge
llc 4546 2 stp,bridge
hwmon_vid 2442 0
dm_crypt 13410 0
ch 11769 0
st 30706 0
osst 45284 0
nouveau 764359 2
mxm_wmi 1713 1 nouveau
wmi 8657 2 mxm_wmi,nouveau
video 12263 1 nouveau
i2c_algo_bit 5003 1 nouveau
ttm 63471 1 nouveau
drm_kms_helper 29285 1 nouveau
drm 237454 4 ttm,drm_kms_helper,nouveau
powernow_k8 18511 1
i2c_core 25112 4 drm,drm_kms_helper,i2c_algo_bit,nouveau
k8temp 3647 0
freq_table 5907 3 powernow_k8,cpufreq_stats,cpufreq_ondemand
pcspkr 1987 0
serio_raw 5074 0
shpchp 23717 0
parport_pc 19437 1
parport 31505 3 lp,ppdev,parport_pc
edac_core 45227 0
edac_mce_amd 12517 0
ns558 2458 0
gameport 8116 2 ns558
raid456 60256 1
async_raid6_recov 5174 1 raid456
async_memcpy 2004 2 raid456,async_raid6_recov
async_pq 3960 2 raid456,async_raid6_recov
async_xor 3109 3 async_pq,raid456,async_raid6_recov
async_tx 2717 5 async_pq,raid456,async_xor,async_memcpy,async_raid6_recov
ipv6 279778 100 bridge
nbd 9032 0
usb_storage 47806 0
uli526x 14442 0
sata_sil 7824 2
r8169 50050 0
mii 4247 1 r8169
pata_sil680 5631 3
ata_generic 3606 0
pata_ali 10005 0
pata_acpi 3374 3
sata_uli 3314 2
- -- /etc/initramfs-tools/modules
- -- /etc/kernel-img.conf
do_initrd = Yes
- -- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
- -- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
- -- /etc/crypttab
# <target device> <source device> <key file> <options>
- -- /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md1 : active raid5 sdb[0] sdg[2] sda2[1]
2930276992 blocks level 5, 64k chunk, algorithm 5 [3/3] [UUU]
unused devices: <none>
- -- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
amd64_microcode
bootcdinitramfshook
btrfs
busybox
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
dmraid
dmsetup
dropbear
fuse
intel_microcode
keymap
klibc
kmod
lvm2
mdadm
nbd
ntfs_3g
thermal
udev
zz_nvidia-blacklists-nouveau
- -- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 3.9.0 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages initramfs-tools depends on:
ii cpio 2.11+dfsg-1
ii klibc-utils 2.0.1-3.1
ii kmod 9-3
ii module-init-tools 9-3
ii udev 175-7.2
Versions of packages initramfs-tools recommends:
ii busybox 1:1.20.0-8.1
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.0-1
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEAREDAAYFAlHK5ZUACgkQ2/alund99IfECACfeiX29fnDGu42pPpGavCEaPA1
tKYAoISGjmJnNNMNRAIEfNdS3dcuO1oD
=+ZkR
-----END PGP SIGNATURE-----
Reply to: