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. -- My "Foundation" verse: Isa 54:17 No weapon that is formed against thee shall prosper; and every tongue that shall rise against thee in judgment thou shalt condemn. This is the heritage of the servants of the LORD, and their righteousness is of me, saith the LORD. -- carpe ductum -- "Grab the tape" CDTT (Certified Duct Tape Technician) Linux user #322099 Machines: 206822 256638 276825 http://counter.li.org/
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? -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
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. -- Les Mikesell lesmikesell at gmail.com