Author Topic: Does creating a RAID set in LMCE on existing drive with media, wipe it out?  (Read 2640 times)

seth

  • Guru
  • ****
  • Posts: 485
  • A day w/o LinuxMCE is like a day w/o sunshine!
    • View Profile
 :)
I have just picked up a couple of 500G internal SATA drives. I currently have 1 internal 500G drive, with media on it, using the pluto structure.

My question is this, if I add 2 more 500G drives to it and create a raid 5 disk using LMCE's RAID facility, will it wipe out the data on the original disk?

I have never created a RAID set on a disk that contained data, so I figured I would ask to see if anyone here has done this or knows what the outcome would be.

The current disk has just over 400G of media on it.

Thanks.

Regards,

Seth
".....Because Once you've LinuxMCE'd....."
System stats located at my user page:

http://wiki.linuxmce.org/index.php/User:Seth

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
I think the trick is to build a (degraded) raid-5 out of the two empty drives, copy the stuff over and then add the third.  But I haven't been brave enough to test that myself, so all I can say for sure is the obvious: if you value your data back it up first (at least the irreplaceable stuff).  And bluntly creating the array with data already on the drives is sure to destroy it. 
"Change is inevitable. Progress is optional."
-- Anonymous


seth

  • Guru
  • ****
  • Posts: 485
  • A day w/o LinuxMCE is like a day w/o sunshine!
    • View Profile
 ;)
Sounds like a good idea, back up first, then attempt.

Thanks for the input.

Regards,

Seth
".....Because Once you've LinuxMCE'd....."
System stats located at my user page:

http://wiki.linuxmce.org/index.php/User:Seth

PeteK

  • Guru
  • ****
  • Posts: 408
    • View Profile
Can you create a RAID 1 array first and then migrate that?  That may be a bit easier to understand what's going on before trying to move your data into a RAID 5 array.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
read zearcs post again.

br, Hari
rock your home - http://www.agocontrol.com home automation