Re: Adding LVM to an existing system

From: Marc Shapiro (mshapiro_42_at_yahoo.com)
Date: 11/16/05

  • Next message: j Mak: "Mplayer sound problem"
    Date: Tue, 15 Nov 2005 17:31:18 -0800
    To: Debian User Group <debian-user@lists.debian.org>
    
    

    *** Davies wrote:
    > On 15/11/05, Marc Shapiro <mshapiro_42@yahoo.com> wrote:
    >
    >>I currently do not use LVM.
    >>
    >>I have a 40GB disk with 3 physical partitions and logical partitions
    >>5-11 on the remaining physical partition. Several of the partitions are
    >>getting full. There is space on the disk. Just over half of the disk
    >>space is UN-partitioned.
    >>
    >>What I need to know is if I am better off to simply juggle the data
    >>around using parted to increase the size of the paritions, or should I
    >>install LVM and migrate the data to LVM volumes.
    >
    >
    > I'd go for the latter - LVM is much saner than mucking about with parted and
    > symlinks. If you want the flexibility of multiple partitions without
    > the 'I guessed wrong
    > when I installed and now /usr is 5% full but /home is bursting'
    > hassle, it's the only
    > sensible choice.
    >
    >
    >>Is this a good plan, or should I just juggle logical paritions and not
    >>use LVM?
    >
    > Good plan. Once you convert your old partitions to PVs you could even empty
    > out the temporary PV you created on the end of the disk (using pvmove)
    > if you need
    > the space for something else.

    One thing that I have yet to see a conclusive answer to: Can I make LVM
    Logical Volumes from logical partitions in an extended physical volume.
      Since I have 4 physical volumes, including an extended volume, I would
    have to create the LVs from logical partitions.

    Also, assuming that I can use logical partitions, is it possible to use
    some, but not all logical partitions from an extended partition.
    Currently, my / partition is /dev/hda5 and my /boot partition is
    /dev/hda11 and I would want these to NOT be included in the LV. I would
    be including /dev/hda6 through /dev/hda10 as well as a new /dev/hda12
    (which will be the remaining space on the disk).

    Will this work?

    -- 
    Marc Shapiro
    mshapiro_42@yahoo.com
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: j Mak: "Mplayer sound problem"