Bug#537820: removed option "-auto-update-homehost" still present in mdadm script for initrd
Steffen Hau
steffen at hauihau.de
Tue Jul 21 09:28:25 UTC 2009
Package: mdadm
Version: 3.0-1
Severity: grave
Tags: patch
Justification: renders package unusable
My system fails to boot with error message saying that "-auto-update-homehost" is a unrecognized option to mdadm.
After unpacking the initrd, I've found the occurance of "-auto-update-homehost" in scripts/local-top/mdadm. The
file is located in /usr/share/initramfs-tools/scripts/local-top/mdadm. As the ChangeLog for Version 3.0 points out,
this option has been removed. I've therefor patched this file (patch see below).
--- mdadm.orig 2009-07-21 11:23:52.379680363 +0200
+++ mdadm 2009-07-21 11:23:58.715680397 +0200
@@ -77,7 +77,7 @@
verbose && log_begin_msg "Assembling all MD arrays"
extra_args=''
[ -n "$MD_HOMEHOST" ] && \
- extra_args="--homehost='$MD_HOMEHOST' --auto-update-homehost"
+ extra_args="--homehost='$MD_HOMEHOST'"
if $MDADM --assemble --scan --run --auto=yes $extra_args; then
verbose && log_success_msg "assembled all arrays."
else
-- Package-specific info:
--- mount output
/dev/md1 on / type ext4 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/md0 on /boot type ext3 (rw)
--- mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions
# 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
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=1494beb2:fce418e2:76bb4df8:87f7b862
spares=4
ARRAY /dev/md1 level=raid5 num-devices=6 UUID=de49293c:ddfdad1d:22237796:2f89ea4b
ARRAY /dev/md2 level=raid5 num-devices=6 UUID=869aebd3:93319ed6:ebbeb201:706cd6da
# This file was auto-generated on Tue, 02 Jun 2009 10:29:29 +0200
# by mkconf $Id$
--- /proc/mdstat:
Personalities : [raid1] [raid6] [raid5] [raid4]
md2 : active (auto-read-only) raid5 sda5[0] sdf5[5] sde5[4] sdd5[3] sdc5[2] sdb5[1]
7264552320 blocks level 5, 64k chunk, algorithm 2 [6/6] [UUUUUU]
md1 : active raid5 sda3[0] sdf3[5] sde3[4] sdd3[3] sdc3[2] sdb3[1]
48837120 blocks level 5, 64k chunk, algorithm 2 [6/6] [UUUUUU]
md0 : active raid1 sda1[0] sdb1[2](S) sdc1[3](S) sde1[4](S) sdf1[5](S) sdd1[1]
505920 blocks [2/2] [UU]
unused devices: <none>
--- /proc/partitions:
major minor #blocks name
8 0 1465137527 sda
8 1 506016 sda1
8 2 1951897 sda2
8 3 9767520 sda3
8 4 1 sda4
8 5 1452910536 sda5
8 16 1465138584 sdb
8 17 506016 sdb1
8 18 1951897 sdb2
8 19 9767520 sdb3
8 20 1 sdb4
8 21 1452910536 sdb5
8 32 1465138584 sdc
8 33 506016 sdc1
8 34 1951897 sdc2
8 35 9767520 sdc3
8 36 1 sdc4
8 37 1452910536 sdc5
8 48 1465138584 sdd
8 49 506016 sdd1
8 50 1951897 sdd2
8 51 9767520 sdd3
8 52 1 sdd4
8 53 1452910536 sdd5
8 64 1465138584 sde
8 65 506016 sde1
8 66 1951897 sde2
8 67 9767520 sde3
8 68 1 sde4
8 69 1452910536 sde5
8 80 1465138584 sdf
8 81 506016 sdf1
8 82 1951897 sdf2
8 83 9767520 sdf3
8 84 1 sdf4
8 85 1452910536 sdf5
9 0 505920 md0
9 1 48837120 md1
9 2 7264552320 md2
253 0 10485760 dm-0
253 1 10485760 dm-1
--- initrd.img-2.6.30-1-amd64:
16624 blocks
5688c6dfd01f92dbab92542cea29d467 ./sbin/mdadm
86c0f33c9b197faf8a9047be325c828b ./lib/modules/2.6.30-1-amd64/kernel/drivers/md/raid6_pq.ko
d2be080019bcec6064760e50209ee12f ./lib/modules/2.6.30-1-amd64/kernel/drivers/md/dm-mod.ko
f20790c0fa6cf5a43d07049a7fe9c019 ./lib/modules/2.6.30-1-amd64/kernel/drivers/md/dm-mirror.ko
b63efd676a61cad092772a8b0eeb71ea ./lib/modules/2.6.30-1-amd64/kernel/drivers/md/linear.ko
9e1056e50157401007079d7e8085e69b ./lib/modules/2.6.30-1-amd64/kernel/drivers/md/dm-region-hash.ko
9f30c7e043554db8ae7d08241db36353 ./lib/modules/2.6.30-1-amd64/kernel/drivers/md/dm-snapshot.ko
ceac9d0de9ca6544bf896dae2600b7a6 ./lib/modules/2.6.30-1-amd64/kernel/drivers/md/md-mod.ko
576258deba21f381a0259ec46ed9cb01 ./lib/modules/2.6.30-1-amd64/kernel/drivers/md/multipath.ko
e623c0f69cee3064692e033bc528e081 ./lib/modules/2.6.30-1-amd64/kernel/drivers/md/raid10.ko
92be893cdf59455d76371964f6421b19 ./lib/modules/2.6.30-1-amd64/kernel/drivers/md/raid1.ko
4d13d9d2cb1c591c486e7e8dbc0151b7 ./lib/modules/2.6.30-1-amd64/kernel/drivers/md/raid0.ko
ad1c1a7c38ca591e921e4e7e0af8ef8a ./lib/modules/2.6.30-1-amd64/kernel/drivers/md/dm-log.ko
d4f7571e3262331c26a48aaf0ba2f79c ./lib/modules/2.6.30-1-amd64/kernel/drivers/md/raid456.ko
5155f0a5a17b6d8d1017981c97ce9c4a ./scripts/local-top/mdadm
c6ed5021801c612bb3a391c8de8c2f83 ./etc/mdadm/mdadm.conf
--- /proc/modules:
dm_mirror 14536 0 - Live 0xffffffffa0165000
dm_region_hash 12704 1 dm_mirror, Live 0xffffffffa015f000
dm_log 9924 2 dm_mirror,dm_region_hash, Live 0xffffffffa0082000
dm_snapshot 22684 0 - Live 0xffffffffa0157000
dm_mod 59224 7 dm_mirror,dm_log,dm_snapshot, Live 0xffffffffa0146000
raid456 48368 2 - Live 0xffffffffa0138000
raid6_pq 80928 1 raid456, Live 0xffffffffa011f000
async_xor 4032 1 raid456, Live 0xffffffffa0119000
async_memcpy 2400 1 raid456, Live 0xffffffffa0113000
async_tx 4016 3 raid456,async_xor,async_memcpy, Live 0xffffffffa010d000
xor 5488 2 raid456,async_xor, Live 0xffffffffa0106000
raid1 21104 1 - Live 0xffffffffa00fb000
md_mod 86468 5 raid456,raid1, Live 0xffffffffa00e0000
--- /var/log/syslog:
--- volume detail:
/dev/sda is not recognised by mdadm.
/dev/sda1:
Magic : a92b4efc
Version : 0.90.00
UUID : 1494beb2:fce418e2:76bb4df8:87f7b862
Creation Time : Tue Jun 2 10:16:17 2009
Raid Level : raid1
Used Dev Size : 505920 (494.15 MiB 518.06 MB)
Array Size : 505920 (494.15 MiB 518.06 MB)
Raid Devices : 2
Total Devices : 6
Preferred Minor : 0
Update Time : Tue Jul 21 11:15:30 2009
State : clean
Active Devices : 2
Working Devices : 6
Failed Devices : 0
Spare Devices : 4
Checksum : 4de94e57 - correct
Events : 44
Number Major Minor RaidDevice State
this 0 8 1 0 active sync /dev/sda1
0 0 8 1 0 active sync /dev/sda1
1 1 8 49 1 active sync /dev/sdd1
2 2 8 17 2 spare /dev/sdb1
3 3 8 33 3 spare /dev/sdc1
4 4 8 65 4 spare /dev/sde1
5 5 8 81 5 spare /dev/sdf1
--
/dev/sda2 is not recognised by mdadm.
/dev/sda3:
Magic : a92b4efc
Version : 0.90.00
UUID : de49293c:ddfdad1d:22237796:2f89ea4b
Creation Time : Tue Jun 2 10:25:40 2009
Raid Level : raid5
Used Dev Size : 9767424 (9.31 GiB 10.00 GB)
Array Size : 48837120 (46.57 GiB 50.01 GB)
Raid Devices : 6
Total Devices : 6
Preferred Minor : 1
Update Time : Tue Jul 21 11:21:03 2009
State : clean
Active Devices : 6
Working Devices : 6
Failed Devices : 0
Spare Devices : 0
Checksum : 4c3fffb8 - correct
Events : 254
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 0 8 3 0 active sync /dev/sda3
0 0 8 3 0 active sync /dev/sda3
1 1 8 19 1 active sync /dev/sdb3
2 2 8 35 2 active sync /dev/sdc3
3 3 8 51 3 active sync /dev/sdd3
4 4 8 67 4 active sync /dev/sde3
5 5 8 83 5 active sync /dev/sdf3
--
/dev/sda4 is not recognised by mdadm.
/dev/sda5:
Magic : a92b4efc
Version : 0.90.00
UUID : 869aebd3:93319ed6:ebbeb201:706cd6da
Creation Time : Tue Jun 2 19:13:10 2009
Raid Level : raid5
Used Dev Size : 1452910464 (1385.60 GiB 1487.78 GB)
Array Size : 7264552320 (6928.02 GiB 7438.90 GB)
Raid Devices : 6
Total Devices : 6
Preferred Minor : 2
Update Time : Tue Jul 21 09:14:23 2009
State : clean
Active Devices : 6
Working Devices : 6
Failed Devices : 0
Spare Devices : 0
Checksum : a48d48c - correct
Events : 2
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 0 8 5 0 active sync /dev/sda5
0 0 8 5 0 active sync /dev/sda5
1 1 8 21 1 active sync /dev/sdb5
2 2 8 37 2 active sync /dev/sdc5
3 3 8 53 3 active sync /dev/sdd5
4 4 8 69 4 active sync /dev/sde5
5 5 8 85 5 active sync /dev/sdf5
--
/dev/sdb is not recognised by mdadm.
/dev/sdb1:
Magic : a92b4efc
Version : 0.90.00
UUID : 1494beb2:fce418e2:76bb4df8:87f7b862
Creation Time : Tue Jun 2 10:16:17 2009
Raid Level : raid1
Used Dev Size : 505920 (494.15 MiB 518.06 MB)
Array Size : 505920 (494.15 MiB 518.06 MB)
Raid Devices : 2
Total Devices : 6
Preferred Minor : 0
Update Time : Tue Jul 21 11:15:30 2009
State : clean
Active Devices : 2
Working Devices : 6
Failed Devices : 0
Spare Devices : 4
Checksum : 4de94e65 - correct
Events : 44
Number Major Minor RaidDevice State
this 2 8 17 2 spare /dev/sdb1
0 0 8 1 0 active sync /dev/sda1
1 1 8 49 1 active sync /dev/sdd1
2 2 8 17 2 spare /dev/sdb1
3 3 8 33 3 spare /dev/sdc1
4 4 8 65 4 spare /dev/sde1
5 5 8 81 5 spare /dev/sdf1
--
/dev/sdb2 is not recognised by mdadm.
/dev/sdb3:
Magic : a92b4efc
Version : 0.90.00
UUID : de49293c:ddfdad1d:22237796:2f89ea4b
Creation Time : Tue Jun 2 10:25:40 2009
Raid Level : raid5
Used Dev Size : 9767424 (9.31 GiB 10.00 GB)
Array Size : 48837120 (46.57 GiB 50.01 GB)
Raid Devices : 6
Total Devices : 6
Preferred Minor : 1
Update Time : Tue Jul 21 11:21:03 2009
State : clean
Active Devices : 6
Working Devices : 6
Failed Devices : 0
Spare Devices : 0
Checksum : 4c3fffca - correct
Events : 254
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 1 8 19 1 active sync /dev/sdb3
0 0 8 3 0 active sync /dev/sda3
1 1 8 19 1 active sync /dev/sdb3
2 2 8 35 2 active sync /dev/sdc3
3 3 8 51 3 active sync /dev/sdd3
4 4 8 67 4 active sync /dev/sde3
5 5 8 83 5 active sync /dev/sdf3
--
/dev/sdb4 is not recognised by mdadm.
/dev/sdb5:
Magic : a92b4efc
Version : 0.90.00
UUID : 869aebd3:93319ed6:ebbeb201:706cd6da
Creation Time : Tue Jun 2 19:13:10 2009
Raid Level : raid5
Used Dev Size : 1452910464 (1385.60 GiB 1487.78 GB)
Array Size : 7264552320 (6928.02 GiB 7438.90 GB)
Raid Devices : 6
Total Devices : 6
Preferred Minor : 2
Update Time : Tue Jul 21 09:14:23 2009
State : clean
Active Devices : 6
Working Devices : 6
Failed Devices : 0
Spare Devices : 0
Checksum : a48d49e - correct
Events : 2
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 1 8 21 1 active sync /dev/sdb5
0 0 8 5 0 active sync /dev/sda5
1 1 8 21 1 active sync /dev/sdb5
2 2 8 37 2 active sync /dev/sdc5
3 3 8 53 3 active sync /dev/sdd5
4 4 8 69 4 active sync /dev/sde5
5 5 8 85 5 active sync /dev/sdf5
--
/dev/sdc is not recognised by mdadm.
/dev/sdc1:
Magic : a92b4efc
Version : 0.90.00
UUID : 1494beb2:fce418e2:76bb4df8:87f7b862
Creation Time : Tue Jun 2 10:16:17 2009
Raid Level : raid1
Used Dev Size : 505920 (494.15 MiB 518.06 MB)
Array Size : 505920 (494.15 MiB 518.06 MB)
Raid Devices : 2
Total Devices : 6
Preferred Minor : 0
Update Time : Tue Jul 21 11:15:30 2009
State : clean
Active Devices : 2
Working Devices : 6
Failed Devices : 0
Spare Devices : 4
Checksum : 4de94e77 - correct
Events : 44
Number Major Minor RaidDevice State
this 3 8 33 3 spare /dev/sdc1
0 0 8 1 0 active sync /dev/sda1
1 1 8 49 1 active sync /dev/sdd1
2 2 8 17 2 spare /dev/sdb1
3 3 8 33 3 spare /dev/sdc1
4 4 8 65 4 spare /dev/sde1
5 5 8 81 5 spare /dev/sdf1
--
/dev/sdc2 is not recognised by mdadm.
/dev/sdc3:
Magic : a92b4efc
Version : 0.90.00
UUID : de49293c:ddfdad1d:22237796:2f89ea4b
Creation Time : Tue Jun 2 10:25:40 2009
Raid Level : raid5
Used Dev Size : 9767424 (9.31 GiB 10.00 GB)
Array Size : 48837120 (46.57 GiB 50.01 GB)
Raid Devices : 6
Total Devices : 6
Preferred Minor : 1
Update Time : Tue Jul 21 11:21:03 2009
State : clean
Active Devices : 6
Working Devices : 6
Failed Devices : 0
Spare Devices : 0
Checksum : 4c3fffdc - correct
Events : 254
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 2 8 35 2 active sync /dev/sdc3
0 0 8 3 0 active sync /dev/sda3
1 1 8 19 1 active sync /dev/sdb3
2 2 8 35 2 active sync /dev/sdc3
3 3 8 51 3 active sync /dev/sdd3
4 4 8 67 4 active sync /dev/sde3
5 5 8 83 5 active sync /dev/sdf3
--
/dev/sdc4 is not recognised by mdadm.
/dev/sdc5:
Magic : a92b4efc
Version : 0.90.00
UUID : 869aebd3:93319ed6:ebbeb201:706cd6da
Creation Time : Tue Jun 2 19:13:10 2009
Raid Level : raid5
Used Dev Size : 1452910464 (1385.60 GiB 1487.78 GB)
Array Size : 7264552320 (6928.02 GiB 7438.90 GB)
Raid Devices : 6
Total Devices : 6
Preferred Minor : 2
Update Time : Tue Jul 21 09:14:23 2009
State : clean
Active Devices : 6
Working Devices : 6
Failed Devices : 0
Spare Devices : 0
Checksum : a48d4b0 - correct
Events : 2
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 2 8 37 2 active sync /dev/sdc5
0 0 8 5 0 active sync /dev/sda5
1 1 8 21 1 active sync /dev/sdb5
2 2 8 37 2 active sync /dev/sdc5
3 3 8 53 3 active sync /dev/sdd5
4 4 8 69 4 active sync /dev/sde5
5 5 8 85 5 active sync /dev/sdf5
--
/dev/sdd is not recognised by mdadm.
/dev/sdd1:
Magic : a92b4efc
Version : 0.90.00
UUID : 1494beb2:fce418e2:76bb4df8:87f7b862
Creation Time : Tue Jun 2 10:16:17 2009
Raid Level : raid1
Used Dev Size : 505920 (494.15 MiB 518.06 MB)
Array Size : 505920 (494.15 MiB 518.06 MB)
Raid Devices : 2
Total Devices : 6
Preferred Minor : 0
Update Time : Tue Jul 21 11:15:30 2009
State : clean
Active Devices : 2
Working Devices : 6
Failed Devices : 0
Spare Devices : 4
Checksum : 4de94e89 - correct
Events : 44
Number Major Minor RaidDevice State
this 1 8 49 1 active sync /dev/sdd1
0 0 8 1 0 active sync /dev/sda1
1 1 8 49 1 active sync /dev/sdd1
2 2 8 17 2 spare /dev/sdb1
3 3 8 33 3 spare /dev/sdc1
4 4 8 65 4 spare /dev/sde1
5 5 8 81 5 spare /dev/sdf1
--
/dev/sdd2 is not recognised by mdadm.
/dev/sdd3:
Magic : a92b4efc
Version : 0.90.00
UUID : de49293c:ddfdad1d:22237796:2f89ea4b
Creation Time : Tue Jun 2 10:25:40 2009
Raid Level : raid5
Used Dev Size : 9767424 (9.31 GiB 10.00 GB)
Array Size : 48837120 (46.57 GiB 50.01 GB)
Raid Devices : 6
Total Devices : 6
Preferred Minor : 1
Update Time : Tue Jul 21 11:21:03 2009
State : clean
Active Devices : 6
Working Devices : 6
Failed Devices : 0
Spare Devices : 0
Checksum : 4c3fffee - correct
Events : 254
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 3 8 51 3 active sync /dev/sdd3
0 0 8 3 0 active sync /dev/sda3
1 1 8 19 1 active sync /dev/sdb3
2 2 8 35 2 active sync /dev/sdc3
3 3 8 51 3 active sync /dev/sdd3
4 4 8 67 4 active sync /dev/sde3
5 5 8 83 5 active sync /dev/sdf3
--
/dev/sdd4 is not recognised by mdadm.
/dev/sdd5:
Magic : a92b4efc
Version : 0.90.00
UUID : 869aebd3:93319ed6:ebbeb201:706cd6da
Creation Time : Tue Jun 2 19:13:10 2009
Raid Level : raid5
Used Dev Size : 1452910464 (1385.60 GiB 1487.78 GB)
Array Size : 7264552320 (6928.02 GiB 7438.90 GB)
Raid Devices : 6
Total Devices : 6
Preferred Minor : 2
Update Time : Tue Jul 21 09:14:23 2009
State : clean
Active Devices : 6
Working Devices : 6
Failed Devices : 0
Spare Devices : 0
Checksum : a48d4c2 - correct
Events : 2
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 3 8 53 3 active sync /dev/sdd5
0 0 8 5 0 active sync /dev/sda5
1 1 8 21 1 active sync /dev/sdb5
2 2 8 37 2 active sync /dev/sdc5
3 3 8 53 3 active sync /dev/sdd5
4 4 8 69 4 active sync /dev/sde5
5 5 8 85 5 active sync /dev/sdf5
--
/dev/sde is not recognised by mdadm.
/dev/sde1:
Magic : a92b4efc
Version : 0.90.00
UUID : 1494beb2:fce418e2:76bb4df8:87f7b862
Creation Time : Tue Jun 2 10:16:17 2009
Raid Level : raid1
Used Dev Size : 505920 (494.15 MiB 518.06 MB)
Array Size : 505920 (494.15 MiB 518.06 MB)
Raid Devices : 2
Total Devices : 6
Preferred Minor : 0
Update Time : Tue Jul 21 11:15:30 2009
State : clean
Active Devices : 2
Working Devices : 6
Failed Devices : 0
Spare Devices : 4
Checksum : 4de94e99 - correct
Events : 44
Number Major Minor RaidDevice State
this 4 8 65 4 spare /dev/sde1
0 0 8 1 0 active sync /dev/sda1
1 1 8 49 1 active sync /dev/sdd1
2 2 8 17 2 spare /dev/sdb1
3 3 8 33 3 spare /dev/sdc1
4 4 8 65 4 spare /dev/sde1
5 5 8 81 5 spare /dev/sdf1
--
/dev/sde2 is not recognised by mdadm.
/dev/sde3:
Magic : a92b4efc
Version : 0.90.00
UUID : de49293c:ddfdad1d:22237796:2f89ea4b
Creation Time : Tue Jun 2 10:25:40 2009
Raid Level : raid5
Used Dev Size : 9767424 (9.31 GiB 10.00 GB)
Array Size : 48837120 (46.57 GiB 50.01 GB)
Raid Devices : 6
Total Devices : 6
Preferred Minor : 1
Update Time : Tue Jul 21 11:21:03 2009
State : clean
Active Devices : 6
Working Devices : 6
Failed Devices : 0
Spare Devices : 0
Checksum : 4c400000 - correct
Events : 254
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 4 8 67 4 active sync /dev/sde3
0 0 8 3 0 active sync /dev/sda3
1 1 8 19 1 active sync /dev/sdb3
2 2 8 35 2 active sync /dev/sdc3
3 3 8 51 3 active sync /dev/sdd3
4 4 8 67 4 active sync /dev/sde3
5 5 8 83 5 active sync /dev/sdf3
--
/dev/sde4 is not recognised by mdadm.
/dev/sde5:
Magic : a92b4efc
Version : 0.90.00
UUID : 869aebd3:93319ed6:ebbeb201:706cd6da
Creation Time : Tue Jun 2 19:13:10 2009
Raid Level : raid5
Used Dev Size : 1452910464 (1385.60 GiB 1487.78 GB)
Array Size : 7264552320 (6928.02 GiB 7438.90 GB)
Raid Devices : 6
Total Devices : 6
Preferred Minor : 2
Update Time : Tue Jul 21 09:14:23 2009
State : clean
Active Devices : 6
Working Devices : 6
Failed Devices : 0
Spare Devices : 0
Checksum : a48d4d4 - correct
Events : 2
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 4 8 69 4 active sync /dev/sde5
0 0 8 5 0 active sync /dev/sda5
1 1 8 21 1 active sync /dev/sdb5
2 2 8 37 2 active sync /dev/sdc5
3 3 8 53 3 active sync /dev/sdd5
4 4 8 69 4 active sync /dev/sde5
5 5 8 85 5 active sync /dev/sdf5
--
/dev/sdf is not recognised by mdadm.
/dev/sdf1:
Magic : a92b4efc
Version : 0.90.00
UUID : 1494beb2:fce418e2:76bb4df8:87f7b862
Creation Time : Tue Jun 2 10:16:17 2009
Raid Level : raid1
Used Dev Size : 505920 (494.15 MiB 518.06 MB)
Array Size : 505920 (494.15 MiB 518.06 MB)
Raid Devices : 2
Total Devices : 6
Preferred Minor : 0
Update Time : Tue Jul 21 11:15:30 2009
State : clean
Active Devices : 2
Working Devices : 6
Failed Devices : 0
Spare Devices : 4
Checksum : 4de94eab - correct
Events : 44
Number Major Minor RaidDevice State
this 5 8 81 5 spare /dev/sdf1
0 0 8 1 0 active sync /dev/sda1
1 1 8 49 1 active sync /dev/sdd1
2 2 8 17 2 spare /dev/sdb1
3 3 8 33 3 spare /dev/sdc1
4 4 8 65 4 spare /dev/sde1
5 5 8 81 5 spare /dev/sdf1
--
/dev/sdf2 is not recognised by mdadm.
/dev/sdf3:
Magic : a92b4efc
Version : 0.90.00
UUID : de49293c:ddfdad1d:22237796:2f89ea4b
Creation Time : Tue Jun 2 10:25:40 2009
Raid Level : raid5
Used Dev Size : 9767424 (9.31 GiB 10.00 GB)
Array Size : 48837120 (46.57 GiB 50.01 GB)
Raid Devices : 6
Total Devices : 6
Preferred Minor : 1
Update Time : Tue Jul 21 11:21:03 2009
State : clean
Active Devices : 6
Working Devices : 6
Failed Devices : 0
Spare Devices : 0
Checksum : 4c400012 - correct
Events : 254
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 5 8 83 5 active sync /dev/sdf3
0 0 8 3 0 active sync /dev/sda3
1 1 8 19 1 active sync /dev/sdb3
2 2 8 35 2 active sync /dev/sdc3
3 3 8 51 3 active sync /dev/sdd3
4 4 8 67 4 active sync /dev/sde3
5 5 8 83 5 active sync /dev/sdf3
--
/dev/sdf4 is not recognised by mdadm.
/dev/sdf5:
Magic : a92b4efc
Version : 0.90.00
UUID : 869aebd3:93319ed6:ebbeb201:706cd6da
Creation Time : Tue Jun 2 19:13:10 2009
Raid Level : raid5
Used Dev Size : 1452910464 (1385.60 GiB 1487.78 GB)
Array Size : 7264552320 (6928.02 GiB 7438.90 GB)
Raid Devices : 6
Total Devices : 6
Preferred Minor : 2
Update Time : Tue Jul 21 09:14:23 2009
State : clean
Active Devices : 6
Working Devices : 6
Failed Devices : 0
Spare Devices : 0
Checksum : a48d4e6 - correct
Events : 2
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 5 8 85 5 active sync /dev/sdf5
0 0 8 5 0 active sync /dev/sda5
1 1 8 21 1 active sync /dev/sdb5
2 2 8 37 2 active sync /dev/sdc5
3 3 8 53 3 active sync /dev/sdd5
4 4 8 69 4 active sync /dev/sde5
5 5 8 85 5 active sync /dev/sdf5
--
--- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.30-1-amd64 root=UUID=17a7b4a2-ccb7-4412-8626-308c426764d0 ro quiet
--- grub2:
insmod raid mdraid
set root=(md1)
insmod raid mdraid
set root=(md0)
linux /vmlinuz-2.6.30-1-amd64 root=UUID=17a7b4a2-ccb7-4412-8626-308c426764d0 ro quiet
insmod raid mdraid
set root=(md0)
linux /vmlinuz-2.6.30-1-amd64 root=UUID=17a7b4a2-ccb7-4412-8626-308c426764d0 ro single
--- grub legacy:
kernel /vmlinuz-2.6.30-1-amd64 root=/dev/md1 ro quiet
--- udev:
ii udev 0.141-1 /dev/ and hotplug management daemon
46b1564ce5f5dedb5c7e2e6af67d48b7 /lib/udev/rules.d/64-md-raid.rules
--- /dev:
brw-rw---- 1 root disk 9, 0 21. Jul 11:15 /dev/md0
brw-rw---- 1 root disk 9, 1 21. Jul 11:15 /dev/md1
brw-rw---- 1 root disk 9, 2 21. Jul 11:15 /dev/md2
/dev/disk/by-id:
insgesamt 0
lrwxrwxrwx 1 root root 9 21. Jul 11:15 ata-ST31500341AS_9VS0ZHY1 -> ../../sda
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS0ZHY1-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS0ZHY1-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS0ZHY1-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS0ZHY1-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS0ZHY1-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 ata-ST31500341AS_9VS14956 -> ../../sdb
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS14956-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS14956-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS14956-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS14956-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS14956-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 ata-ST31500341AS_9VS15SFP -> ../../sdc
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS15SFP-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS15SFP-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS15SFP-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS15SFP-part4 -> ../../sdc4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS15SFP-part5 -> ../../sdc5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 ata-ST31500341AS_9VS162ZG -> ../../sdd
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS162ZG-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS162ZG-part2 -> ../../sdd2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS162ZG-part3 -> ../../sdd3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS162ZG-part4 -> ../../sdd4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS162ZG-part5 -> ../../sdd5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 ata-ST31500341AS_9VS17JCS -> ../../sde
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS17JCS-part1 -> ../../sde1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS17JCS-part2 -> ../../sde2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS17JCS-part3 -> ../../sde3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS17JCS-part4 -> ../../sde4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS17JCS-part5 -> ../../sde5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 ata-ST31500341AS_9VS1GB4M -> ../../sdf
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS1GB4M-part1 -> ../../sdf1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS1GB4M-part2 -> ../../sdf2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS1GB4M-part3 -> ../../sdf3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS1GB4M-part4 -> ../../sdf4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 ata-ST31500341AS_9VS1GB4M-part5 -> ../../sdf5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 md-uuid-1494beb2:fce418e2:76bb4df8:87f7b862 -> ../../md0
lrwxrwxrwx 1 root root 9 21. Jul 11:15 md-uuid-869aebd3:93319ed6:ebbeb201:706cd6da -> ../../md2
lrwxrwxrwx 1 root root 9 21. Jul 11:15 md-uuid-de49293c:ddfdad1d:22237796:2f89ea4b -> ../../md1
lrwxrwxrwx 1 root root 9 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS0ZHY1 -> ../../sda
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS0ZHY1-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS0ZHY1-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS0ZHY1-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS0ZHY1-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS0ZHY1-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS14956 -> ../../sdb
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS14956-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS14956-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS14956-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS14956-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS14956-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS15SFP -> ../../sdc
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS15SFP-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS15SFP-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS15SFP-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS15SFP-part4 -> ../../sdc4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS15SFP-part5 -> ../../sdc5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS162ZG -> ../../sdd
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS162ZG-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS162ZG-part2 -> ../../sdd2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS162ZG-part3 -> ../../sdd3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS162ZG-part4 -> ../../sdd4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS162ZG-part5 -> ../../sdd5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS17JCS -> ../../sde
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS17JCS-part1 -> ../../sde1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS17JCS-part2 -> ../../sde2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS17JCS-part3 -> ../../sde3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS17JCS-part4 -> ../../sde4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS17JCS-part5 -> ../../sde5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS1GB4M -> ../../sdf
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS1GB4M-part1 -> ../../sdf1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS1GB4M-part2 -> ../../sdf2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS1GB4M-part3 -> ../../sdf3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS1GB4M-part4 -> ../../sdf4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 scsi-SATA_ST31500341AS_9VS1GB4M-part5 -> ../../sdf5
/dev/disk/by-label:
insgesamt 0
lrwxrwxrwx 1 root root 9 21. Jul 11:15 boot -> ../../md0
lrwxrwxrwx 1 root root 9 21. Jul 11:15 Debian\x20testing\x20amd64\x20Bin-1 -> ../../sr0
/dev/disk/by-path:
insgesamt 0
lrwxrwxrwx 1 root root 9 21. Jul 11:15 pci-0000:00:1f.2-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-0:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-0:0:0:0-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-0:0:0:0-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-0:0:0:0-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 pci-0000:00:1f.2-scsi-1:0:0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-1:0:0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-1:0:0:0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-1:0:0:0-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-1:0:0:0-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-1:0:0:0-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 pci-0000:00:1f.2-scsi-2:0:0:0 -> ../../sdc
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-2:0:0:0-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-2:0:0:0-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-2:0:0:0-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-2:0:0:0-part4 -> ../../sdc4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-2:0:0:0-part5 -> ../../sdc5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 pci-0000:00:1f.2-scsi-3:0:0:0 -> ../../sdd
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-3:0:0:0-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-3:0:0:0-part2 -> ../../sdd2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-3:0:0:0-part3 -> ../../sdd3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-3:0:0:0-part4 -> ../../sdd4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-3:0:0:0-part5 -> ../../sdd5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 pci-0000:00:1f.2-scsi-4:0:0:0 -> ../../sde
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-4:0:0:0-part1 -> ../../sde1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-4:0:0:0-part2 -> ../../sde2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-4:0:0:0-part3 -> ../../sde3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-4:0:0:0-part4 -> ../../sde4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-4:0:0:0-part5 -> ../../sde5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 pci-0000:00:1f.2-scsi-5:0:0:0 -> ../../sdf
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-5:0:0:0-part1 -> ../../sdf1
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-5:0:0:0-part2 -> ../../sdf2
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-5:0:0:0-part3 -> ../../sdf3
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-5:0:0:0-part4 -> ../../sdf4
lrwxrwxrwx 1 root root 10 21. Jul 11:15 pci-0000:00:1f.2-scsi-5:0:0:0-part5 -> ../../sdf5
lrwxrwxrwx 1 root root 9 21. Jul 11:15 pci-0000:03:00.0-scsi-0:0:0:0 -> ../../sr0
/dev/disk/by-uuid:
insgesamt 0
lrwxrwxrwx 1 root root 9 21. Jul 11:15 17a7b4a2-ccb7-4412-8626-308c426764d0 -> ../../md1
lrwxrwxrwx 1 root root 9 21. Jul 11:15 56cbe8d9-7a0c-46dd-bbe0-c2cf6de95230 -> ../../md0
/dev/md:
insgesamt 0
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mdadm depends on:
ii debconf 1.5.27 Debian configuration management sy
ii libc6 2.9-21 GNU C Library: Shared libraries
ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip
ii makedev 2.3.1-88 creates device files in /dev
ii udev 0.141-1 /dev/ and hotplug management daemo
Versions of packages mdadm recommends:
ii module-init-tools 3.9-2 tools for managing Linux kernel mo
ii postfix [mail-transport-agen 2.6.2~rc1-1 High-performance mail transport ag
mdadm suggests no packages.
-- debconf information:
mdadm/autostart: true
mdadm/mail_to: root
mdadm/initrdstart_msg_errmd:
* mdadm/initrdstart: all
mdadm/initrdstart_msg_errconf:
mdadm/initrdstart_notinconf: false
mdadm/initrdstart_msg_errexist:
mdadm/initrdstart_msg_intro:
mdadm/autocheck: true
mdadm/initrdstart_msg_errblock:
mdadm/start_daemon: true
More information about the pkg-mdadm-devel
mailing list