Bug#539154: mdadm: I also have this anoying problem
Jonas Larsen
jonas at techbiz.dk
Wed Apr 7 09:17:45 UTC 2010
Package: mdadm
Version: 2.6.7.2-3
Followup-For: Bug #539154
Hello, just wanted to report in i have the exact same issue as the others report. I dont know how to reproduce it, but something is definately wrong.
I can give access to the problematic system if that helps.
I will try to recreate the raid for now, and see what happens.
I have 2 raids spread over 2 disks, md0 is a mirror and md1 is a stripe. There is only a problem with the stripe the mirror works fine.
1.sctstor1:~# cat /proc/mdstat
2.Personalities : [raid0] [raid1]
3.md1 : inactive sda3[0]
4. 953321088 blocks
5.
6.md0 : active raid1 sda2[0] sdb2[1]
7. 19534976 blocks [2/2] [UU]
8.
9.unused devices: <none>
10.sctstor1:~#
11.
12.sctstor1:~# mdadm --detail /dev/md0
13./dev/md0:
14. Version : 00.90
15. Creation Time : Wed Oct 22 18:23:13 2008
16. Raid Level : raid1
17. Array Size : 19534976 (18.63 GiB 20.00 GB)
18. Used Dev Size : 19534976 (18.63 GiB 20.00 GB)
19. Raid Devices : 2
20. Total Devices : 2
21.Preferred Minor : 0
22. Persistence : Superblock is persistent
23.
24. Update Time : Wed Apr 7 11:01:56 2010
25. State : clean
26. Active Devices : 2
27.Working Devices : 2
28. Failed Devices : 0
29. Spare Devices : 0
30.
31. UUID : 95a5ff03:bd764a9e:a9976caa:db041006
32. Events : 0.52
33.
34. Number Major Minor RaidDevice State
35. 0 8 2 0 active sync /dev/sda2
36. 1 8 18 1 active sync /dev/sdb2
37.sctstor1:~#
38.
39.
40.sctstor1:~# mdadm --detail /dev/md1
41./dev/md1:
42. Version : 00.90
43. Creation Time : Wed Oct 22 18:23:20 2008
44. Raid Level : raid0
45. Raid Devices : 2
46. Total Devices : 1
47.Preferred Minor : 1
48. Persistence : Superblock is persistent
49.
50. Update Time : Thu Oct 23 12:23:17 2008
51. State : active, degraded, Not Started
52. Active Devices : 1
53.Working Devices : 1
54. Failed Devices : 0
55. Spare Devices : 0
56.
57. Chunk Size : 64K
58.
59. UUID : e7f57d54:40a6e253:6ed89fb8:4b0f4710
60. Events : 0.5
61.
62. Number Major Minor RaidDevice State
63. 0 8 3 0 active sync /dev/sda3
64. 1 0 0 1 removed
65.sctstor1:~#
66.
67.
68.Md1 is the problem...
Best regards
Jonas Larsen
-- Package-specific info:
--- mount output
/dev/md0 on / type ext3 (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)
procbususb on /proc/bus/usb type usbfs (rw)
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)
--- 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 jonas at techbiz.dk
# definitions of existing MD arrays
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=95a5ff03:bd764a9e:a9976caa:db041006
ARRAY /dev/md1 level=raid0 num-devices=2 UUID=e7f57d54:40a6e253:6ed89fb8:4b0f4710
# This file was auto-generated on Thu, 23 Oct 2008 11:25:53 +0200
# by mkconf $Id: mkconf 261 2006-11-09 13:32:35Z madduck $
--- /proc/mdstat:
Personalities : [raid0] [raid1]
md1 : inactive sda3[0]
953321088 blocks
md0 : active raid1 sda2[0] sdb2[1]
19534976 blocks [2/2] [UU]
unused devices: <none>
--- /proc/partitions:
major minor #blocks name
8 0 976762584 sda
8 1 3903763 sda1
8 2 19535040 sda2
8 3 953321197 sda3
8 16 976762584 sdb
8 17 3903763 sdb1
8 18 19535040 sdb2
8 19 953321197 sdb3
9 0 19534976 md0
--- initrd.img-2.6.26-2-amd64:
40008 blocks
1efb5bd43f03be88b0df2bb24cb3a130 ./etc/mdadm/mdadm.conf
1e3828eef5ebb2b42ba71d08fc4247d4 ./sbin/mdadm
e1e2d0e985196fecaf41fb42e9968af2 ./scripts/local-top/mdadm
d5d378303683d299c37a272f4671099a ./lib/modules/2.6.26-2-amd64/kernel/drivers/md/raid1.ko
2aeefb193df2e780d43ebb473fe82bfd ./lib/modules/2.6.26-2-amd64/kernel/drivers/md/md-mod.ko
91fa548cb2b1a13f91c86fac6d3f4dd8 ./lib/modules/2.6.26-2-amd64/kernel/drivers/md/linear.ko
0f5467d8be38cea150d91d1ea504960b ./lib/modules/2.6.26-2-amd64/kernel/drivers/md/raid10.ko
f35a0e830a2c624357a970cde39d1e56 ./lib/modules/2.6.26-2-amd64/kernel/drivers/md/multipath.ko
ef242a955b231df6193bb0c4ccf77295 ./lib/modules/2.6.26-2-amd64/kernel/drivers/md/raid456.ko
0a9de817dd96aff9d0002d6fdb128873 ./lib/modules/2.6.26-2-amd64/kernel/drivers/md/raid0.ko
--- /proc/modules:
dm_snapshot 19400 0 - Live 0xffffffffa020c000
dm_mirror 20608 0 - Live 0xffffffffa0205000
dm_log 13956 1 dm_mirror, Live 0xffffffffa0200000
dm_mod 58864 3 dm_snapshot,dm_mirror,dm_log, Live 0xffffffffa01f0000
raid1 24192 1 - Live 0xffffffffa0127000
raid0 10624 0 - Live 0xffffffffa0123000
md_mod 80292 4 raid1,raid0, Live 0xffffffffa010e000
--- /var/log/syslog:
--- volume detail:
/dev/sda is not recognised by mdadm.
/dev/sda1 is not recognised by mdadm.
/dev/sda2:
Magic : a92b4efc
Version : 00.90.00
UUID : 95a5ff03:bd764a9e:a9976caa:db041006
Creation Time : Wed Oct 22 18:23:13 2008
Raid Level : raid1
Used Dev Size : 19534976 (18.63 GiB 20.00 GB)
Array Size : 19534976 (18.63 GiB 20.00 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Update Time : Wed Apr 7 11:16:03 2010
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : 16c8cba3 - correct
Events : 52
Number Major Minor RaidDevice State
this 0 8 2 0 active sync /dev/sda2
0 0 8 2 0 active sync /dev/sda2
1 1 8 18 1 active sync /dev/sdb2
--
/dev/sda3:
Magic : a92b4efc
Version : 00.90.00
UUID : e7f57d54:40a6e253:6ed89fb8:4b0f4710
Creation Time : Wed Oct 22 18:23:20 2008
Raid Level : raid0
Used Dev Size : 0
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Update Time : Thu Oct 23 12:23:17 2008
State : active
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : 1db03a2d - correct
Events : 5
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
--
/dev/sdb is not recognised by mdadm.
/dev/sdb1 is not recognised by mdadm.
/dev/sdb2:
Magic : a92b4efc
Version : 00.90.00
UUID : 95a5ff03:bd764a9e:a9976caa:db041006
Creation Time : Wed Oct 22 18:23:13 2008
Raid Level : raid1
Used Dev Size : 19534976 (18.63 GiB 20.00 GB)
Array Size : 19534976 (18.63 GiB 20.00 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Update Time : Wed Apr 7 11:16:03 2010
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : 16c8cbb5 - correct
Events : 52
Number Major Minor RaidDevice State
this 1 8 18 1 active sync /dev/sdb2
0 0 8 2 0 active sync /dev/sda2
1 1 8 18 1 active sync /dev/sdb2
--
/dev/sdb3 is not recognised by mdadm.
--- /proc/cmdline
root=/dev/md0 ro
--- grub legacy:
kernel /boot/vmlinuz-2.6.26-2-amd64 root=/dev/md0 ro
kernel /boot/vmlinuz-2.6.26-2-amd64 root=/dev/md0 ro single
kernel /boot/vmlinuz-2.6.26-1-amd64 root=/dev/md0 ro
kernel /boot/vmlinuz-2.6.26-1-amd64 root=/dev/md0 ro single
kernel /boot/vmlinuz-2.6.24-etchnhalf.1-amd64 root=/dev/md0 ro
kernel /boot/vmlinuz-2.6.24-etchnhalf.1-amd64 root=/dev/md0 ro single
--- udev:
ii udev 0.125-7+lenny3 /dev/ and hotplug management daemon
cd6f5683974ea65603f04ec699b3cff2 /etc/udev/rules.d/65_mdadm.vol_id.rules
--- /dev:
brw-rw---- 1 root disk 9, 0 2010-04-07 10:49 /dev/md0
brw-rw---- 1 root disk 9, 1 2010-04-07 10:49 /dev/md1
/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root 9 2010-04-07 10:49 ata-WDC_WD1001FALS-00J7B0_WD-WMATV0045320 -> ../../sda
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 ata-WDC_WD1001FALS-00J7B0_WD-WMATV0045320-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 ata-WDC_WD1001FALS-00J7B0_WD-WMATV0045320-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 ata-WDC_WD1001FALS-00J7B0_WD-WMATV0045320-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 2010-04-07 10:49 ata-WDC_WD1001FALS-00J7B0_WD-WMATV0046480 -> ../../sdb
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 ata-WDC_WD1001FALS-00J7B0_WD-WMATV0046480-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 ata-WDC_WD1001FALS-00J7B0_WD-WMATV0046480-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 ata-WDC_WD1001FALS-00J7B0_WD-WMATV0046480-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 9 2010-04-07 10:49 md-uuid-95a5ff03:bd764a9e:a9976caa:db041006 -> ../../md0
lrwxrwxrwx 1 root root 9 2010-04-07 10:49 scsi-SATA_WDC_WD1001FALS-_WD-WMATV0045320 -> ../../sda
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 scsi-SATA_WDC_WD1001FALS-_WD-WMATV0045320-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 scsi-SATA_WDC_WD1001FALS-_WD-WMATV0045320-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 scsi-SATA_WDC_WD1001FALS-_WD-WMATV0045320-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 2010-04-07 10:49 scsi-SATA_WDC_WD1001FALS-_WD-WMATV0046480 -> ../../sdb
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 scsi-SATA_WDC_WD1001FALS-_WD-WMATV0046480-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 scsi-SATA_WDC_WD1001FALS-_WD-WMATV0046480-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 scsi-SATA_WDC_WD1001FALS-_WD-WMATV0046480-part3 -> ../../sdb3
/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root 9 2010-04-07 10:49 pci-0000:00:1f.2-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 pci-0000:00:1f.2-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 pci-0000:00:1f.2-scsi-0:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 pci-0000:00:1f.2-scsi-0:0:0:0-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 2010-04-07 10:49 pci-0000:00:1f.2-scsi-2:0:0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 pci-0000:00:1f.2-scsi-2:0:0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 pci-0000:00:1f.2-scsi-2:0:0:0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 2010-04-07 10:49 pci-0000:00:1f.2-scsi-2:0:0:0-part3 -> ../../sdb3
/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 9 2010-04-07 10:49 307d546b-21bd-491a-b91f-7ff62b86d1b1 -> ../../md0
/dev/md:
total 0
-- System Information:
Debian Release: 5.0.4
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mdadm depends on:
ii debconf 1.5.24 Debian configuration management sy
ii libc6 2.7-18 GNU C Library: Shared libraries
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii makedev 2.3.1-88 creates device files in /dev
ii udev 0.125-7+lenny3 /dev/ and hotplug management daemo
Versions of packages mdadm recommends:
ii exim4 4.69-9 metapackage to ease Exim MTA (v4)
ii exim4-daemon-light [mail-tran 4.69-9 lightweight Exim MTA (v4) daemon
ii module-init-tools 3.4-1 tools for managing Linux kernel mo
mdadm suggests no packages.
-- debconf information:
mdadm/autostart: true
mdadm/mail_to: jonas at techbiz.dk
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