Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Zhilong Liu <zlliu@suse.com>
To: Phil Susi <psusi@ubuntu.com>, linux-raid@vger.kernel.org
Subject: Re: Zombie dm device?
Date: Tue, 18 Apr 2017 10:36:48 +0800	[thread overview]
Message-ID: <ff1512f1-f499-43f9-daef-85cdaf1cb2ef@suse.com> (raw)
In-Reply-To: <3cf28b7e-9716-3595-018a-fecb32b61751@ubuntu.com>



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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


  reply	other threads:[~2017-04-18  2:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-17 19:50 Zombie dm device? Phil Susi
2017-04-18  2:36 ` Zhilong Liu [this message]
2017-04-18 13:00   ` Phil Susi
2017-04-20  2:55     ` Zhilong Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ff1512f1-f499-43f9-daef-85cdaf1cb2ef@suse.com \
    --to=zlliu@suse.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=psusi@ubuntu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox