Has anyone seen this below error while trying to upgrade VMFS Datastore from version 5 to 6 using Update-VmfsDatastore cmdlet?
============================
2019-03-12T06:46:02 [Preflight Check] DS-TEMP is of VMFS 5 type
2019-03-12T06:46:03 [Preflight Check] checking Datastores capacity
2019-03-12T06:46:03 [Preflight Check] DS-TEMP having Capacity : 6291200 MB Greater or Equal than DS-Source capacity : 6291200 MB
Update-VmfsDatastore : Cannot validate argument on parameter 'Id'. The argument is null or empty. Provide an argument that is not null or empty, and
then try the command again.
At line:1 char:1
+ Update-VmfsDatastore -Datastore $source -TemporaryDatastore $temp -Ta ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Update-VmfsDatastore], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Update-VmfsDatastore
============================
Depends a bit of what you have in $source.
Did you use the name (string) of the datastore or the result of a Get-Datastore?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
$source = Get-Datastore "DS-Source"
$temp = Get-Datastore "DS-TEMP"
And you are sure there are single objects in both variables?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
yes, the variables return only a single Datastore object.
I'm afraid that I can't recreate the issue.
Which PowerCLI version and PowerShell version are you using?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
VMware PowerCLI 11.0.0 build 10380590
PowerShell Version:
Major Minor Build Revision
----- ----- ----- --------
5 1 15063 1631
The actual length of Datastores names is 23 characters, not sure if that is causing the issue?
I don't think so, afaik the limit is 42 characters.
I would suggest to open a SR.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
we shortened the DS names to be sure but still no luck..
Another user reported a similar issue, so I'd recommend that you follow LucD's recomendation to open a SR.
see Upgrade to vmfs 6 using Update-VmfsDatastore
André
Hi
I have exactly the same problem so was wondering if anyone had any further information