Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-05-2005, 11:14 PM   #1
LQ Newbie
Registered: Jul 2005
Posts: 23

Rep: Reputation: 15
RAID/LVM setup with existing drives

My current setup has 3 hard drives for sharing data. My 250 GB drive is approching full I decided that to get another one. The new drive will be used for the same type of files (video). I have everything organized into folders such as TV, Movies, etc. I would like to add the new drive and make it a seemless as possible. The two drives must be seen as one. I've tried looking around for info on RAID and LVM to find which is best for me. So far they sound extremely similar as to what I would use them for. But, everything I've found leads me to believe that I would have to backup all the data and format the drive to set it up for a RAID/LVM setup. So, is there a way to set up either RAID or LVM wihtout formatting a full 250 GB drive? Also, is there a reason I should choose LVM over RAID or vice versa?
Old 07-05-2005, 11:29 PM   #2
Registered: Mar 2004
Location: SLC, Utah
Distribution: OpenSUSE 12.2
Posts: 246

Rep: Reputation: 30
Both RAID and LVM must be set up from scratch so unfortunately a backup/format/restore is nessesary if you want to ether. If you just want to add more storage space a LVM would be what you want. with RAID you could make both drives appear as one but once they are full your back to where you are now. with a LVM setup you can go on adding drives into it as much as you want, plus you can resize LVM partitions without a lot of trouble. The main use for RAID should really be for redundancy/data security not so much for creating larger drives.
Old 07-05-2005, 11:52 PM   #3
LQ Newbie
Registered: Jul 2005
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for the quick reply I guess I'll actually have audit my system and see if I need all this stuff. Hopefully that will produce enough room to back it all up.
Old 07-06-2005, 01:35 AM   #4
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
It doesn't have to be RAID or LVM. You can have both.

My current favorite for a setup is to put an LVM on top of a 2-disk Raid0. It's blazingly fast (hdparm -t = 105MB/s using PATA drives) with exceptional storage flexibility.

Setting it up is fairly easy. You set up swap on both drives, make a Raid1 for /boot and put everything else into a Raid0 set up as an LVM with logical volumes for /, /home and /var or however you want to divide things up (or not).

It's really that simple to do and you can easily resize the logical volumes as your needs change.



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hardware Raid Setup Question - LVM? funbags Linux - Hardware 0 11-13-2005 12:39 PM
Resize existing and add another partition with LVM donv2 Linux - Newbie 3 04-27-2005 05:23 AM
Manage disks on an existing system with LVM doris Linux - Hardware 1 03-02-2005 03:37 PM
existing LVM partition won't mount anymore dehuszar Linux - Software 1 09-10-2004 02:26 PM
Software RAID 1 setup w/ existing ext2fs partition system Linux - General 3 01-27-2002 12:07 AM > Forums > Linux Forums > Linux - General

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