BugFix: fix storperf deployment location error
[yardstick.git] / tools / yardstick-img-modify
index 9459410..13d4360 100755 (executable)
@@ -81,7 +81,9 @@ setup() {
     kpartx -av $raw_imgfile
 
     # for trouble shooting
-    sleep 2; dmsetup ls
+    sleep 2
+    dmsetup ls
+    fdisk -l /dev/${loopdevice:0:5} || true
 
     mount /dev/mapper/$loopdevice $mountdir
     mount -t proc none $mountdir/proc
@@ -136,6 +138,8 @@ error_trap()
         exitcode=$rc
     fi
 
+    dmesg -T | tail -50
+
     cleanup
 
     echo "Image build failed with $exitcode"