[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: to lvm or not to lvm?



> crash, given this, what would be really cool would be to partition the
> system at install time using a slightly mean, but granular, best guess
> layout [0] so things should fit in their partitions without too much wasted
> space, then configure each partition as one mount point on one logical
> volume consisting of one physical volume [1] and then partition up the rest
> of the drive in 1GB chunks that sit in a pool of unused logical volumes so
> they can be assigned to any mount point when needed,
> preferably automatically. 

Huh?  Why on earth use physical partitions for that?
LVM is a perfect fit for such a situation.

Put your whole disk as a single LVM physical volume.
Carve it into the few partitions you need (with little space left on each)
and leave the rest of the space unused in your volume group.

You can then later on grow any partition that needs to with a simple
lvextend&resize2fs.  That part can also be done with a 1GB granularity if
you want.


        Stefan



Reply to: