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

This commit is contained in:
Edison Su 2013-01-18 14:22:53 -08:00
parent 2955d58976
commit 189c20b665
1 changed files with 1 additions and 1 deletions

View File

@ -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