cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject git commit: umount loop device. If patch disk created from loop, then need to umount it in loop device, otherwise, you can only create 7 routers on one kvm host
Date Fri, 18 Jan 2013 22:27:51 GMT
Updated Branches:
  refs/heads/master 2955d5897 -> 189c20b66


umount loop device. If patch disk created from loop, then need to umount it in loop device,
otherwise, you can only create 7 routers on one kvm host


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/189c20b6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/189c20b6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/189c20b6

Branch: refs/heads/master
Commit: 189c20b6653498a8ee8c2e398c5f2e44ab4b840a
Parents: 2955d58
Author: Edison Su <sudison@gmail.com>
Authored: Fri Jan 18 14:22:53 2013 -0800
Committer: Edison Su <sudison@gmail.com>
Committed: Fri Jan 18 14:27:40 2013 -0800

----------------------------------------------------------------------
 scripts/vm/hypervisor/kvm/rundomrpre.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/189c20b6/scripts/vm/hypervisor/kvm/rundomrpre.sh
----------------------------------------------------------------------
diff --git a/scripts/vm/hypervisor/kvm/rundomrpre.sh b/scripts/vm/hypervisor/kvm/rundomrpre.sh
index f3019dc..dc78374 100755
--- a/scripts/vm/hypervisor/kvm/rundomrpre.sh
+++ b/scripts/vm/hypervisor/kvm/rundomrpre.sh
@@ -71,7 +71,7 @@ umount_raw_disk() {
     sync
     while [ $retry -gt 0 ]
     do
-        umount $path &>/dev/null
+        umount -d $path &>/dev/null
     	if [ $? -gt 0 ]
     	then
 	   sleep 5


Mime
View raw message