kpartx creates partition devices asynchronously - it may exit before the devices have been created. This may cause a subsequent mount call to fail, because the device it is trying to mount does not yet exist. kpartx now has a -s option which makes it wait for the devices to be created before returning, but the version XenServer's dom0 doesn't have this option. Work around this by retrying the mount. When dom0's kpartx is updated, we will be able to use the -s option. Change-Id: I823a8eac4f3a2ef313d06e21da0f38ed46d7386a
2.1 KiB
Executable File
2.1 KiB
Executable File