i need to remove a software raid 1 form my system. I have yet to find a way that applies to 2.6x kernels. I know the information is out there. Would anyone care to give me a pointer? This array is data storage only and does not house any critical system files.
William Warren spake the following on 4/17/2007 6:19 AM:
i need to remove a software raid 1 form my system. I have yet to find a way that applies to 2.6x kernels. I know the information is out there. Would anyone care to give me a pointer? This array is data storage only and does not house any critical system files.
Do you want to remove it as in permanent removal, or conversion to something else?
I have broken the mirror. The issue is it is locked as read only and even me as root cannot change it. I have removed everything from the array and just want to blow it out and redo it..:)
Scott Silva wrote:
William Warren spake the following on 4/17/2007 6:19 AM:
i need to remove a software raid 1 form my system. I have yet to find a way that applies to 2.6x kernels. I know the information is out there. Would anyone care to give me a pointer? This array is data storage only and does not house any critical system files.
Do you want to remove it as in permanent removal, or conversion to something else?
ok i deleted the mdadm config entry and cleared it out of fstab. I'm rebooting to see if i can drop the filesystem now..:)
William Warren wrote:
I have broken the mirror. The issue is it is locked as read only and even me as root cannot change it. I have removed everything from the array and just want to blow it out and redo it..:)
Scott Silva wrote:
William Warren spake the following on 4/17/2007 6:19 AM:
i need to remove a software raid 1 form my system. I have yet to find a way that applies to 2.6x kernels. I know the information is out there. Would anyone care to give me a pointer? This array is data storage only and does not house any critical system files.
Do you want to remove it as in permanent removal, or conversion to something else?
William Warren wrote:
I have broken the mirror. The issue is it is locked as read only and even me as root cannot change it. I have removed everything from the array and just want to blow it out and redo it..:)
have you deactivated with with `mdadm --stop /dev/mdX` ?
that's the command i was looking for..<G> I just rebooted the box..:)
John R Pierce wrote:
William Warren wrote:
I have broken the mirror. The issue is it is locked as read only and even me as root cannot change it. I have removed everything from the array and just want to blow it out and redo it..:)
have you deactivated with with `mdadm --stop /dev/mdX` ?
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Scanned with Copfilter Version 0.84beta1 (P3Scan 2.2.1) AntiSpam: SpamAssassin 3.1.8 AntiVirus: ClamAV 0.90.1/3125 - Wed Apr 18 16:44:38 2007 by Markus Madlener @ http://www.copfilter.org
William Warren wrote:
i need to remove a software raid 1 form my system. I have yet to find a way that applies to 2.6x kernels. I know the information is out there. Would anyone care to give me a pointer? This array is data storage only and does not house any critical system files.
I'm pretty sure
umount /dev/md1 mdadm --detail /dev/md1 # to identify the partitions used by this raid mdadm --stop /dev/md1 # deactivate the raid
then vi /etc/mdadm.conf and delete the line for md1 and, use fdisk or another partitioning tool and delete the partitions that comprised this raid.
also don't forget to remove the file system from /etc/fstab ...
William Warren wrote:
i need to remove a software raid 1 form my system. I have yet to find a way that applies to 2.6x kernels. I know the information is out there. Would anyone care to give me a pointer? This array is data storage only and does not house any critical system files.
The raid devices are detected at boot time so you don't need to do anything special to remove them other than make sure the entry in /etc/fstab that references the md device is gone so the system won't try to mount it. A RAID1 is also perfectly happy to run with only one member so you can leave it as-is, but remove or reformat the 2nd member. Note that sofware raid is configured by partition, not whole disks, though, so check that nothing else is on the disk you remove or reuse.