LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 12-15-2005, 06:46 PM   #1
hostile1
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?

TIA.

.:HoSTiLe:.
 
Old 12-16-2005, 12:17 AM   #2
PsychosisNode
Member
 
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.

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

Original Poster
Rep: Reputation: 0
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...

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


Reply



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 10:05 PM
Adding a disk to an exsisting mount point rlbewick Linux - General 3 11-02-2004 08:33 PM
Create a hash with any data Nerox Programming 3 07-31-2004 08:15 AM
how to mount exsisting partition mitchb Linux - Newbie 2 06-30-2004 05:30 AM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

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