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

We're using ext3 right now for our EBS file systems and I was wondering if there would be any problems with the following scenario for expanding the size.

  1. Create EBS initial size 2GB (ebs1)
  2. Snapshot EBS (s1)
  3. Create 10GB EBS (ebs2) from snapshot (s1)

Will this corrupt the file system? Will the ext3 file system automatically handle this situation? Likewise, will decreasing the size, using the same method, cause any problems (assuming the space is still sufficient for the data)?

I have successfully done this in the EC2 environment but since I'm currently using very little data I'm not sure if I've caused any problems.

Would running fsck find issues like this?

share|improve this question
up vote 2 down vote accepted

Expanding the underlying partition size doesn't autoexpand the filesystem. You need to run resize2fs to resize the filesystem on that partition - expanding can be done with the filesystem mounted, but shrinking requires unmounting first.

Note: the above is general in application; I haven't used EBS or EC2 in this way, but have no reason to believe it would be any different.

share|improve this answer

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.