Bug#589829: mdadm: Growing RAID5 fails with "failed to save critical region"
Sebastian Hegler
sebastian.hegler at tu-dresden.de
Wed Jul 21 12:55:13 UTC 2010
Package: mdadm
Version: 3.0.3-2
Severity: important
Trying to grow a RAID5 volume results results in the following error message:
# mdadm --grow /dev/md127 -n6 --backup-file=backup.md127
mdadm: Need to backup 2560K of critical section..
mdadm: /dev/md127: failed to save critical region
I will attach strace output to the bug as soon as a number is assigned.
The grow operation works with the 3.1.2 release, so please upgrade.
-- Package-specific info:
--- /proc/mdstat:
Personalities : [raid6] [raid5] [raid4]
md126 : active raid6 sdc1[9] sdg1[11] sdf1[12] sde1[7] sdd1[8] sdb1[10]
3907049472 blocks super 1.2 level 6, 128k chunk, algorithm 2 [6/6] [UUUUUU]
md127 : active raid5 sdm1[6](S) sdl1[0] sdh1[5] sdi1[4] sdj1[3] sdk1[1]
7814057472 blocks super 1.2 level 5, 128k chunk, algorithm 2 [5/5] [UUUUU]
unused devices: <none>
--- /proc/partitions:
major minor #blocks name
8 0 243163136 sda
8 1 506016 sda1
8 2 2008125 sda2
8 3 240645667 sda3
8 16 976762584 sdb
8 17 976762552 sdb1
8 80 976762584 sdf
8 81 976762552 sdf1
8 112 1953514584 sdh
8 113 1953514552 sdh1
8 128 1953514584 sdi
8 129 1953514552 sdi1
8 144 1953514584 sdj
8 145 1953514552 sdj1
8 160 1953514584 sdk
8 161 1953514552 sdk1
8 48 976762584 sdd
8 49 976762552 sdd1
8 176 1953514584 sdl
8 177 1953514552 sdl1
8 96 976762584 sdg
8 97 976762552 sdg1
8 32 976762584 sdc
8 33 976762552 sdc1
8 64 976762584 sde
8 65 976762552 sde1
9 127 7814057472 md127
9 126 3907049472 md126
8 192 1953514584 sdm
8 193 1953514552 sdm1
--- initrd.img-2.6.32-5-amd64:
59368 blocks
b2085258237fa3d4f32d5c95ebe20e58 ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/md-mod.ko
b6ab399c03b848677b5d614ccb03e2f1 ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/dm-region-hash.ko
cb16c9530af4634e14b1132c33d87fcb ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/raid10.ko
564c919a9819aa9ff0a7c9e43cba37d6 ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/multipath.ko
f3953d8943ae19bd1289ab7272b35a2d ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/raid6_pq.ko
3965d0284c345d682d148bd3cf9340fc ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/dm-mod.ko
5ae80274ce290a1bd60fbe13f1fce34a ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/raid0.ko
064c443367db9703f6cf2676605c333c ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/dm-log.ko
92f3855dfbb3a17081ea549a23136d14 ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/dm-snapshot.ko
f0296762926a3de6addc753a58bbe3f7 ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/dm-mirror.ko
11f0468dd815cb08d333d0c1f6a758ff ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/raid456.ko
3ed563f4f965a774fbd6e9d06e735e58 ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/raid1.ko
8f21a76a15479801548dfcc6a22e2726 ./lib/modules/2.6.32-5-amd64/kernel/drivers/md/linear.ko
3515e64d744a00076733b635a05eef38 ./etc/mdadm/mdadm.conf
7966ccb72128e7a86d09b7c3b5df7557 ./sbin/mdadm
6b782ae76f866914ec236b2d14b43f24 ./scripts/local-top/mdadm
--- /proc/modules:
dm_mod 53754 27 - Live 0xffffffffa01fe000
raid456 44500 2 - Live 0xffffffffa01ec000
md_mod 73664 3 raid456, Live 0xffffffffa01d0000
async_raid6_recov 5170 1 raid456, Live 0xffffffffa01c9000
async_pq 3479 2 raid456,async_raid6_recov, Live 0xffffffffa01c3000
raid6_pq 77179 2 async_raid6_recov,async_pq, Live 0xffffffffa01aa000
async_xor 2478 3 raid456,async_raid6_recov,async_pq, Live 0xffffffffa01a4000
async_memcpy 1198 2 raid456,async_raid6_recov, Live 0xffffffffa0197000
async_tx 1734 5 raid456,async_raid6_recov,async_pq,async_xor,async_memcpy, Live 0xffffffffa0104000
--- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.32-5-amd64 root=UUID=0e0ae5a8-21a3-466b-9d29-fc0f2a59ec67 ro elevator=deadline vga=773
--- udev:
ii udev 158-1 /dev/ and hotplug management daemon
4a574fcd059040d33ea18a8aa605a184 /lib/udev/rules.d/64-md-raid.rules
--- /dev:
brw-rw---- 1 root disk 9, 126 Jul 13 11:59 /dev/md126
brw-rw---- 1 root disk 9, 127 Jul 13 11:11 /dev/md127
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/8 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.32 Debian configuration management sy
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip
ii makedev 2.3.1-89 creates device files in /dev
ii udev 158-1 /dev/ and hotplug management daemo
Versions of packages mdadm recommends:
ii exim4-daemon-light [mail-tran 4.72-1 lightweight Exim MTA (v4) daemon
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
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