Re: [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw

2011-05-28 Thread Fam Zheng
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  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.
>



-- 
Best regards!
Fam Zheng



Re: [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw

2011-05-28 Thread Christoph Hellwig
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.



Re: [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw

2011-05-27 Thread Fam Zheng
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)
--- 005.out 2011-05-28 11:30:51.0 +0800
+++ 005.out.bad 2011-05-28 12:46:04.0 +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=536870912

 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
Failures: 005
Failed 1 of 1 tests


On Fri, May 27, 2011 at 6:58 PM, Christoph Hellwig  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.
>
>



-- 
Best regards!
Fam Zheng



Re: [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw

2011-05-27 Thread Christoph Hellwig
On Fri, May 27, 2011 at 06:48:49PM +0800, Feiran Zheng wrote:
> Does this mean one must have that large fs space?

No.




Re: [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw

2011-05-27 Thread Feiran Zheng
Does this mean one must have that large fs space?

On Fri, May 27, 2011 at 6:47 PM, Christoph Hellwig  wrote:
> On Fri, May 27, 2011 at 06:45:03PM +0800, Feiran Zheng wrote:
>> Patch on qemu-iotest.
>>
>> 005, test of creating 5TB images, not practical on raw format, so not run on 
>> it.
>
> It's perfectly fine on raw, just try it.
>
>



-- 
Best regards!
Fam Zheng



Re: [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw

2011-05-27 Thread Christoph Hellwig
On Fri, May 27, 2011 at 06:45:03PM +0800, Feiran Zheng wrote:
> Patch on qemu-iotest.
> 
> 005, test of creating 5TB images, not practical on raw format, so not run on 
> it.

It's perfectly fine on raw, just try it.