How to enlarge disk on copr-beΒΆ
Login to Amazon AWS [amazon-aws] (us-east-1 region) and go to EC2
Open volumes from the left menu
Filter copr-be-prod
In case something goes wrong, create a snapshot with the same tags the volume already has (see instructions in AWS Tips-and-Tricks). Name it so that the snapshot can then be distinguished from the others, because after enlarging the disk it will be deleted. Note that creating the snapshot can take about one hour.
After creating a snapshot, right-click on copr-be-prod and click on Modify Volume
In the size field, write how big you want the volume to be
After the enlargement is done (this may take several hours if we speak about TB)
Run:
[comment]: # (nvme reset /dev/nvme1 - we don't have to do this anymore) growpart /dev/nvme1n1 1 resize2fs /dev/nvme1n1p1
Delete the snapshot from step 4
[amazon-aws]: https://id.fedoraproject.org/saml2/SSO/Redirect?SPIdentifier=urn:amazon:webservices&RelayState=https://console.aws.amazon.com