I am working on EC2 instance on AWS.
OS is CentOS 6.5 and paravirtualized.
When I started instance, I enter SSD storage as 32GB.
But in instance, only 8GB is mounted.
So I expand block on /dev/xvda
(which was mounted on `/@) from 8GB to 32GB.
And I tried to run command resize2fs /dev/xdva1
but got error like below:
Filesystem at /dev/xvda1 is mounted on /; on-line resizing required
old desc_blocks = 1, new_desc_blocks = 2
Performing an on-line resize of /dev/xvda1 to 8388352 (4k) blocks.
resize2fs: Operation not permitted While trying to add group #81
And System Error on AWS management console:
EXT4-fs warning (device xvda1): ext4_group_add:1605: No reserved GDT blocks, can't resize
EXT4-fs warning (device xvda1): ext4_group_add:1605: No reserved GDT blocks, can't resize
EXT4-fs warning (device xvda1): ext4_group_add:1605: No reserved GDT blocks, can't resize
EXT4-fs warning (device xvda1): ext4_group_add:1605: No reserved GDT blocks, can't resize
EXT4-fs warning (device xvda1): ext4_group_add:1605: No reserved GDT blocks, can't resize
Here are current status
df -h
lsblk
I want /dev/xvda1
to increase to 32GB or newly make /dev/xvda2
as remain disk.
How can I make it?