LinuxQuestions.org
Visit Jeremy's Blog.
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 07-18-2009, 06:23 AM   #1
dlugasx
Member
 
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 266

Rep: Reputation: 19
RAID - how to create RAID 1 without deleting data


Hello all,

I have a problem (like always ). Does anybody knows how can I create RAID 1+0 using two drives (one is with data and second one is new).

Is it possible to synchronize data drive with empty drive and create RAID 1+0 ?



help...

dlugasx
 
Old 07-18-2009, 06:43 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
The only reliable method of doing this is to start by backing up your data. Once you've got that you can recover from any unforeseen turn of events.

Next, the idea that you can derive a RAID 10 from two disks is just silly. You need a minimum of four disks to have a -functional- RAID 10. Trying to do this with two disks is more like emulating RAID than actually implementing it. I expect that the performance will be terrible.

Lastly, keep your configuration simple. Software RAID stinks. Fake RAID stinks. Only pure hardware RAID makes any sense at all, but a good hardware RAID solution is very expensive.

Last edited by stress_junkie; 07-18-2009 at 06:45 AM.
 
Old 07-20-2009, 02:54 AM   #3
dlugasx
Member
 
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 266

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by stress_junkie View Post
The only reliable method of doing this is to start by backing up your data. Once you've got that you can recover from any unforeseen turn of events.

Next, the idea that you can derive a RAID 10 from two disks is just silly. You need a minimum of four disks to have a -functional- RAID 10. Trying to do this with two disks is more like emulating RAID than actually implementing it. I expect that the performance will be terrible.

Lastly, keep your configuration simple. Software RAID stinks. Fake RAID stinks. Only pure hardware RAID makes any sense at all, but a good hardware RAID solution is very expensive.


Sorry miss understanding.

It must be RAID 1.

Server is real and also RAID controller is real.


So once again...

Is it possible to create RAID 1 if we have one disk with data and one empty drive ? I mean, is it possible to configure RAID 1 without formating both drives ?
 
Old 07-26-2009, 09:23 PM   #4
tequilatram
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
I am in a similar situation and do not have a hardware RAID controller card, so I am planning on using software RAID (LVM).

The easiest way I have found is to:
(high level overview)

- create a new LVM-RAID partition on the new drive.
- create a new RAID 1 device with the new drive's partition and a missing one.
- copy the data from the original drive's partition to the new RAID 1 device.
- repartition the original drive's partition to a LVM-RAID type.
- add the original drive's new partition into the new RAID 1 device.

If anyone has a better way to do this, please let me know ...
-Tram
 
  


Reply

Tags
create, data, deleting, how, raid



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
Recover data from RAID 0 (fake RAID) from Win XP KiAnKo Linux - Hardware 4 04-23-2009 12:28 PM
[SOLVED] Hardware RAID vs Software RAID and DATA RECOVERY bskrakes Linux - General 7 07-04-2008 01:09 PM
XFS drops create/delete files to 6.6% of EXT3 (sw raid) and to 0.6% (hw raid) darlingm Linux - Software 3 04-24-2008 10:39 AM
How To Create RAID with exsisting data... hostile1 Linux - Hardware 2 12-16-2005 01:16 AM
Software RAID to recover data from HW RAID ocschwar Linux - Hardware 5 02-25-2005 10:05 PM

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

All times are GMT -5. The time now is 10:18 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