Results 1 to 4 of 4

Thread: Not all the partition is being used: how to fix

  1. #1
    Join Date
    Mar 2005
    Beans
    119

    Not all the partition is being used: how to fix

    Code:
    sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
    Gives

    Code:
    NAME                      FSTYPE       SIZE MOUNTPOINT LABEL
    sr0                                   1024M
    xvda                                    20G
    ├─xvda1                                  1M
    ├─xvda2                   ext4         1.8G /boot
    └─xvda3                   LVM2_member 18.2G
      └─ubuntu--vg-ubuntu--lv ext4          10G /
    I am wanting ubuntu--vg-ubuntu--lv to use all of xvda3 space available.

    How do I do this?

  2. #2
    Join Date
    Mar 2005
    Beans
    119

    Re: Not all the partition is being used: how to fix

    Ah, I think I can simply boot using gparted disk and then expand it. Will try when back at desk.

  3. #3
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,758

    Re: Not all the partition is being used: how to fix

    Quote Originally Posted by abasel View Post
    Ah, I think I can simply boot using gparted disk and then expand it. Will try when back at desk.
    You will find out that gparted cannot manage LVM devices. You need to use a terminal.
    ubuntu-vg is your volume group - size 18.2G
    ubuntu-lv is your logical volume - size 10G

    One terminal command will do it:
    Code:
    sudo lvextend --resizefs --size 18.2G /dev/ubuntu-vg/ubuntu-lv
    You can do from Ubuntu itself. That's a nice thing about LVM.

  4. #4
    Join Date
    Mar 2005
    Beans
    119

    [SOLVED] Not all the partition is being used: how to fix

    Awesome, thanks that worked a treat.

    Quote Originally Posted by Dennis N View Post
    You will find out that gparted cannot manage LVM devices. You need to use a terminal.
    ubuntu-vg is your volume group - size 18.2G
    ubuntu-lv is your logical volume - size 10G

    One terminal command will do it:
    Code:
    sudo lvextend --resizefs --size 18.2G /dev/ubuntu-vg/ubuntu-lv
    You can do from Ubuntu itself. That's a nice thing about LVM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •