0

This question already has an answer here:

I have Ubuntu 14.04 running on a small VPS with 20GB of disk space. My problem is that only 7GB of the 20GB are available right now, even though it used to be 20GB.

if I run the df command it also shows that only ~7GB is available.

Dateisystem    1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf
udev              497612       4    497608    1% /dev
tmpfs             101768     392    101376    1% /run
/dev/sda2        7163264 3080020   3696328   46% /
none                   4       0         4    0% /sys/fs/cgroup
none                5120       0      5120    0% /run/lock
none              508836       0    508836    0% /run/shm
none              102400       0    102400    0% /run/user

anyone knows how to get back to 20GB? I could not find anything related to this problem and I don't want to reinstall the OS.

EDIT Running lsblk shows the following:

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0    20G  0 disk
├─sda1   8:1    0   953M  0 part [SWAP]
└─sda2   8:2    0   7,1G  0 part /
sr0     11:0    1  1024M  0 rom

marked as duplicate by muru, Community Sep 20 '17 at 15:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Add the output of lsblk, please. – muru Sep 20 '17 at 14:43
  • The space is there, your root partition (/dev/sda2) needs be resized. askubuntu.com/a/937351/158442 seems simple enough – muru Sep 20 '17 at 15:25

Browse other questions tagged or ask your own question.