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 am spawning a few test servers on ec2 that happen to be m1.larges. I am using these test servers for load balancin testing. Anyways, most of the servers I have used before have been backed by EBS, but these instances (ubuntu 11.04) obviously come with a lot of ephemeral space located @ /mnt.

What I noticed that is happening is I am running on space on the root disk. I am trying out this tutorial

moving my /home + /usr directories to /mnt and then remounting them. This works except it does not survive a reboot. Am I missing something here or is this tutorial not completely correct.

How do I make space on my / drive so I can do stuff and survive re-boots.

share|improve this question

migrated from Mar 23 '12 at 23:22

This question came from our site for professional and enthusiast programmers.

The tutorial is correct, according to the official Amazon EC2 docs at So you should not be losing this data. How exactly are you rebooting these instances? Are you sure you are losing the data on the instance storage device and not just the pointers? And what is your /etc/fstab file like?

You may want to read which recommends that you always use EBS volumes, though.

share|improve this answer
those article are interesting but they confuse me - as far as i know, its not possible to "boot to EBS" from a custom image. you need to boot on to an instance and than attach your EBS ... or am i missing something – Joseph Misiti Mar 24 '12 at 21:30
I'm not sure what you mean by "booting to EBS"? You can certainly create EBS-backed custom images (or AMIs in the AWS parlance):… – Daan Mar 25 '12 at 10:56

Ephemeral storage should persist across instance reboots (i.e. running reboot or similar within the instance, or issuing a RebootInstances API request). Is a script in your AMI possibly formatting the ephemeral storage at startup?

share|improve this answer
where would that script exist, i just created an AMI from one of these images – Joseph Misiti Mar 24 '12 at 21:29
Somewhere in /etc/init.d, /etc/init or /etc/rc.local. I doubt that an official Ubuntu image would have that behaivour though. – mgorven Mar 25 '12 at 18:04

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.