Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.