Server Fault is a question and answer site for system and network administrators. 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

I created an EBS volume (100GB) from a snapshot (10GB), but when I attach the volume to an instance and mount it as /vol, then I check with df -h, I see that /vol has size of 10GB although it's a 100GB disk. What's wrong with my procedure ? Thank you!

share|improve this question
up vote 6 down vote accepted

The volume is 100GB, but the filesystem is still only 10GB.

You need to grow/expand the filesystem to fill the rest of the space on the disk volume.

The method you use to do this depends on what type of filesystem you're running on this volume.

If you're running an ext3 filesystem, it's as simple as:

$ resize2fs /dev/xvdX

(replace xvdX with the correct device name for the volume)

share|improve this answer
I'm running on XFS, so the command I used to expand the filesystem is: xfs_growfs /dev/sdf – PapelPincel Aug 14 '12 at 14:40

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.