* Error while running fio on a samba share
@ 2011-01-28 22:34 Stefano Doni
2011-01-31 10:23 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Stefano Doni @ 2011-01-28 22:34 UTC (permalink / raw)
To: fio
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.
Any idea?
Many thanks in advance.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Error while running fio on a samba share
2011-01-28 22:34 Error while running fio on a samba share Stefano Doni
@ 2011-01-31 10:23 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2011-01-31 10:23 UTC (permalink / raw)
To: Stefano Doni; +Cc: fio
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-31 10:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-28 22:34 Error while running fio on a samba share Stefano Doni
2011-01-31 10:23 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox