Skip to main content
2 of 5
added 266 characters in body

cannot resize disk on aws instance

I tried following the instructions in: Can't resize a partition using resize2fs

But nothing seemed to work.

The output of lsblk is:

[AWS root@archive ~]$ lsblk
NAME                          MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
xvda                          202:0    0   300G  0 disk
├─xvda1                       202:1    0   500M  0 part /boot
├─xvda2                       202:2    0  29.5G  0 part
│ ├─vg_archive-lv_root (dm-0) 253:0    0 147.6G  0 lvm  /
│ └─vg_archive-lv_swap (dm-1) 253:1    0     2G  0 lvm  [SWAP]
├─xvda3                       202:3    0    10G  0 part
│ └─vg_archive-lv_root (dm-0) 253:0    0 147.6G  0 lvm  /
└─xvda4                       202:4    0   110G  0 part
  └─vg_archive-lv_root (dm-0) 253:0    0 147.6G  0 lvm  /

You can see that 300Gb is available, but I've been unable to extend the root volume from 150Gb. Any help greatly appreciated, thanks.

Update: thought I'd add the linux distro, it's old which might be part of the problem...

Linux version 2.6.32-358.18.1.el6.x86_64 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Wed Aug 28 17:19:38 UTC 2013