Resizing LVM after clone

Discussion in 'Installation/Configuration' started by tokerau, Oct 11, 2012.

  1. tokerau

    tokerau New Member

    I cloned my linux drive from an 80gig to a 250 gig hard drive. I can't figure out how to use the rest of the space on the drive. It is using LVM, and for a newbie like me it is very confusing. I've seen lots of articles where the size is reduced, or increased, but none that show how to use the unused space on a drive. The output of fdisk -l is:

    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x0003b753

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 64 512000 83 Linux
    Partition 1 does not end on cylinder boundary.
    /dev/sda2 64 9730 77637632 8e Linux LVM

    I want to increase /dev/sda2 to use the rest of the drive. I'm using Centos 6.3

    Thanks
     
    Last edited: Oct 11, 2012
  2. falko

    falko Super Moderator ISPConfig Developer

Share This Page