Steps to resize NVMe volumes for Nitro Instances.
List information about all block devices on your machine.
ubuntu@localhost$ sudo lsblk
Increase the block size
ubuntu@localhost$ sudo growpart /dev/nvme0n1 1
If you are using XFS then do
xfs_growfs /dev/nvme1n1
Resize the root volume
ubuntu@localhost$ sudo resize2fs /dev/nvme0n1p1
See the resized blocks
ubuntu@localhost$ df -h