From: Jens Axboe <jaxboe@fusionio.com>
To: Stefano Doni <stefano.doni@gmail.com>
Cc: fio@vger.kernel.org
Subject: Re: Error while running fio on a samba share
Date: Mon, 31 Jan 2011 11:23:29 +0100 [thread overview]
Message-ID: <4D468DA1.90106@fusionio.com> (raw)
In-Reply-To: <AANLkTim=h7b8_FRy8D=iYpXs6gdGp7_ReN8Gw5VaMQ0K@mail.gmail.com>
On 2011-01-28 23:34, Stefano Doni wrote:
> Hi Jens,
>
> First of all many thanks for this great tool!
>
>
> I wanted to test the performance of a samba network share with fio,
> file server access pattern.
>
> I can execute it on a local directory without any issue. Too bad, that
> is not the case when I run fio on a directory mounted from a samba
> share.
>
> I get this error:
>
>
> ste@ubuntu:~/.gvfs/fio on localhost$ ~/Downloads/fio-1.50/fio
> ~/iometer-file-access-server.ro --timeout=120
> iometer: (g=0): rw=randread, bs=512-64K/512-64K, ioengine=sync, iodepth=64
> fio 1.50
> Starting 1 process
> fio: pid=4999, err=22/file:filesetup.c:495, func=open(iometer.1.0),
> error=Invalid argument
>
>
> Run status group 0 (all jobs):
>
>
> I even tried to use a normal sync engine, but the error is still there.
It looks like O_DIRECT is not supported for CIFS, since it fails on the
open. It will probably work if you change the direct=1 to direct=0 in
the job file you use.
--
Jens Axboe
prev parent reply other threads:[~2011-01-31 10:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-28 22:34 Error while running fio on a samba share Stefano Doni
2011-01-31 10:23 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D468DA1.90106@fusionio.com \
--to=jaxboe@fusionio.com \
--cc=fio@vger.kernel.org \
--cc=stefano.doni@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox