All of lore.kernel.org
 help / color / mirror / Atom feed
* Run FIO on a Windows Partition
@ 2014-08-04  0:12 Ritchie Babaylan
  2014-08-07 21:28 ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Ritchie Babaylan @ 2014-08-04  0:12 UTC (permalink / raw)
  To: fio@vger.kernel.org

Hi,

I am just curios if FIO can test a Windows partition, say F: as the assigned drive letter.
What would be the correct syntax do I need to put on a "filename" parameter?
Do I need to use the "directory" parameter instead?

[job1]
ioengine=windowsaio
iodepth=4
rw=write
filename=F:

Btw, I am using the latest FIO v2.1.10 (32bit) version on Windows 7 (32bit).

�
Thanks,
�
Ritchie Babaylan
Advance CORE Engineering
BiTMICRO Networks, Inc.



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

* Re: Run FIO on a Windows Partition
  2014-08-04  0:12 Run FIO on a Windows Partition Ritchie Babaylan
@ 2014-08-07 21:28 ` Jens Axboe
  2014-08-07 23:05   ` Bruce Cran
  0 siblings, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2014-08-07 21:28 UTC (permalink / raw)
  To: Ritchie Babaylan, fio@vger.kernel.org; +Cc: Bruce Cran

On 08/03/2014 06:12 PM, Ritchie Babaylan wrote:
> Hi,
> 
> I am just curios if FIO can test a Windows partition, say F: as the assigned drive letter.
> What would be the correct syntax do I need to put on a "filename" parameter?
> Do I need to use the "directory" parameter instead?
> 
> [job1]
> ioengine=windowsaio
> iodepth=4
> rw=write
> filename=F:
> 
> Btw, I am using the latest FIO v2.1.10 (32bit) version on Windows 7 (32bit).

Bruce might know (CC'ed).

-- 
Jens Axboe



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

* Re: Run FIO on a Windows Partition
  2014-08-07 21:28 ` Jens Axboe
@ 2014-08-07 23:05   ` Bruce Cran
  2014-08-12  3:52     ` Ritchie Babaylan
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Cran @ 2014-08-07 23:05 UTC (permalink / raw)
  To: Jens Axboe, Ritchie Babaylan, fio@vger.kernel.org

On 8/7/2014 3:28 PM, Jens Axboe wrote:
> On 08/03/2014 06:12 PM, Ritchie Babaylan wrote:
>> I am just curios if FIO can test a Windows partition, say F: as the assigned drive letter.
>> What would be the correct syntax do I need to put on a "filename" parameter?
>> Do I need to use the "directory" parameter instead?

Specifying F: (or F:\) would test the filesystem, not the partition. I'm 
not aware of any way to easily test the area of disk on which the 
partition resides - you'd need to test the disk \\.\PhysicalDriveX and 
seek to the starting sector.  However, Windows prevents writes to areas 
of a disk which contains filesystems, so you would only be able to read 
and not write.

-- 
Bruce


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

* RE: Run FIO on a Windows Partition
  2014-08-07 23:05   ` Bruce Cran
@ 2014-08-12  3:52     ` Ritchie Babaylan
  0 siblings, 0 replies; 4+ messages in thread
From: Ritchie Babaylan @ 2014-08-12  3:52 UTC (permalink / raw)
  To: 'Bruce Cran', Jens Axboe, fio@vger.kernel.org

Thanks Bruce. I already figure it out. Below is the working config I used.

[job1]
ioengine=windowsaio
iodepth=4
rw=write
filename=\\.\F\:


 
Thanks,
 
Ritchie Babaylan
Advance CORE Engineering
BiTMICRO Networks, Inc.


-----Original Message-----
From: Bruce Cran [mailto:bruce@cran.org.uk] 
Sent: Friday, August 08, 2014 7:05 AM
To: Jens Axboe; Ritchie Babaylan; fio@vger.kernel.org
Subject: Re: Run FIO on a Windows Partition

On 8/7/2014 3:28 PM, Jens Axboe wrote:
> On 08/03/2014 06:12 PM, Ritchie Babaylan wrote:
>> I am just curios if FIO can test a Windows partition, say F: as the assigned drive letter.
>> What would be the correct syntax do I need to put on a "filename" parameter?
>> Do I need to use the "directory" parameter instead?

Specifying F: (or F:\) would test the filesystem, not the partition. I'm not aware of any way to easily test the area of disk on which the partition resides - you'd need to test the disk \\.\PhysicalDriveX and seek to the starting sector.  However, Windows prevents writes to areas of a disk which contains filesystems, so you would only be able to read and not write.

--
Bruce


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

end of thread, other threads:[~2014-08-12  3:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-04  0:12 Run FIO on a Windows Partition Ritchie Babaylan
2014-08-07 21:28 ` Jens Axboe
2014-08-07 23:05   ` Bruce Cran
2014-08-12  3:52     ` Ritchie Babaylan

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.