qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw
@ 2011-05-27 10:45 Feiran Zheng
  2011-05-27 10:47 ` Christoph Hellwig
  0 siblings, 1 reply; 7+ messages in thread
From: Feiran Zheng @ 2011-05-27 10:45 UTC (permalink / raw)
  To: qemu-devel; +Cc: hch

Patch on qemu-iotest.

005, test of creating 5TB images, not practical on raw format, so not run on it.

Signed-off-by: Fam Zheng <famcool@gmail.com>
---
 005 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/005 b/005
index 74537db..e086b6f 100755
--- a/005
+++ b/005
@@ -46,7 +46,7 @@ _supported_proto generic
 _supported_os Linux

 # vpc is limited to 127GB, so we can't test it here
-if [ "$IMGFMT" = "vpc" ]; then
+if [ "$IMGFMT" = "vpc" ] || [ "$IMGFMT" = "raw" ]; then
     _notrun "image format $IMGFMT does not support large image sizes"
 fi

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw
  2011-05-27 10:45 [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw Feiran Zheng
@ 2011-05-27 10:47 ` Christoph Hellwig
  2011-05-27 10:48   ` Feiran Zheng
  0 siblings, 1 reply; 7+ messages in thread
From: Christoph Hellwig @ 2011-05-27 10:47 UTC (permalink / raw)
  To: Feiran Zheng; +Cc: qemu-devel, hch

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw
  2011-05-27 10:47 ` Christoph Hellwig
@ 2011-05-27 10:48   ` Feiran Zheng
  2011-05-27 10:58     ` Christoph Hellwig
  0 siblings, 1 reply; 7+ messages in thread
From: Feiran Zheng @ 2011-05-27 10:48 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: qemu-devel

Does this mean one must have that large fs space?

On Fri, May 27, 2011 at 6:47 PM, Christoph Hellwig <hch@lst.de> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw
  2011-05-27 10:48   ` Feiran Zheng
@ 2011-05-27 10:58     ` Christoph Hellwig
  2011-05-28  4:51       ` Fam Zheng
  0 siblings, 1 reply; 7+ messages in thread
From: Christoph Hellwig @ 2011-05-27 10:58 UTC (permalink / raw)
  To: Feiran Zheng; +Cc: Christoph Hellwig, qemu-devel

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

No.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw
  2011-05-27 10:58     ` Christoph Hellwig
@ 2011-05-28  4:51       ` Fam Zheng
  2011-05-28  7:50         ` Christoph Hellwig
  0 siblings, 1 reply; 7+ messages in thread
From: Fam Zheng @ 2011-05-28  4:51 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: qemu-devel

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.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
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.
>
>



-- 
Best regards!
Fam Zheng

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw
  2011-05-28  4:51       ` Fam Zheng
@ 2011-05-28  7:50         ` Christoph Hellwig
  2011-05-28 14:35           ` Fam Zheng
  0 siblings, 1 reply; 7+ messages in thread
From: Christoph Hellwig @ 2011-05-28  7:50 UTC (permalink / raw)
  To: Fam Zheng; +Cc: Christoph Hellwig, qemu-devel

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw
  2011-05-28  7:50         ` Christoph Hellwig
@ 2011-05-28 14:35           ` Fam Zheng
  0 siblings, 0 replies; 7+ messages in thread
From: Fam Zheng @ 2011-05-28 14:35 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: qemu-devel

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.
>



-- 
Best regards!
Fam Zheng

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-05-28 14:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-27 10:45 [Qemu-devel] [PATCH] qemu-iotest: test 005, don't run on raw Feiran Zheng
2011-05-27 10:47 ` Christoph Hellwig
2011-05-27 10:48   ` Feiran Zheng
2011-05-27 10:58     ` Christoph Hellwig
2011-05-28  4:51       ` Fam Zheng
2011-05-28  7:50         ` Christoph Hellwig
2011-05-28 14:35           ` Fam Zheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).