
UNSOLVED
Create VMFS in uemcli
Hey,
I know that some where down the Unity 4.4 code we will be able to create VMFS6 datastores in unisphere, but I am told we should be able to do it via uemcli. I have been going over the command reference for uemcli, and in the create VMFS section, it has "-version", but it only has 3, or 5. Which is weird. Anyone have any experience with this? I did a esxi6.5 upgrade in the summer, and I would like to transition the datastores soon. I am on 4.3.1.1527731778 if that helps...
Thanks in advance!
Responses (6)
Solutions (0)
AndreD Dell
Moderator
•
239 Posts
1934
2
Posted November 27th, 2018 10:00
Hi again millsapjames,
Just upgraded a system to the same rev as you have:
uemcli -no /sys/soft/ver show -filter Version
1: Version = 4.3.1.1527731778
The option is definitely there for me on this code.
Could you check again to make sure you didn't overlook it and to make sure you checked on a Unity running 4.3.1.
Example here after upgrading to the same rev as you:
uemcli -no /stor/prov/vmware/vmfs create -help
/stor/prov/vmware/vmfs create [ -async ] -name [ -descr ] [ -type { primary | tc { -source | -sourceName } } ] [ { -pool | -poolName } ] [ -size ] [ -thin { yes | no } ] [ -sched [ -schedPaused { yes | no } ] ] [ -spOwner { spa | spb } ] [ -replDest { yes | no } ] [ -dataReduction { yes | no } ] [ -fastvpPolicy { startHighThenAuto | auto | highest | lowest } ] [ -vdiskHosts ] [ -snapHosts ] [ -version { 3 -blockSize { 1 | 2 | 4 | 8 } | 5 | 6 } ] [ -ioLimit ]
Creates a new VMware VMFS datastore.
[...truncated...]
[Optional] -version { 3 -blockSize { 1 | 2 | 4 | 8 } | 5 | 6 }
Specifies major version number of VMFS (VMware File System). Valid values are 3, 5 and 6. Default is 5.
[Possible usages]
1. 3 -blockSize { 1 | 2 | 4 | 8 }
VMFS major version is 3.
[...truncated...]
2. 5
VMFS major version is 5.
3. 6
VMFS major version is 6.
Thanks
Andre @ Dell EMC
Reply Many thanks for the help. Not sure I am formatting the command correctly, though...
uemcli -d xxx.xxx.xxx.xxx -u Local/sysadmin -p XXXXXX /stor/prov/vmware/vmfs create -name "TEST_6" -pool pool_1 -size 100G -thin yes -version 6 –vdiskHosts "Host_1,Host_2,Host_3,Host_4,Host_5,Host_6"
Storage system address: xxx.xxx.xxx.xxx
Storage system port: 443
HTTPS connection
Operation failed. Error code: 0x6000001
You do not have access to perform the requested operation. (Error Code:0x6000001)
Reply AndreD Dell
Moderator
•
239 Posts
1934
0
Posted December 2nd, 2018 23:00
Hi millsapjames,
Look at the error. Seems to be complaining about the user access.
Seems like you are using the VNX username for a Unity operation
Old habits?
"sysadmin" is not a valid username for Unity unless you have created that specifically with admin rights.
Once this is out of the way, we will look for other possible issues in your syntax.
Andre @ Dell EMC
Reply AndreD Dell
Moderator
•
239 Posts
1934
0
Posted December 6th, 2018 01:00
millsapjames, 4.4 has nothing to do with this as I see it.
I still think this is a user issue. That account doesn't seem to have permissions. So If I am correct, 4.4 wont change this.
Feel free to PM me so we can discuss a bit more.
Reply

AndreD Dell
Moderator
•
239 Posts
1934
0
Posted November 27th, 2018 00:00
Hi millsapjames,
The option should be there in 4.3.1..
Have a look at this KB: https://support.emc.com/kb/516823
I just tested in the lab on the current target version: 4.3.1.1525703027
uemcli -no /stor/prov/vmware/vmfs -help
(...only showing relevant section here...)
[Create]
/stor/prov/vmware/vmfs create [ -async ] -name [ -descr ] [ -type { primary | tc { -source | -sourceName } } ] [ { -pool | -poolName } ] [ -size ] [ -thin { yes | no } ] [ -sched [ -schedPaused { yes | no } ] ] [ -spOwner { spa | spb } ] [ -replDest { yes | no } ] [ -dataReduction { yes | no } ] [ -vdiskHosts ] [ -snapHosts ] [ -version { 3 -blockSize { 1 | 2 | 4 | 8 } | 5 | 6 } ] [ -ioLimit ]
You seem to be running a HotFix. But I am not aware of regressions regarding VMFS version there.
I'll try to install the same version you have and test again later. In the meantime, could you check again to see if you have this as shown above?
Thanks
Andre @ Dell EMC