I needed more disk space on one of my servers (running NixOS) that was hosted in Linode, so I did the following steps:
- did a warm migration to the next server size
- powered off
- resized the disk partition in the Linode portal
- powered on
After booting, the file system now shows double the size – no messing around with growpart
or resize2fs
– apparently Linode takes care of resizing the partition and the filesystem – very nice!