[breezy install] LVM option?
David Abrahams
dave at boost-consulting.com
Mon Dec 5 14:29:48 UTC 2005
David Hart <ubuntu at tonix.org> writes:
> I would expect an auto partition on LVM to create nothing more than
> /boot as a primary partition (because grub can't read LVM) possibly
> another for swap (but it could, I think go into the LVM) and the rest
> for / in the LVM, which, from what I can make out, is what it has
> done.
Yes.
> An auto partitioner is not able to know how you want your disk
> partitioned beyond assuming a basic setup.
Of course it isn't. But then one would expect to be able to further
dice up the logical volumes, right? Or one would expect to be able to
set up LVM *completely* manually during the install process. Neither
of those seem to work.
> The two Breezy boxes that I have LVM on were originally partitioned for
> Gentoo two or more years ago and I configured it manually in the Ubuntu
> installer.
Yes, that's great, but I don't want to have to install Gentoo just so
I can get the ubuntu installation I'm after.
>> However, I was unable to add logical volumes or modify the volume
>> group: the partitioner would tell me there was no physical volume to
>> operate on (!) I'm pretty sure I want more than just two top level
>> logical volumes. Even though the installer does nothing smart about
>> that by default, everything I've read makes plausible arguments that I
>> ought to be separating /var, /home, /tmp, etc., from one another.
>
> You first need to decide on and setup your physical partitions and
> allocate the rest to type LVM (either one big LVM volume or split over
> several partitions as I've done) all from the main manual installer
> screen.
Yes, done.
> Once done, you go to the LVM option at the top (I'm describing
> this from memory) and it will write the partitions to disk. From there you
> should be in a menu which will let you create volume groups and logical
> volumes to go in them.
Yes, been there. But as I said, when I try that, it tells me there's
no physical volume.
> I'm only using one volume group at the moment
That's all I want.
> but you can set it up however you want.
>
> Once you have your logical volumes created you should find yourself at
> the main manual installer screen again where you can allocate the logical
> volumes to the parts of the filesystem that you want.
>
>> I'm starting to get the feeling that this part of the installer
>> doesn't really work and I should expect to have to use pvcreate,
>> vgcreate, etc., from the command line, in order to really manage the
>> LVM configuration. But I have no idea whether this can actually work.
>
> It definitely works (well, at least it has for me)
Sorry, I should have said, I don't know if this can work after the
installation is all done on my physical boot volume.
> but it's not the most intuitive of interfaces and threw me a bit the
> first time I used it.
>
>> Can anyone help? TIA,
>
> HTH
Well, it's good to know someone's listening, but so far, I'm still
somewhat stymied.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the ubuntu-users
mailing list