Ad Widget

Collapse

/dev/mapper/ubuntu--vg-ubuntu--lv full how to expand

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fstans
    Junior Member
    • May 2021
    • 5

    #1

    /dev/mapper/ubuntu--vg-ubuntu--lv full how to expand

    Hi our zabbix partition /dev/mapper/ubuntu--vg-ubuntu--lv is full does anyone knows how to expand this ?
    The disk is expanded but somehow the /dev/mapper/ubuntu--vg-ubuntu--lv partition will not take this space

    df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/ubuntu--vg-ubuntu--lv 146G 136G 2.3G 99% /

    ---------------------------------------------
    pvdisplay
    --- Physical volume ---
    PV Name /dev/sda3
    VG Name ubuntu-vg
    PV Size <189.00 GiB / not usable 1.00 MiB
    Allocatable yes (but full)
    PE Size 4.00 MiB
    Total PE 48383
    Free PE 0
    Allocated PE 48383
    PV UUID KhBQxm-vyqm-XYQr-g6dd-vYcm-keaU-IRTm8S

    ---------------------------------------------
    GNU Parted 3.3
    Using /dev/sda
    Welcome to GNU Parted! Type 'help' to view a list of commands.
    (parted) print all
    Model: VMware Virtual disk (scsi)
    Disk /dev/sda: 204GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Disk Flags:

    Number Start End Size File system Name Flags
    1 1049kB 2097kB 1049kB bios_grub
    2 2097kB 1076MB 1074MB ext4
    3 1076MB 204GB 203GB


    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 203GB
    Sector size (logical/physical): 512B/512B
    Partition Table: loop
    Disk Flags:

    Number Start End Size File system Flags
    1 0.00B 203GB 203GB ext4



    Any help would be appreciated.

    Regards Fabian
  • fstans
    Junior Member
    • May 2021
    • 5

    #2

    resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv did the trick

    Comment

    Working...