[Mageia-dev] time to switch from raw partitions to lvm?

Remy CLOUARD shikamaru at mandriva.org
Sun Feb 27 10:29:35 CET 2011

On Mon, Feb 21, 2011 at 01:39:32PM +0100, Anne nicolas wrote:
> Apart from all possible issues, diskdrake needs first to be improved.
> Looking on partitions when you run LVM still needs to have knowledge
> about how it works. And I really don't think people can easily
> understand PV, VG, LV and FS
> -- 
> Anne
> http://www.mageia.org

I would like to wave in this direction.

Enabling lvm by default would be a bit premature at the moment, but one
thing we could add is the ability to choose this layout, like what
debian does. You can choose to have lvm, but are not forced to.
At the moment we provide 3 layouts:
- simple
- simple with /usr
- server

We could have other ones like:
- /boot + lvm -> will hold /, swap, /home with extra space saved
- /boot + lvm + encrypt

At the moment there is one major blocker for lvm, if one check the
encrypt checkbox, one gets screwed, see

I’ve been using lvm here for quite a long time on mandriva, it works
great but I still have to do manual things to get things right.

Here are a few issues I encountered:
- grub entry might be wrong you could end up with root=/dev in the
  kernel line instead of /dev/vg/lv, bug not opened yet because I
  haven’t been able to trigger the condition to encounter it.
- initrd might be wrong if crypttab is empty (should open a bug for
- lvm might not be correctly detected and not included in initrd: I had
  to export VG_LIST="vg" to get it work as expected

And we have to test it thoroughly first !

() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20110227/7ae06166/attachment.asc>

More information about the Mageia-dev mailing list