we just ran almost out of space on our main EC2 instance. I wanted to increase the EBS volume size to 2.5TB from 2TB.
However, I noticed that I could not increase the partition anymore due to the MBR limit of 2TB.
I should've known that before...Is there any way to use the 500GB without much downtime, e.g., by creating a new partition? But since it is the root volume I'm not sure if this is even possible. Any ideas?
Thanks a lot!
Edit @Nikita Kipriyanov
sudo fdisk -l /dev/nvme0n1p1
Disk /dev/nvme0n1p1: 1.102 TiB, 2199022206976 bytes,
4294965248 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
and
sudo cat /etc/fstab
LABEL=cloudimg-rootfs / ext4 defaults,discard 0 0
/dev/nvme1n1p2 none swap sw 0 0
and
df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/root ext4 2.0T 1.8T 149G 93% /
/dev/root is on /dev/nvme0n1p1
Thanks