Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.