LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How To Create RAID with exsisting data... (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-create-raid-with-exsisting-data-393351/)

hostile1 12-15-2005 06:46 PM

How To Create RAID with exsisting data...
 
Hello All,

I've never used mdadm before, but I'm would like to set up a RAID 0 for /home in my current server.

Currently, /home resides on /dev/hde5, occupying the entire disk. I have installed another hard drive /dev/hdg5 which I would like to use for the mirror.

I have read the mdadm documentation, and cannot seem to find any senario where it covers the creation of a RAID where one disk already has data on it.

Can anyone point me in the right direction on this?

TIA.

.:HoSTiLe:.

PsychosisNode 12-16-2005 12:17 AM

For RAID0, you'll need to copy the data elsewhere while you create the array then move it back when you're finished.

Generally creating a RAID array nukes all the data on the component drives, with the exception of RAID1 where an extant drive or partition can be mirrored.

HTH

hostile1 12-16-2005 01:16 AM

D'oh...

Sorry.. asleep at the helm when I wrote that...

RAID 1 is what I meant

I'm hoping that in creating the mirror, that the drive with the data will be mirrored automatically...


All times are GMT -5. The time now is 08:16 AM.