Hi, we've got a server using mdadm for a RAID 1 array (mirrored set). We want to remove the RAID - and this is on a remote server so we don't have physical access to the system, but we do have root shell access.
I read the info in this thread:
http://ubuntuforums.org/showpost.php...83&postcount=2
Which basically says to remove the array do this:
So my question is: Can I do all that using a remote SSH shell without getting disconnected (other than because of typical connection problems), and if I do that will the operating system still boot? Or do I have to completely reinstall everything?1. sudo fdisk -l
2. Query your arrays to find out what disks are contained using
Code:
sudo mdadm --detail /dev/md0
(or md1 or whatever)
3. Shut down the array using
Code:
sudo mdadm --stop /dev/md0
4. Unmount the file system
5. Zero the superblock FOR EACH drive
Code:
sudo mdadm --zero-superblock /dev/sda (or hda)
sudo mdadm --zero-superblock /dev/sdX...
Any help or advice will be greatly appreciated!



Adv Reply



Bookmarks