Hide Forgot
Description of problem: IMSM fake raid disk member rebind after "mdadm -Ss" Version-Release number of selected component (if applicable): 3.10.0-493.el7.x86_64 mdadm-3.4-10.el7.x86_64 How reproducible: 50% Steps to Reproduce: + mdadm --zero-superblock /dev/sdb /dev/sde /dev/sdf mdadm: Unrecognised md component device - /dev/sdb mdadm: Unrecognised md component device - /dev/sde mdadm: Unrecognised md component device - /dev/sdf + mdadm -CR /dev/md/imsm0 -e imsm -n3 /dev/sdb /dev/sde /dev/sdf mdadm: container /dev/md/imsm0 prepared. + mdadm -CR /dev/md/vol0 -l0 -n2 /dev/sdb /dev/sde mdadm: /dev/sdb appears to be part of a raid array: level=container devices=0 ctime=Thu Jan 1 08:00:00 1970 mdadm: /dev/sde appears to be part of a raid array: level=container devices=0 ctime=Thu Jan 1 08:00:00 1970 mdadm: Creating array inside imsm container md127 mdadm: array /dev/md/vol0 started. + sleep 2 + export MDADM_EXPERIMENTAL=1 + MDADM_EXPERIMENTAL=1 + mdadm -G /dev/md/imsm0 -n3 + sleep 2 + mdadm -Ss + sleep 2 + cat /proc/mdstat | grep inactive md127 : inactive sde[0](S) + cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] [raid0] md127 : inactive sde[0](S) 3153 blocks super external:imsm unused devices: <none> Actual results: Expected results: Additional info: [ 882.079412] md: bind<sdb> [ 882.079498] md: bind<sde> [ 882.079568] md: bind<sdf> [ 882.411865] md: bind<sdb> [ 882.411944] md: bind<sde> [ 882.416658] md/raid0:md126: md_size is 3907037184 sectors. [ 882.416661] md: RAID0 configuration for md126 - 1 zone [ 882.416662] md: zone0=[sdb/sde] [ 882.416665] zone-offset= 0KB, device-offset= 0KB, size=1953518848KB [ 882.416672] md126: detected capacity change from 0 to 2000403038208 [ 885.503891] md/raid:md126: device sde operational as raid disk 1 [ 885.503906] md/raid:md126: device sdb operational as raid disk 0 [ 885.504236] md/raid:md126: allocated 3316kB [ 885.511294] md/raid:md126: raid level 4 active with 2 out of 3 devices, algorithm 5 [ 885.511297] RAID conf printout: [ 885.511298] --- level:4 rd:3 wd:2 [ 885.511299] disk 0, o:1, dev:sdb [ 885.511300] disk 1, o:1, dev:sde [ 885.549027] md: bind<sdf> [ 885.549098] RAID conf printout: [ 885.549099] --- level:4 rd:3 wd:2 [ 885.549101] disk 0, o:1, dev:sdb [ 885.549102] disk 1, o:1, dev:sde [ 885.549103] disk 2, o:1, dev:sdf [ 885.556332] md: reshape of RAID array md126 [ 885.556335] md: minimum _guaranteed_ speed: 1000 KB/sec/disk. [ 885.556336] md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for reshape. [ 885.556340] md: using 128k window, over a total of 976759424k. [ 887.462119] md: md126: reshape interrupted. [ 887.462648] md126: detected capacity change from 2000403038208 to 0 [ 887.462657] md: md126 still in use. [ 888.149884] md: md126 stopped. [ 888.149891] md: unbind<sdf> [ 888.155008] md: export_rdev(sdf) [ 888.177491] md: unbind<sde> [ 888.188002] md: export_rdev(sde) [ 888.188011] md: unbind<sdb> [ 888.194005] md: export_rdev(sdb) [ 888.194940] md: md127 stopped. [ 888.195376] md: unbind<sdf> [ 888.210003] md: export_rdev(sdf) [ 888.210031] md: unbind<sde> [ 888.219006] md: export_rdev(sde) [ 888.219015] md: unbind<sdb> [ 888.232995] md: export_rdev(sdb) [ 888.255540] md: bind<sde>