four_TB=$(_math "2^42")
for del in 1 512 1024 1025 2048 4096; do
ddseek=$(_math "$four_TB - $del")
- echo "Trying to make (2 TB - $del) B long xfs fs image"
+ echo "Trying to make (4 TB - $del) B long xfs fs image"
rm -f "$testfile"
dd if=/dev/zero "of=$testfile" bs=1 count=0 seek=$ddseek \
>/dev/null 2>&1 || echo "dd failed"
QA output created by 259
-Trying to make (2 TB - 1) B long xfs fs image
-Trying to make (2 TB - 512) B long xfs fs image
-Trying to make (2 TB - 1024) B long xfs fs image
-Trying to make (2 TB - 1025) B long xfs fs image
-Trying to make (2 TB - 2048) B long xfs fs image
-Trying to make (2 TB - 4096) B long xfs fs image
+Trying to make (4 TB - 1) B long xfs fs image
+Trying to make (4 TB - 512) B long xfs fs image
+Trying to make (4 TB - 1024) B long xfs fs image
+Trying to make (4 TB - 1025) B long xfs fs image
+Trying to make (4 TB - 2048) B long xfs fs image
+Trying to make (4 TB - 4096) B long xfs fs image