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

40GB ain’t much, especially when you need to migrate a 100 GB NS7 Nextcloud install.

Hi @fasttech
This can help, and can essentially handle all partitions and systems for NS8…

My 2 cents
Andy

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