Comment 3 for bug 1502317

Revision history for this message
Joe Chen (joe-chen) wrote :

We encountered the same issue on Debian Jessie guest.

It seems that systemd will create a "var-lib-mysql.mount" (via systemd-fstab-generator) to handle mount/unmount.
Whenever /dev/vdb is attached, this systemd unit will do auto-mounting.

As a workaround, we "mask" this systemd unit BEFORE volume.unmount(mount_point), and "unmask" it AFTER volume.mount(mount_point), then resize function works perfectly.