Red Hat Bugzilla – Bug 720992
[RFE] Ephemeral Storage Unmounted in EC2
Last modified: 2011-09-06 10:56:16 EDT
Description of problem:
Ephemeral storage devices are unmounted when you instance an image in EC2. /etf/fstab should automatically mount them somewhere since they are in fact, mountable. They are unparitioned ext3 volumes.
Steps to Reproduce:
Boot an instance in EC2
Observe that ephemeral storage is unmounted.
Observe that ephemeral storage is mounted
We do expose the devices already at AMI registration time:
-b /dev/sdf=ephemeral0 -b /dev/sdg=ephemeral1
We just need to mount /dev/sdf and /dev/sdg somewhere.
Basically this breaks down to:
/dev/sda2 ext3 on /mnt
/dev/sda3 swap on /swap
/dev/sdb ext3 on /mnt
The remaining instance storages (sdc, sdd, sde) will only be available on some larger instance types and are unpartitioned space. They should not be considered.
This gets tricky with micro instances though, since they can be i386 or x86_64, and have NO storage at all. Rather than mount via /etc/fstab, perhaps it would make sense to have a boot service that looks at the instance metadata and behaves depending on that.
Development Management has reviewed and declined this request. You may appeal
this decision by reopening this request.