On 04/18/2017 03:50 AM, Phil Susi wrote:
After running the parted test suite I seem to have a zombie md device: root@devserv:~# mdadm -D /dev/md99 /dev/md99: Version : Raid Level : raid0 Total Devices : 0 State : inactive Number Major Minor RaidDevice Why is this thing still hanging around, and how do you get rid of it? I tried mdadm --stop /dev/md99 but it didn't get rid of it. I also can't find any mdadm switch or a delete file or similar in the sysfs node.
can you find the /sys/block/md99/md/array_state? issue the # echo clear > /sys/block/md99/md/array_state to stop array. The test suit is in improving progress, a few test cases cannot work well currently. you can talk about your requirement, and I would record it. more details, more appreciate. :-) Thanks, -Zhilong
root@devserv:~# uname -a Linux devserv 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
-- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html