What's the official method for expanding sda5 in the ns8-rocky image?

I didn’t test it, but one approach can be:

  1. shutdown the node and resize its .qcow2 image from the host system:

    sudo qemu-img resize ns8-green1.qcow2 +50G
    
  2. start the node and grow its 5th partition (remove -N, dry-run flag, when you’re confident):

    growpart -N /dev/vda 5
    
  3. grow the root filesystem:

    xfs_growfs /
    
2 Likes