« HOWTO: Startup and Connect to a Remote VirtualBox MachineHOWTO: Expand a RAID 5 by adding another disk »

HOWTO: Remove RAID Arrays

16/12/09

Permalink 06:59:43 pm, by richard Email , 95 words   English (GB)
Categories: Ubuntu Linux, OS and Systems Administration, Filing Systems

HOWTO: Remove RAID Arrays

The filesytem should not be mounted.

sudo umount /dev/md0

Stop the array allowing us to remove thew array.

sudo mdadm --stop /dev/md0
sudo mdadm --remove /dev/md0

Remove the marker from the disk that it was part of an array

sudo mdadm --zero-superblock /dev/sdb1 


sudo mdadm --zero-superblock /dev/sdc1

Now remove the array from the mdadm.cong file and rebuild the RAM image in initr. WE may need to find the UUID for the drives, blkid lists them all.

sudo blkid
sudo nano /etc/mdadm/mdadm.conf
sudo update-initramfs -c -k `uname -r`

No feedback yet

Here are a collection of Mini-HOWTOs some of which are too short even for that grand title. I keep them around as it is easier to remember where to look these up that to remember the content of the mini-HOWTO

Search

Contents

blogsoft