I'm trying to follow the official Google Cloud documentation on how to resize the persistent disk of a Compute Engine image.
According to the instructions, after I determine the new disk size in the Web Console I need to run
resize2fs to resize the filesystem to the new disk space. However, when I try to run it I get the following error:
resize2fs: Device or resource busy while trying to open /dev/disk/by-id/google-[my-disk-id] Couldn't find valid filesystem superblock.
My OS is Ubuntu 14.04.3 LTS.