Skip to Main Content

Hardware

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Mapping SMB shares

user13096565Aug 25 2016 — edited Aug 30 2016

I'm trying to run VDBench to test the performance of my NAS.  I am running vdbench remotely through a python script that uses the pywinrm library.  There aren't any problems with that bit.  The problem is that Windows security contexts are making this testing automation difficult.  If I map SMB shares and then run my script, vdbench cannot find the mapped shares.  The only way this will work is if I modify the VDBench.bat file and insert lines into it to "net use <drive letter>: \\some.host\share /user:admin somepassword". 

In a way I guess this makes sense albeit incredibly inconvenient but I guess that's security for you. 

Then I discovered the mount parameter for FD in the param file.  Unfortunately this only works for NFS mounts.

Then I discovered the startcmd parameter.  Unfortunately this only runs before the start of a performance run, *after* VDBench has checked that the test directories exist. 

Is there any way to achieve what I'm trying to do without modifying the VDBench.bat file?

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 27 2016
Added on Aug 25 2016
5 comments
1,563 views