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/cloud-agent-with-openvswitch Commit: 189c20b6653498a8ee8c2e398c5f2e44ab4b840a Parents: 2955d58 Author: Edison Su <[email protected]> Authored: Fri Jan 18 14:22:53 2013 -0800 Committer: Edison Su <[email protected]> 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
