mike770880 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Oct 2010 Posts: 2
|
Posted: Tue Oct 26, 2010 2:08 am Post subject: RAID, "ghost" /dev/md0 appearing for no reason |
|
|
I'm trying to set up a RAID array on a recent build of Gentoo. I'm having a problem with a device /dev/md0 being present. I have no idea why it's there. I haven't created it using mdadm, and I can't seem to remove it, no matter what I do.
I can't remove it using mdadm --remove, but i can by stopping it. But then I reboot, and it's back. The device seems to be a ghost, it has size zero and no system tool can use it properly.
Code: |
# ls -l /dev/md0
brw-rw---- 1 root disk 9, 0 Oct 25 21:43 /dev/md0
#mdadm --detail /dev/md0
mdadm: md device /dev/md0 does not appear to be active.
# fdisk /dev/md0
Unable to open /dev/md0
#mdadm --remove /dev/md0
#ls -l /dev/md0
brw-rw---- 1 root disk 9, 0 Oct 25 22:04 /dev/md0
#mdadm --manage --stop /dev/md0
mdadm: stopped /dev/md0
#ls -l /dev/md0
ls: cannot access /dev/md0: No such file or directory
#reboot
#ls -l /dev/md0
brw-rw---- 1 root disk 9, 0 Oct 25 22:06 /dev/md0
|
How can I permanently delete this md device? |
|