Anyone know how to change RAID O to RAID 1 On Linux

  • Yoda
  • Beginner
  • Beginner
  • Yoda
  • Posts: 58

Post 3+ Months Ago

Does anyone know how to change RAID 0 to RAID on a Dell Linux Server without reinstalling the operating system?

  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • this213
  • Guru
  • Guru
  • User avatar
  • Posts: 1260
  • Loc: ./

Post 3+ Months Ago

Is it possible? Yes. Is it recommended? Only if you've backed up everything and don't care if all of the data gets erased (not that it will happen, but that it can).

Code: [ Select ]
man mdadm
mdadm --help
  1. man mdadm
  2. mdadm --help

First thing you need is an identical drive - down to the partitioning. Then:
Code: [ Select ]
# /sbin/mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/hdaN /dev/hdbN

This will mirror everything on the partition /dev/hdaN to the partinion /dev/hdbN and create /dev/md0. You then change your fstab to point to /dev/md0 rather than /dev/hdaN.

That's pretty much it in a nutshell.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 32 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.