Re: to lvm or not to lvm?
- From: Bob <spam@xxxxxxxxxxxxx>
- Date: Mon, 30 Apr 2007 21:30:02 +0800
Stefan Monnier wrote:
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.
Ah, didn't know that, I'll have to tinker with LVM again, it's been a while. How easy would it be to automate the process of adding space to a partition when it's nearly full, and how easy is it to reclaim it when you've cleared the logs or whatever?
--
Garrr, do your bit for global warming, become a pirate, you can "borrow" my copy of Windows 95 if you want.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: to lvm or not to lvm?
- From: Andrew Sackville-West
- Re: to lvm or not to lvm?
- References:
- to lvm or not to lvm?
- From: Default User
- Re: to lvm or not to lvm?
- From: Douglas Allan Tutty
- Re: to lvm or not to lvm?
- From: Default User
- Re: to lvm or not to lvm?
- From: Bob
- Re: to lvm or not to lvm?
- From: Stefan Monnier
- to lvm or not to lvm?
- Prev by Date: Re: Many LUKS partitions
- Next by Date: Re: reporting problems with unstable
- Previous by thread: Re: to lvm or not to lvm?
- Next by thread: Re: to lvm or not to lvm?
- Index(es):
Relevant Pages
|
|