LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-20-2009, 02:10 AM   #1
Basta
LQ Newbie
 
Registered: Jun 2004
Posts: 15

Rep: Reputation: 0
IOZone permissions fail


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?
 
Old 05-04-2009, 11:29 AM   #2
droneprime
LQ Newbie
 
Registered: Aug 2008
Location: /dev/null
Distribution: Gentoo at home. Everything at work.
Posts: 24

Rep: Reputation: 15
IOZone

This could be a problem with OSX communicating through Samba.

Have you tried this with a native Windows box running IOZone?

I've never had a problem with said configuration. The windows IOZone will create the file with whatever permissions are necessary.

Also, could you just create the file anyway, and just change the permissions after creation? chmod 777 temp.ioz
 
Old 05-04-2009, 02:33 PM   #3
Basta
LQ Newbie
 
Registered: Jun 2004
Posts: 15

Original Poster
Rep: Reputation: 0
You're right it IS a OS X/IOzone problem. If I do it under windows it works. I'm afraid I can't throw my Windows away then ... too bad.

Thanx for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IOzone filesystem benchmarker - a couple of questions JustAnAverageJoe Linux - Software 0 01-22-2009 01:02 PM
LXer: How To Measure Linux Filesystem I/O Performance With iozone LXer Syndicated Linux News 0 07-04-2008 01:00 PM
LXer: IOzone for filesystem performance benchmarking LXer Syndicated Linux News 0 07-03-2008 11:30 AM
IOZONE to target external storage BradRalston Linux - Software 1 05-15-2008 04:28 PM
Iozone vrahulv Linux - Software 0 01-17-2008 01:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration