Prev Previous Post   Next Post Next
  #1  
Old 8th June 2013, 01:59
172pilot 172pilot is offline
Junior Member
 
Join Date: Nov 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question LVM best practice question

Hi,

I just finished reading the entire HowTo on LVM (http://www.howtoforge.com/linux_lvm)
and it is GREAT.. I understand it WAY better than before, but I just wanted to clarify and question best practices regarding how LVMs should be expanded..

In the example, there were four small partitions, arranged into 2 mirror sets (md0= sdc1 and sdd1, md1=sde1 and sdf1), and a volume group comprised of the two md devices.

To expand the VG, one drive at a time was removed from the mirror set, replaced with a larger disk, and the partition 1 was re-mirrored, and a partition 2 was created, filling the rest of the disk, and being mirrored to the alternate drive's second partition.. So, the end result is that each drive has 2 partitions, and there are FOUR md mirror sets, all added into the VG.

I understand how this worked, and that no data loss occurs, but I'm curious if there's a performance disadvantage, or a scalability issue with leaving the old partitions, and adding new partitions, rather than creating a new md device with the new larger drive with one large partition, and then move the data off of the smaller drive onto the larger one, and end up with four drives, each with one partition? (kind of just a larger version of the initial setup)

To me, since we're talking about mirror sets, so drives can be replaced one at a time, the end state of only two mirror sets rather than four leaves a system which is at least easier to understand and troubleshoot, if not also having better performance just due to having less complexity, but perhaps under the hood, it makes no difference??

On a related question, are there any issues with using LVM with RAID5 devices over top?
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
lvm md raid mirror

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 9.10 with KVM and copying KVM disk image to LVM yowzator HOWTO-Related Questions 3 8th March 2010 13:29
LVM Question staticanime Installation/Configuration 4 2nd June 2009 16:25
Question About LVM HowTo salvob HOWTO-Related Questions 0 13th January 2008 13:33
question about lvm and ext3 file system aqva Installation/Configuration 2 9th April 2007 06:03
Xen: Smp & Lvm zokahn HOWTO-Related Questions 5 27th January 2006 10:28


All times are GMT +2. The time now is 17:18.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.