Bug#627281: early fail to assemble array
Lars Doelle
lars.doelle at on-line.de
Thu May 19 08:36:12 UTC 2011
Package: mdadm
Version: 3.1.4-1+8efb9d1
Lately, an otherwise good array now suddenly fails to be assembled at boot time:
May 19 09:19:35 x64 kernel: md: Waiting for all devices to be available before autodetect
May 19 09:19:35 x64 kernel: md: If you don't use raid, use raid=noautodetect
May 19 09:19:35 x64 kernel: md: Autodetecting RAID arrays.
May 19 09:19:35 x64 kernel: md: invalid raid superblock magic on sdc1
May 19 09:19:35 x64 kernel: md: sdc1 does not have a valid v0.90 superblock, not importing!
May 19 09:19:35 x64 kernel: md: invalid raid superblock magic on sdb1
May 19 09:19:35 x64 kernel: md: sdb1 does not have a valid v0.90 superblock, not importing!
May 19 09:19:35 x64 kernel: md: Scanned 2 and added 0 devices.
May 19 09:19:35 x64 kernel: md: autorun ...
May 19 09:19:35 x64 kernel: md: ... autorun DONE.
I could work around the issue by removing the mount in /etc/fstab before boot and doing a
mdadm -A /dev/md0 /dev/sd[bc]1 and a mount -a after boot. From the diagnostics, some kind
of "magic" might be involved. Otherwise i've no idea what could cause this problem.
Any ideas, please?
Kind regards,
Lars Dölle
Following, some more info on the array
# fdisk /dev/sdb
Device Boot Start End Blocks Id System
/dev/sdb1 1 38913 312568641 fd Linux raid autodetect
# mdadm -D /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Wed Oct 6 12:36:43 2010
Raid Level : raid1
Array Size : 312567481 (298.09 GiB 320.07 GB)
Used Dev Size : 312567481 (298.09 GiB 320.07 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Update Time : Thu May 19 10:19:13 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Name : x64.localnet:0 (local to host x64.localnet)
UUID : 17727b4b:906a98e7:d0afdc7d:1c012361
Events : 78
Number Major Minor RaidDevice State
0 8 17 0 active sync /dev/sdb1
1 8 33 1 active sync /dev/sdc1
# mdadm -E /dev/sdb1
/dev/sdb1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 17727b4b:906a98e7:d0afdc7d:1c012361
Name : x64.localnet:0 (local to host x64.localnet)
Creation Time : Wed Oct 6 12:36:43 2010
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 625135234 (298.09 GiB 320.07 GB)
Array Size : 625134962 (298.09 GiB 320.07 GB)
Used Dev Size : 625134962 (298.09 GiB 320.07 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : e577a8ab:f6dc1e2f:bad18b4a:ec5bd4fb
Update Time : Thu May 19 10:19:34 2011
Checksum : c4ac6c80 - correct
Events : 78
Device Role : Active device 0
Array State : AA ('A' == active, '.' == missing)
More information about the pkg-mdadm-devel
mailing list