Linux RAID subsystem development
 help / color / mirror / Atom feed
From: thomas62186218@aol.com
To: linux-raid@vger.kernel.org, thomas62186218@aol.com
Subject: /sys/block/md0 still present after mdadm -S and -r
Date: Fri, 26 Sep 2008 09:28:56 -0400	[thread overview]
Message-ID: <8CAEDF2F5FF1BF0-E4C-2919@WEBMAIL-MY17.sysops.aol.com> (raw)

Hi All,

I created an md device as follows:

mdadm -C -f -e 1.0 -R /dev/md0 -l 0 -n 2 -c 32 /dev/sdc1 /dev/sdg1

It was successful and started.

I then want to delete this md device and did as follows:

mdadm -S /dev/md0
mdadm /dev/md0 -r
mdadm --zero-superblock /dev/sdc1
mdadm --zero-superblock /dev/sdg1

I did not receive any errors. Afterwards, md0 was no longer visible in 
/proc/mdstat.

However, there is still /sys/block/md0 entry, as well as an /dev/md0 
entry. I would have expected these to be gone.

Is my md0 not getting fully deleted?

Thanks!
Thomas

             reply	other threads:[~2008-09-26 13:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-26 13:28 thomas62186218 [this message]
2008-10-13  0:56 ` /sys/block/md0 still present after mdadm -S and -r Neil Brown

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=8CAEDF2F5FF1BF0-E4C-2919@WEBMAIL-MY17.sysops.aol.com \
    --to=thomas62186218@aol.com \
    --cc=linux-raid@vger.kernel.org \
    /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