I just created a brand new EC2 instance based off the new Fedora 15 EBS backed image. I was able to successfully launch and SSH into my EBS based instance. However the default size is 10 GB and I would like to resize to 25 GB. I then took the following steps:
- Took a snapshot of the EBS volume attached to my new Fedora 15 instance
- Created a new EBS volume that is 25 GB based off my snapshot
- Powered down my Fedora 15 instance and detached the existing 10 GB EBS volume
- Attached my new 25 GB EBS volume to my instance and started the instance
I am able to log back into my Fedora 15 instance based off the new 25 GB EBS volume. Now is where I run into a problem.
df -h / only shows 10 GB, so I attempted to run "resize2fs /dev/sda1" to resize the filesystem. However I get a "No such file or directory while opening /dev/sda1" warning.
When I cat /etc/fstab I don't see /dev/sda1. I see the following:
LABEL=79d3d2d4 / ext4 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /dev/shm tmpfs defaults 0 0 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0
Why is there no
/dev/sda1? On my Fedora 14 image which is based off an instance store, I see in fstab that the root file system is mapped to
/dev/sda1. Have there been changes in Fedora 15?
How can I got about resizing the root file system to fill the new EBS volume?
Any help would be greatly appreciated! Thanks for your time!