[
https://issues.apache.org/jira/browse/CLOUDSTACK-8762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14716538#comment-14716538
]
ASF GitHub Bot commented on CLOUDSTACK-8762:
--------------------------------------------
Github user miguelaferreira commented on a diff in the pull request:
https://github.com/apache/cloudstack/pull/754#discussion_r38087198
--- Diff:
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
---
@@ -3923,6 +3944,17 @@ public int compare(DiskTO arg0, DiskTO arg1) {
volPath = physicalDisk.getPath();
}
+ // check for disk activity, if detected we should exit because
vm is running elsewhere
--- End diff --
Wouldn't this block best be refactored into a separate method?
> Check KVM disk files for activity before starting VM
> ----------------------------------------------------
>
> Key: CLOUDSTACK-8762
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8762
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Rohit Yadav
> Assignee: Rohit Yadav
> Fix For: 4.5.3, 4.6.0
>
>
> KVM hosts have real issue with fencing when storage are accessible by
> multiple hosts such as in the case of NFS, in which case there is a
> possibility of qcow2 disks being accessed by multiple hosts causing disk
> corruptions. The aim of this ticket is to explore ways to delay starting a VM
> if the qcow2 disks/files are still being accessed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)