/sys/block/md0 still present after mdadm -S and -r

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux