On 04/16/2010 08:56 AM, Marko Potocnik wrote:
> Hi,
>
> we're also using vmware resource agent at out company and we found
> problems with stopping virtual machines and unmounting underlaying
> filesystem right afterwards. Filesystem was still in use and umount failed.
> Solution was to call "sync" after virtual machine was stopped. Here is
> the diff against latest version:
>
> 293c293,295
> <     ocf_log info "Virtual machine $VM is stopped"
> ---
>  >     ocf_log info "Virtual machine $VM is stopped. Syncing Disks."
>  >     sync
>  >     ocf_log info "Sync Completed."
>
> Sync would take from a few seconds to a minute or two. Could this "fix"
> be added to official vmware resource agent? Does anybody have any other
> solution?
>

That should be a job for the Filesystem resource agent, you should raise 
timeouts there imho... Anyway it doesn't hurt at all. Ask Florian to add 
your patch in the next release.

Bye

-- 
Cristian Mammoli
APRA SISTEMI srl
Via Brodolini,6 Jesi (AN)
tel dir. 0731 719822

Web   www.apra.it
e-mail  [email protected]
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to