increasing amazon root volume size
- by OCD
I have a default amazon ec2 instance with 8GB root volume size. I am running out of space. I have:
Detach the current EBS volume in AWS Management Console (Web).
Create snapshot of this volume.
Created a new Volume with 50G space with my snapshot.
Attach the new volume back to the instance to /dev/sda1
However, when I reconnect to the account with:
> df -h
I can see from the management console that my new
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvda1 8256952 8173624 0 100% /
tmpfs 308508 40 308468 1% /dev/shm
It's still not using my new volume's size, how to make this work?