I'd like to map my NAS performance using IOzone. However if I perform a test it fails. The NAS has FreeNAS installed which is based on FreeBSD 7.1. I'm running IOZone on OSX which is connected to the NAS through as Samba share. When I run a test I get the following error:
Code:
~ Bas$ ./Temp/iozone3_321/src/current/iozone -Rab ./Temp/iperf-170409-OSX-1GW-2HDD-RAID1.xls -i 0 -i 1 -+u -f /Volumes/Data/Temp/temp.ioz -y 64k -q 64k -n 64k -g 4G -z
Iozone: Performance Test of File I/O
Version $Revision: 3.321 $
Compiled for 32 bit mode.
Build: macosx
Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
Al Slater, Scott Rhine, Mike Wisner, Ken Goss
Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy,
Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root.
Run began: Fri Apr 17 09:41:16 2009
Excel chart generation enabled
Auto Mode
CPU utilization Resolution = 0.000 seconds.
CPU utilization Excel chart enabled
Using Minimum Record Size 64 KB
Using Maximum Record Size 64 KB
Using minimum file size of 64 kilobytes.
Using maximum file size of 4194304 kilobytes.
Cross over of record size disabled.
Command line used: ./Temp/iozone3_321/src/current/iozone -Rab ./Temp/iperf-170409-OSX-1GW-2HDD-RAID1.xls -i 0 -i 1 -+u -f /Volumes/Data/Temp/temp.ioz -y 64k -q 64k -n 64k -g 4G -z
Output is in Kbytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 Kbytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
random random bkwd record stride
KB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread
64 64 13849 26403 32389 32160
128 64
Can not create temp file: /Volumes/Data/Temp/temp.ioz
creat: Permission denied
If I look in the FreeNAS Temp folder I can see that the temp file was created without permissions:
Code:
~ Bas$ ls -al /Volumes/Data/Temp/temp.ioz
---------- 1 Bas staff 0 Apr 17 09:41 /Volumes/Data/Temp/temp.ioz
I don't understand why it creates the file without permissions. If I manually copy a file to the Share is has 666 rights.
Is anyone familiar with this problem? Does anyone knows a solution to this?