0

I tried following different answers like here [0], but all of these instructions fail because the system-config-lvm GUI reports the root partition as full, but when I boot into it I can check that only half of the disk space is actually used.

Here is the screenshot of the GUI: enter image description here

edit

Output of df -h

Filesystem                           Size  Used Avail Use% Mounted on
udev                                 946M     0  946M   0% /dev
tmpfs                                193M   21M  173M  11% /run
/dev/mapper/ubuntu16server--vg-root   26G   16G  8.4G  66% /
tmpfs                                965M     0  965M   0% /dev/shm
tmpfs                                5.0M     0  5.0M   0% /run/lock
tmpfs                                965M     0  965M   0% /sys/fs/cgroup
/dev/sda1                             30G   11G   20G  35% /media/usb0
/dev/mmcblk0p2                       473M  121M  329M  27% /boot
/dev/mmcblk0p1                       511M  3.4M  508M   1% /boot/efi
tmpfs                                193M     0  193M   0% /run/user/1000

Output of sudo pvs

  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4128768: Input/output error
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4186112: Input/output error
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4096: Input/output error
  PV             VG                Fmt  Attr PSize  PFree 
  /dev/mmcblk0p3 ubuntu16server-vg lvm2 a--  28.14g 16.00m

Output of sudo vgs

  VG                #PV #LV #SN Attr   VSize  VFree 
  ubuntu16server-vg   1   2   0 wz--n- 28.14g 16.00m

Output of sudo lvs

  LV     VG                Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  root   ubuntu16server-vg -wi-ao---- 26.20g                                                    
  swap_1 ubuntu16server-vg -wi-ao----  1.93g  

Output of df -i

Filesystem                           Inodes  IUsed   IFree IUse% Mounted on
udev                                 241942    478  241464    1% /dev
tmpfs                                247010    732  246278    1% /run
/dev/mapper/ubuntu16server--vg-root 1716960 135983 1580977    8% /
tmpfs                                247010      1  247009    1% /dev/shm
tmpfs                                247010      5  247005    1% /run/lock
tmpfs                                247010     16  246994    1% /sys/fs/cgroup
/dev/sda1                                 0      0       0     - /media/usb0
/dev/mmcblk0p2                       124928    301  124627    1% /boot
/dev/mmcblk0p1                            0      0       0     - /boot/efi
tmpfs                                247010      4  247006    1% /run/user/1000

[0] How can I resize an LVM partition? (i.e: physical volume)

stdclass
  • 111
  • 4

0 Answers0