NimblePowerShell icon indicating copy to clipboard operation
NimblePowerShell copied to clipboard

Error Creating volume- code: SMeinval

Open brfried opened this issue 11 years ago • 4 comments

@jrich523 I am trying to create a Volume and I am getting the error below.

PS C:\Windows\system32> New-NSVolume -Name BRFtest -Size 1tb -Description "Bridgette's Powershell Test" -PerformancePolicy "VMware ESX 5"

New-NSVolume : Error Creating volume BRFtest! code: SMeinval At line:1 char:1

  • New-NSVolume -Name BRFtest -Size 1tb -Description "Bridgette's Powers ...
  • - CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    - FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-NSVolume
    
    

Loaded Module information: PS C:\Windows\system32> (Get-Module Nimble).Version.build 20140407 PS C:\Windows\system32> (Get-Module Nimble).Version.revision 1024

Runnning PS Version : 5.0.9926.0

I also tried it step by step and when I enter the performance policy I see the same.

PS C:\Windows\system32> New-NSVolume -Name BRFtest

cmdlet New-NSVolume at command pipeline position 1 Supply values for the following parameters: Size: 1 PerformancePolicy: VMware ESX 5 New-NSVolume : Error Creating volume BRFtest! code: SMeinval At line:1 char:1

  • New-NSVolume -Name BRFtest
  • - CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    - FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-NSVolume
    

brfried avatar Apr 01 '15 00:04 brfried

Forgot to mention we are running Nimble currently installed software version 2.2.5.0-197583-opt

brfried avatar Apr 01 '15 00:04 brfried

Is there any update on this? I'm also having the same issue. Can you please help us? @jrich523

alexbonsol avatar Jun 30 '15 23:06 alexbonsol

Basically the problem is that they've changed the data structures (apparently a lot) between builds. So in order to get this to work a DLL would have to be generated for each firmware out there.

There is some grumblings that a REST api is on its way so at this point I've stopped working on it since adding logic to generate DLLs on the fly, or have some sort of library will be just too much work for something that will likely vanish in the near future.

It certainly wouldnt hurt if you bugged your AE's about REST :)

jrich523 avatar Jul 01 '15 16:07 jrich523

That makes sense. Thanks @jrich523 for the info! I appreciate it.

alexbonsol avatar Jul 01 '15 16:07 alexbonsol