[wellylug] Manual Partitioning using LVM

David Harrison david.harrison at stress-free.co.nz
Fri Oct 27 09:33:41 NZDT 2006


I hope it went well last night.

One last bit of advice that I forgot to mention is it helps to spread  
your LVM across multiple partitions on the same drive.
i.e. Rather than creating one huge LVM partition on the disk create 4  
smaller partitions and add them individually to the LVM group.
This spreads the risk, a single failed partition won't result in the  
loss of your data, and makes management easier down the road.

Smaller partitions are especially useful when it comes to migrating  
data off a physical drive during an upgrade or failure with pvmove/ 
pvremove.
If you have a huge partition this has to happen all at once to an  
equally large partition, whereas if you have a number of smaller  
partitions you can perform a more gradual migration with tests along  
the way.

On a home media server this isn't much of an issue but it does give  
you more options in business situations.


David



On 26/10/2006, at 5:30 PM, Rob Collins wrote:

> I think I'm gonna have a go with this thing tonight after having  
> read all I can and getting all these helpful tips from you guys  
> *whew*.  I have a feeling though that the 'spare' space will be  
> small though as /home will have to be large as he who I'm setting  
> the thing up for has a many GB large MP3/vorbis collection.
>
> scott at slackisland.org wrote:
>> Hi,
>>
>> I've been using LVM on software raid 1 and raid 5 for some time now,
>> it's pretty easy to set up during the install, and once you've booted
>> you can use gui based LVM utilities like system-config-lvm to redraw
>> your volume sizes. Very convenient! What I usually do is create one
>> enormous logical volume, then multiple volume groups (for home, var,
>> whatever), and then save a bunch of space that you can allocate later
>> when you need to grow a filesystem. I'm using centos now, but I've  
>> also
>> done this on debian systems and it's surprisingly easy to do,  
>> although I
>> have to admit I haven't shrunken any filesystems- that still seems  
>> a bit
>> scary :-0
>>
>> Cheers,
>> Scott VanDusen
>>
>>
>>
>
> -- 
> Wellington Linux Users Group Mailing List:  
> wellylug at lists.wellylug.org.nz
> To Leave:  http://lists.wellylug.org.nz/mailman/listinfo/wellylug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20061027/8c727182/attachment.htm 


More information about the wellylug mailing list