Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RAID, "ghost" /dev/md0 appearing for no reason
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mike770880
n00b
n00b


Joined: 25 Oct 2010
Posts: 2

PostPosted: Tue Oct 26, 2010 2:08 am    Post subject: RAID, "ghost" /dev/md0 appearing for no reason Reply with quote

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?
Back to top
View user's profile Send private message
mike770880
n00b
n00b


Joined: 25 Oct 2010
Posts: 2

PostPosted: Tue Oct 26, 2010 3:32 am    Post subject: Reply with quote

Found the problem

Wasn't defining any of my raids in /etc/mdadm.conf
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum