Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
$ lsblk
NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
xvda1 202:1    0   20G  0 disk /
xvda3 202:3    0  896M  0 disk [SWAP]
$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/xvda1      7.9G  2.1G  5.8G  27% /
tmpfs           829M     0  829M   0% /dev/shm

Why does lsblk telling me that I have 20G disk space on xvda1, while df command is telling me I only have 8G disk space?

share|improve this question

I had this same issue. I used sudo resize2fs /dev/xvda1 to make the rest of the disk space available.

share|improve this answer
    
Wonderful, this is exactly what I needed. Thank you. – Malcolm Diggs Apr 22 '14 at 11:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .