LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "iozone -U" Problems on OpenSuse 10.1 and Cygwin! (https://www.linuxquestions.org/questions/linux-newbie-8/iozone-u-problems-on-opensuse-10-1-and-cygwin-665224/)

3ttt 08-25-2008 08:26 AM

"iozone -U" Problems on OpenSuse 10.1 and Cygwin!
 
Hi all,

I would like to use iozone with USB drives.
I have NO problem with SuSe 10.0, but I have problems with OpenSuse 10.1 and Cygwin.

For OpenSuSe 10.1 when I port a USB drives, I can access the mount directory and also see the additional line with /dev/sdb* in /etc/mtab.
I did try several ways to add a line in /etc/fstab as it shows in /etc/mtab but it doesn't work! Even I try to change it to several ways, for examples:
(1) /dev/sdb1 /media/USBdrive vfat rw,
(2) /dev/sdb1 /media/USBdrive subfs rw,fs=floppyfss,procuid,nodev,nosuid,sync 0 0

all above are fail!

For cygwin and also Windows XP, my USB drive is on drive f:\
It fails to use "iozone -U f:\"

Are there anybody know how to solve this problems?

Thanks a lot for your helps in advance

3ttt 08-25-2008 03:00 PM

Mount Problems for IOZONE test under OpenSuse and Cygwin
 
* OpenSuSe 10.1, here is the configuration in /etc/fstab:
/dev/sda6 / reiserfs acl,user_xattr 1 1
/dev/sda1 /windows/C ntfs ro,users,gid=users,umask=0022,nls=utf8 0 0
/dev/sda2 /windows/D ntfs defaults 0 0
/dev/sda5 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
/dev/cdrecorder /media/ subfs noauto,fs=cdfss,rw,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/cdrom /media/cdrom subfs auto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/dvd /media/dvd subfs auto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
none /subdomain subdomainfs noauto 0 0

after plug-in usb drive, /etc/mtab shows:
/dev/sda6 / reiserfs rw,acl,user_xattr 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
debugfs /sys/kernel/debug debugfs rw 0 0
udev /dev tmpfs rw 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
/dev/sda1 /windows/C ntfs ro,noexec,nosuid,nodev,gid=100,umask=0022,nls=utf8 0 0
/dev/sda2 /windows/D ntfs rw 0 0
securityfs /sys/kernel/security securityfs rw 0 0
/dev/sdb1 /media/USBDRIVE vfat rw,nosuid,nodev,noatime,flush,uid=1000,utf8,shortname=lower 0 0

Then I can access, read and write /media/USBDRIVE

but when I use ./iozone -U /media/USBDRIVE, it fails with the message of

mount: can't find /media/USBDRIVE/ in /etc/fstab or /etc/mtab

* cygwin and also under the console of Windows XP, after I plug my USB drive it is on drive f:\

- Under cygwin, I use mount f:/ /media/USBDRIVE
after that I can access /media/USBDRIVE
but when I call "iozone -U /media/USBDRIVE", it does not work!

- Nether do on Windows with "iozone -U f:\"

How can I solve theses problems?


All times are GMT -5. The time now is 04:27 PM.