If you are running Unomaly with a single partition mounted at root in Debian 8, you may encounter this error when running growpart to extend the disk size to solve storage issues.
# growpart /dev/xvda 2
failed [pt_update:1] pt_update /dev/xvda 2
partx: /dev/xvda: error updating partition 2
FAILED: disk=/dev/xvda partition=2: failed to repartition
***** WARNING: Resize failed, attempting to revert ******
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
***** Appears to have gone OK ****
This is due to an an issue with growpart in in Debian 8: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784004
To solve the problem, try issuing the following commands instead:
Replace /dev/xvda with your volume name and 2 with the number of the partition you want to extend.
# sudo parted /dev/xvda resizepart 2
Warning: Partition /dev/xvda2 is being used. Are you sure you want to continue?
Yes/No? Yes
End? [8590MB]? 20GB <===== PUT SIZE OF VOLUME HERE
Information: You may need to update /etc/fstab.
Then:
# sudo resize2fs /dev/xvda2
resize2fs 1.42.12 (29-Aug-2014)
Filesystem at /dev/xvda2 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 2
The filesystem on /dev/xvda2 is now 4882556 (4k) blocks long.