-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running on SSD gives error: ERROR: Could not obtain partition info (error code: 1) #16
Comments
Sorry I missed this when it was first filed. Is this still reproducing? |
Yes. Diskspd version number is 2.0.15 (2015/01/09) |
I'm asking around. In the meantime, can you try against the physical device as opposed to the :? get-volume c | get-partition | get-disk And use # as the target. If in powershell, quote the #, ala `#20 |
Using #0 (which get-volume c | get-partition | get-disk reports is the number of the SSD drive letter) works. I see no errors and diskspd appears to function as intended. |
* properly align IO priority hint to 8 bytes as req. * use iB notation for text result output (target size and bandwidth) * use IOCTL_DISK_GET_LENGTH_INFO which supports GPT (issue #16) * update version spec to in-flight 2.0.18a
Fixed in the 2.0.18a push. DISKSPD was using a very old IOCTL to query out the partition size, one which only worked for MBR, not GPT. |
Error appears to be generated from the call to DeviceIoControl on line 81 in. IORequestGenerator/IORequestGenerator.cpp
Error code 1 is ERROR_INVALID_FUNCTION.
I have an up-to-date Windows 10 machine. Running x86 and amdx64 both give the same result. The error only occurs if I try to use diskspd on my SSD, other drives have no issue.
Drive is a Samsung SSD 850 EVO 1TB. I'm using a standard Microsoft driver for it (driver details reports disk.sys, EhStorClass.sys, and partmgr.sys are the files for the driver) at version 10.0.10586.0.
The text was updated successfully, but these errors were encountered: