I had a 8GB
EBS attached to my EC2 Instance
but I was running out of space
what I did on the AWS Management Console
:
- Create a snapshot of the current EBS (8GB)
- Create a new EBS based on the snapshot (200 GB)
- Stop the EC2 Instance
- Detach current EBS (8GB)
- Attach new EBS (200GB)
- Start the EC2 Instance
- Assign the Elastic IP
the problem:
When i hit df -h /
I get:
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 7.9G 6.0G 1.6G 80% /
and there's a partition mounted on /mnt
with 414GB
I really don't know where did those 414GB came from :S.
df -h /mnt
Filesystem Size Used Avail Use% Mounted on
/dev/xvdb 414G 199M 393G 1% /mnt
...now where are my 200GB
of my new EBS ? is there any step i missed on the AWS Management Console
? how can i get the root partition (/
) to use a larger space than 8GB