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