Apologies - this may be a bit basic, but after a couple of hours of searching and no joy I could do with some help. I’ve got a Nextcloud installation on an AWS EC2 server that was installed via the snap (Ubuntu 16.04.6 LTS).
Space has become an issue so I’ve increased the attached volume up to 2.5T, but I’m struggling with getting that identified on the Nextcloud side. This is where my lack of knowledge kicks in.
Filesystem Size Used Avail Use% Mounted on udev 1.9G 0 1.9G 0% /dev tmpfs 390M 5.7M 384M 2% /run /dev/nvme0n1p1 2.0T 1.9T 46G 98% / tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/loop0 90M 90M 0 100% /snap/core/8039 /dev/loop1 18M 18M 0 100% /snap/amazon-ssm-agent/1455 /dev/loop2 218M 218M 0 100% /snap/nextcloud/16402 /dev/loop3 90M 90M 0 100% /snap/core/7917 /dev/loop4 212M 212M 0 100% /snap/nextcloud/16739 /dev/loop5 18M 18M 0 100% /snap/amazon-ssm-agent/1480 tmpfs 390M 0 390M 0% /run/user/1000 lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL NAME FSTYPE SIZE MOUNTPOINT LABEL loop0 squashfs 89.1M /snap/core/8039 loop1 squashfs 18M /snap/amazon-ssm-agent/1455 loop2 squashfs 217.6M /snap/nextcloud/16402 loop3 squashfs 89.1M /snap/core/7917 loop4 squashfs 211.7M /snap/nextcloud/16739 loop5 squashfs 18M /snap/amazon-ssm-agent/1480 nvme0n1 2.5T └─nvme0n1p1 ext4 2T / cloudimg-rootfs
I’ve tried various combinations of google-suggested commands to increase the partition size and the file size, but I’m failing somewhere. My assumption was that I could increase partition size with
sudo parted /dev/nvme0n1p1 resizepart 1 2.5T
but I’m getting
Error: Partition doesn't exist.
Can anyone help with what I’m missing?