On GCP, is there a way to trigger a filesystem resize (possibly by running a systemd unit) when the size of the disk backing a mounted filesystem is changed?
I was hoping these kind of events would be possible through udev
but by running udevadm monitor --environment
I only see events for attach/detach rather than disk resize.
I'm thinking my only option is to run resize periodically or force the instance to be restarted when the disk size changes.