* problems writing on windows
@ 2013-01-10 18:00 Carl Zwanzig
2013-01-10 18:27 ` Bruce Cran
0 siblings, 1 reply; 3+ messages in thread
From: Carl Zwanzig @ 2013-01-10 18:00 UTC (permalink / raw)
To: fio@vger.kernel.org
Hello,
I'm having what sounds like the same problem reported by Dallas Clement back in April- writes to a physical drive don't seem to do anything:
C:\Users\Administrator>"\Program Files\fio\fio.exe" --name asd --filename=\\.\PhysicalDrive3 --rw=write --size=1g --bs=64k --thread
asd: (g=0): rw=write, bs=64K-64K/64K-64K/64K-64K, ioengine=windowsaio, iodepth=1
fio-2.0.12.2
Starting 1 thread
asd: (groupid=0, jobs=1): err= 0: pid=2108: Thu Jan 10 09:46:42 2013
cpu : usr=0.00%, sys=0.00%, ctx=0, majf=0, minf=0
IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
issued : total=r=0/w=1/d=0, short=r=0/w=0/d=0
Run status group 0 (all jobs):
C:\Users\Administrator>
Read works as expected (there may be a bug in the ETA display but I'm ignoring that right now). Using fio-2.0.12.2 on windows 2008, running in a cmd box. Unfortunately, I don't have windows dev tools readily available, so I'd prefer to stay out of the code. Thoughts?
Thanks,
z!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: problems writing on windows
2013-01-10 18:00 problems writing on windows Carl Zwanzig
@ 2013-01-10 18:27 ` Bruce Cran
2013-01-10 19:14 ` Carl Zwanzig
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Cran @ 2013-01-10 18:27 UTC (permalink / raw)
To: Carl Zwanzig; +Cc: fio@vger.kernel.org
On 10/01/2013 18:00, Carl Zwanzig wrote:
> I'm having what sounds like the same problem reported by Dallas Clement back in April- writes to a physical drive don't seem to do anything
I don't know why bits of the output are missing - in 2.0.12.2 I'd expect
an error message and a summary line at the bottom to be displayed.
I suspect the problem is that Windows blocks writes to areas of a raw
disk which contain volumes.
--
Bruce Cran
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: problems writing on windows
2013-01-10 18:27 ` Bruce Cran
@ 2013-01-10 19:14 ` Carl Zwanzig
0 siblings, 0 replies; 3+ messages in thread
From: Carl Zwanzig @ 2013-01-10 19:14 UTC (permalink / raw)
To: Bruce Cran; +Cc: fio@vger.kernel.org
> From: Bruce Cran [mailto:bruce@cran.org.uk]
> Sent: Thursday, January 10, 2013 10:27 AM
> I suspect the problem is that Windows blocks writes to areas of a raw
> disk which contain volumes.
Almost. (z slaps head, should have checked this)
In Server Manager/Disk Management, Windows had the disks marked "offline". Setting the disk online, which makes it appear there as "not initialized", allows writing. Funny that you can read from an offline disk w/o error.
(Also, just setting the disk online with diskpart does not do it, had to use the GUI. Not going to investigate that at the moment.)
Is there any convenient way for fio to check that status and report an error?
Thanks,
z!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-10 19:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 18:00 problems writing on windows Carl Zwanzig
2013-01-10 18:27 ` Bruce Cran
2013-01-10 19:14 ` Carl Zwanzig
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.