First things first: I can confirm that linux-image-3.2.0-1-amd64 3.2.6-1
crashes too.
I've been able to capture the kernel messages using netconsole. The
messages start, accidentally, just in time to see the kernel assemble the
two "real" arrays I have here:
[ 6.119851] md: raid1 personality registered for level 1
[ 6.127270] mdadm: sending ioctl 800c0910 to a partition!
[ 6.127355] mdadm: sending ioctl 800c0910 to a partition!
[ 6.127420] mdadm: sending ioctl 1261 to a partition!
[ 6.127487] mdadm: sending ioctl 1261 to a partition!
[ 6.128099] mdadm: sending ioctl 800c0910 to a partition!
[ 6.128170] mdadm: sending ioctl 800c0910 to a partition!
[ 6.128232] mdadm: sending ioctl 1261 to a partition!
[ 6.128299] mdadm: sending ioctl 1261 to a partition!
[ 6.144287] mdadm: sending ioctl 800c0910 to a partition!
[ 6.144358] mdadm: sending ioctl 800c0910 to a partition!
[ 6.218941] md: md1 stopped.
[ 6.225242] md: bind<sdc1>
[ 6.225652] md: bind<sdb1>
[ 6.227112] bio: create slab <bio-1> at 1
[ 6.227274] md/raid1:md1: active with 2 out of 2 mirrors
[ 6.227659] created bitmap (1 pages) for device md1
[ 6.227996] md1: bitmap initialized from disk: read 1/1 pages, set 0 of
251 bits
[ 6.249696] md1: detected capacity change from 0 to 263127040
[ 6.250354] md1:
[ 6.292819] md: md2 stopped.
[ 6.294717] md: bind<sdc2>
[ 6.295058] md: bind<sdb2>
[ 6.296711] md/raid1:md2: active with 2 out of 2 mirrors
[ 6.304329] created bitmap (3 pages) for device md2
[ 6.304714] md2: bitmap initialized from disk: read 1/1 pages, set 0 of
5021 bits
[ 6.330160] md2: detected capacity change from 0 to 336907403264
[ 6.332079] md2: unknown partition table
[ 6.925562] EXT4-fs (dm-0): mounted filesystem with ordered data mode.
Opts: (null)
Here I create a new array on spare partitions:
# mdadm --create /dev/md3 --metadata=0.90 --assume-clean -l1 -n2 /dev/sdb3
/dev/sdc1
[ 37.530284] scsi_verify_blk_ioctl: 74 callbacks suppressed
[ 37.530354] mdadm: sending ioctl 1261 to a partition!
[ 37.530415] mdadm: sending ioctl 1261 to a partition!
[ 37.566744] mdadm: sending ioctl 1261 to a partition!
[ 37.566814] mdadm: sending ioctl 1261 to a partition!
[ 37.568463] mdadm: sending ioctl 1261 to a partition!
[ 37.568534] mdadm: sending ioctl 1261 to a partition!
[ 37.570387] mdadm: sending ioctl 1261 to a partition!
[ 37.570457] mdadm: sending ioctl 1261 to a partition!
[ 37.574025] mdadm: sending ioctl 1261 to a partition!
[ 37.574095] mdadm: sending ioctl 1261 to a partition!
[ 38.038824] md: bind<sdd1>
[ 38.039093] md: bind<sdc3>
[ 38.308214] md/raid1:md3: active with 2 out of 2 mirrors
[ 38.308311] md3: detected capacity change from 0 to 100029104128
[ 38.309864] md3: unknown partition table
Here I add the internal bitmap:
# mdadm --grow /dev/md3 --bitmap=internal
[ 38.360808] md3: bitmap file is out of date (0 < 1) -- forcing full recovery
[ 38.360883] created bitmap (1 pages) for device md3
(at this point the array was still "auto-read-only")
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4F4E9463.6060603@stanchina.net">http://lists.debian.org/4F4E9463.6060603@stanchina.net