Re: Adding LVM to an existing system

From: Alan Chandler (alan_at_chandlerfamily.org.uk)
Date: 11/16/05

  • Next message: Maurits van Rees: "Re: IMAP and Sieve"
    To: debian-user@lists.debian.org
    Date: Tue, 15 Nov 2005 23:35:34 +0000
    
    

    On Tuesday 15 Nov 2005 21:33, Marc Shapiro 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.

    Personally, I have just the root partition as a normal partition and
    everything else on two lvm groups. I use two groups because I do disk to disk
    backups and I need to ensure that data is on separate physical volumes, but
    apart from that I am always creating, destroying or resizing logical volumes
    as I change my mind about things.

    Root is best left not lvm, because if you have to boot in a rescue disk, its
    easier not having to have to lvm tools around to get at root and correct what
    ever problem there might be.

    (and I tend to use reiserfs just because you can resize to a bigger logical
    volume without unmounting the filesystem).

    -- 
    Alan Chandler
    http://www.chandlerfamily.org.uk
    Open Source. It's the difference between trust and antitrust.
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Maurits van Rees: "Re: IMAP and Sieve"

    Relevant Pages

    • Re: to lvm or not to lvm?
      ... have the optimal size and this is very doable with LVM, ... cabinet, storage cabinet(s with drawers full of disk), Multi-path SAN ... A typo in a script can do more harm in 20 ... As long as it's not possible for a growing partition to take space away ...
      (Debian-User)
    • Re: Booting - Enterprise Volume Management System
      ... blocksize of your filesystem and calculate the new size based on those units. ... physical disk partition. ... You manipulate a virtual partition and don't ... Software raid will always be slower than LVM ...
      (Ubuntu)
    • Re: Resizing an LVM
      ... lvm vgchange -a y /dev/VolGroup00 ... Checks file system for errors ... Create a partition on the temp disk. ...
      (Fedora)
    • Re: LVM or FS:EXT3?
      ... out of different boxes, in different combinations, so I don't like LVM. ... very hard to downsize a physical partition associated with LVM. ... not get the physical partition to shrink. ...
      (Fedora)
    • When LVM Goes Bad
      ... I believe LVM is the default on Fedora partitioning now, at least I didn't love it that much that I would have selected it, and it is on all my boxes now. ... However LVM makes less sense on, say, a laptop which has and will only ever have a single 2.5" HDD for storage that is permanently available with the laptop. ... The resulting symptom was that the partition contents were no longer recognized as containing a logical volume or a volume group, nor pvscan, although pvdisplay could see it was a physical volume if pointed directly at the partition. ... Whether this explained the loss of LVMness or a subsequent logical brain damage that happened elsewhere did it I don't know. ...
      (Fedora)