I have been following tutorials from here and here to resize ec2 instance root partition size.
The tutorials said to resize the root partition by running command resize2fs after new attached volume instance started in order to claim the free size, but i can see the resized root partition without running resize2fs.
Before resizing
Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7.9G 876M 6.7G 12% / udev 819M 8.0K 819M 1% /dev tmpfs 331M 164K 331M 1% /run none 5.0M 0 5.0M 0% /run/lock none 827M 0 827M 0% /run/shm
After resizing but without running resize2fs
Filesystem Size Used Avail Use% Mounted on /dev/xvda1 148G 888M 140G 1% / udev 819M 8.0K 819M 1% /dev tmpfs 331M 164K 331M 1% /run none 5.0M 0 5.0M 0% /run/lock none 827M 0 827M 0% /run/shm
So, is this step done automatically, or I am missing something here?
Thanks,