What are the advantages of LVM?

ruscook ruscook_oz at yahoo.com.au
Tue May 23 09:17:18 UTC 2006


Michael T. Richter wrote:
>> Michael, one cool feature of LVM is it can combine disks into one 
>> volume and dynamically resize volumes comprising multiple disks. 
>> Windows does this with dynamic partitions but I don't think it is as 
>> feature rich as LVM.
>
>> So /home is a partition of 100G, it fills up (as they do), so I buy a 
>> new 120GB HDD.
>> If /home is LVM I can create a physical volume on the new HDD and 
>> dynamically add it to /home making /home 220G.
>
>> This is much easier than alternatives requiring the data to be hived 
>> off etc..
>
> This I knew and, yes, it is seriously cool.  (If you've got a desktop 
> machine.)  This part of LVM, however, isn't really all that useful to 
> me given that I have a laptop and am seriously space-restricted.  I 
> can add disks, but all removable and LVM really doesn't like storage 
> that can vanish without warning it seems.  So if I ever get myself a 
> desktop machine again, I'll probably configure LVM for precisely the 
> reasons you just gave: the ability to add new disks and not have to 
> repartition and shift data around, etc. is very, very, very nice.
>
> I still don't see how to resize dynamically, though.  Lots of places 
> and people positively gush over this purported ability, but I'm just 
> not finding it.
Michael, this is more a feature of the file system. So LVM allows 
physical and logical volumes to be created, moved, resized etc. The file 
system then needs the capability to grow, shrink etc to suit this 
logical volume. So it depends on the file system and there are 
comparison tables around showing what file systems can dynamically grow, 
shrink etc.

-- 
Kind Regards Russell
==================
www.windsorcycles.com.au
bikes.no-ip.info
Linux user #369094
================== 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060523/bc981415/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruscook_oz.vcf
Type: text/x-vcard
Size: 125 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060523/bc981415/attachment.vcf>


More information about the ubuntu-users mailing list