To make a xfs filesystem, we need the device gets at least 4096 blocks.

Signed-off-by: DAN LI <[email protected]>
---
 runltp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/runltp b/runltp
index e86f5c7..63c625f 100755
--- a/runltp
+++ b/runltp
@@ -955,8 +955,8 @@ main()

 create_block()
 {
-    #create a block device with ext4 filesystem.
-    dd if=/dev/zero of=${TMP}/test.img bs=1kB count=10240
+    #create a block device
+    dd if=/dev/zero of=${TMP}/test.img bs=1kB count=20480
     if [ $? -ne 0 ]; then
         echo "Failed to create loopback device image, please check disk space 
and re-run"
         return 1
-- 
1.8.1

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to