LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 02-08-2007, 03:37 AM   #1
mastrboy
Member
 
Registered: Aug 2005
Distribution: Debian, OpenBSD, PFsense
Posts: 73

Rep: Reputation: 15
Converting a LVM volume to RAID 5


I'm thinking of converting my LVM volume of 1,5.TB to RAID 5 (software) and have some questions:

- Does every disk have to be the same size? (If not, will you "lose" space?)

- Any ideas on how to approach this? (I don't have any drives to temporary move my data to )
(currently using about 70% of the disk space)

- What is the preferred file system on RAID (currently using ext3)

- Any advantages with running LVM over RAID 5?

- How easy is it to add a new disk to a RAID 5 volume?

- What will happen to the RAID volume if i decide to reinstall my distro or f eks change it?

- Anything else i should now?

resources i have been reading up on:
http://www.midhgard.it/docs/lvm/html/index.html
http://evms.sourceforge.net/

(posted in software category because it's software raid )
 
Old 02-08-2007, 04:01 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,345

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
in order...

- yes

- temporary drives... sorry. you can build a degraded array in theory, and keep data on that spare drive until you are done creating raid. but then you still have to shrink the lvm and such, equally tricky if you're not used to it.

- no preferred one really, depends how big the filesystem is really, not what it's running on.

- well they are different. lvm is more flexible, but provides no resilience at all.

- you don't. raid 5 stripes parity across devices, every 3rd block on three drives, every 5th on 5 etc... can't just nail another one on.

- nothing really, should be picked up fine.

- probably find a better solution than this..!
 
Old 02-08-2007, 11:30 AM   #3
mastrboy
Member
 
Registered: Aug 2005
Distribution: Debian, OpenBSD, PFsense
Posts: 73

Original Poster
Rep: Reputation: 15
It seems that evms are able to handle RAID 5 expanding, doing a test in vmware with some non critical data to see if everything works out.

http://img230.imageshack.us/img230/8843/raidtesttv2.jpg
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I resize LVM volume group? rconan Fedora 5 04-22-2009 07:45 PM
LVM -creating physical volume satimis Linux - General 2 08-10-2006 01:44 AM
How to mount LVM Volume twice Phil.Johnson Linux - Software 0 03-14-2006 11:17 AM
LVM Physical Volume Lucky_Sevin Linux - Software 2 01-10-2006 10:44 AM
Converting an ordinary partition to RAID 1 or RAID 5? krishvij Linux - Newbie 1 03-20-2005 09:39 PM


All times are GMT -5. The time now is 12:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration