diff mbox

qemu-iotest: test 005, don't run on raw

Message ID BANLkTik1QDjwb3pAr18Y_M+1La_4=w1T7w@mail.gmail.com
State New
Headers show

Commit Message

Feiran Zheng May 28, 2011, 4:51 a.m. UTC
But it says I can't create a 5000G raw image, this is the output of
`./check 005` (with qemu-img version 0.14.50)

IMGFMT        -- raw
IMGPROTO      -- file
PLATFORM      -- Linux/i686 localhost 2.6.37-ARCH

005	 - output mismatch (see 005.out.bad)
Failures: 005
Failed 1 of 1 tests


On Fri, May 27, 2011 at 6:58 PM, Christoph Hellwig <hch@lst.de> wrote:
> On Fri, May 27, 2011 at 06:48:49PM +0800, Feiran Zheng wrote:
>> Does this mean one must have that large fs space?
>
> No.
>
>

Comments

Christoph Hellwig May 28, 2011, 7:50 a.m. UTC | #1
On Sat, May 28, 2011 at 12:51:04PM +0800, Fam Zheng wrote:
> But it says I can't create a 5000G raw image, this is the output of
> `./check 005` (with qemu-img version 0.14.50)

Somewhat confusingly qemu-img converts any EFBIG return to this
message.  For some reason you have a really crappy filesystem that
doesn't allow 5TB files, I though that had died out long ago.

If I run it on XFS it works just fine.
Feiran Zheng May 28, 2011, 2:35 p.m. UTC | #2
I get it. I have ext3 so I can only have 2TB file.
Thank you.

On Sat, May 28, 2011 at 3:50 PM, Christoph Hellwig <hch@lst.de> wrote:
> On Sat, May 28, 2011 at 12:51:04PM +0800, Fam Zheng wrote:
>> But it says I can't create a 5000G raw image, this is the output of
>> `./check 005` (with qemu-img version 0.14.50)
>
> Somewhat confusingly qemu-img converts any EFBIG return to this
> message.  For some reason you have a really crappy filesystem that
> doesn't allow 5TB files, I though that had died out long ago.
>
> If I run it on XFS it works just fine.
>
diff mbox

Patch

--- 005.out	2011-05-28 11:30:51.000000000 +0800
+++ 005.out.bad	2011-05-28 12:46:04.000000000 +0800
@@ -1,13 +1,12 @@ 
 QA output created by 005

 creating large image
+qemu-img: The image size is too large for file format 'raw'
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=5368709120000

 small read
-read 4096/4096 bytes at offset 1024
-4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+read failed: Input/output error

 small write
-read 4096/4096 bytes at offset 8192
-4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+read failed: Input/output error
 *** done