Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 12-15-2005, 07:46 PM   #1
LQ Newbie
Registered: Mar 2004
Posts: 7

Rep: Reputation: 0
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?


Old 12-16-2005, 01:17 AM   #2
Registered: Apr 2003
Location: Reading, Berkshire, IN-GER-LUND!!!
Distribution: Mandriva 2006
Posts: 228

Rep: Reputation: 30
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.

Old 12-16-2005, 02:16 AM   #3
LQ Newbie
Registered: Mar 2004
Posts: 7

Original Poster
Rep: Reputation: 0

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...

Last edited by hostile1; 12-16-2005 at 02:33 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Software RAID to recover data from HW RAID ocschwar Linux - Hardware 5 02-25-2005 11:05 PM
Adding a disk to an exsisting mount point rlbewick Linux - General 3 11-02-2004 09:33 PM
Create a hash with any data Nerox Programming 3 07-31-2004 09:15 AM
how to mount exsisting partition mitchb Linux - Newbie 2 06-30-2004 06:30 AM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 05:12 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration