Linux RAID subsystem development
 help / color / mirror / Atom feed
* /sys/block/md0 still present after mdadm -S and -r
@ 2008-09-26 13:28 thomas62186218
  2008-10-13  0:56 ` Neil Brown
  0 siblings, 1 reply; 2+ messages in thread
From: thomas62186218 @ 2008-09-26 13:28 UTC (permalink / raw)
  To: linux-raid, thomas62186218

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-13  0:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-26 13:28 /sys/block/md0 still present after mdadm -S and -r thomas62186218
2008-10-13  0:56 ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox