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

Bug#579363: partman-lvm: don't allocate all space in guided LVM configuration



Package: partman-lvm
Version: 65
Severity: wishlist

Hi,

this is not exactly a feature request, it's more like a start of a
discussion and a maybe-wishlist depending on what people think about that.

I use LVM from the debian-installer since quite some time now, and I find
it really useful. I definitely love the “guided lvm” and “guided encrypted
LVM”, but sometime, after using the box a bit, I find out that the layout
wasn't exactly like I needed and I'm short on space on one partition.

 Fine, LVM is good at that, I can reallocate some space.

But, shrinking some VG to reallocate space is not that easy. One
needs to shrink one filesystem, then the LV, then grow the needed LV,
and then the filesystem. It's not that easy, and I'm not sure this is
really the way LVM was intended to be used.

It might been easier to not allocate all the space on the hard drive chosen
for guided LVM. Only allocate, say 10 or 20G (only if the hard drive is big
enough, that said), do a guided layout on that, and keep free extents in
the volume group.

Then, when one partition starts to fill up, the admin only needs to grow it
a little, with the free PE in the VG.

What do you think?

Cheers,
--
Yves-Alexis

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: