linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How To Remove Rogue RAID
@ 2011-01-02 19:42 Carlos Mennens
  2011-01-02 20:38 ` John Robinson
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos Mennens @ 2011-01-02 19:42 UTC (permalink / raw)
  To: Mdadm

I added two new physical drives to my Linux server and for some reason
I now see '/dev/md127' when I run 'cat /proc/mdstat':

root ~ # cat /proc/mdstat
Personalities : [raid1]
md127 : active (auto-read-only) raid1 sdc2[1] sdd2[0]
      243199936 blocks [2/2] [UU]
      	resync=PENDING

I never create /dev/md127 what so ever and I'm fairly sure it just
popped up. I can tell you the two new disks I added above (/dev/sdc &
/dev/sdd) did have 'fd' RAID partition tables on the disk so I don't
know if that is why it (/dev/md127) shows up when I run 'cat
/proc/mdstat'.

I tried to remove the drives too but they failed:

root ~ # mdadm --manage /dev/md127 --remove /dev/sdc2
mdadm: hot remove failed for /dev/sdc2: Device or resource busy
root ~ # mdadm --manage /dev/md127 --remove /dev/sdd2
mdadm: hot remove failed for /dev/sdd2: Device or resource busy


Can someone please tell me how I can stop the RAID, remove /dev/md127
so that I can create a separate mirror with /dev/sdc & /dev/sdd.

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

end of thread, other threads:[~2011-01-02 20:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-02 19:42 How To Remove Rogue RAID Carlos Mennens
2011-01-02 20:38 ` John Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).