Having an issue with the Unity VSA, Followed the installation instructions and documents on this site to set everything up for VVOL's File. I can get everything created except the datastore when it is presented, it's not writable. I get an error any time I try to copy a file or anything to it that basically says "cannot write file".
I saw the post below under troubleshooting to change the settings for NFS mount limits, heap size, and heap max. I only have 3 NFS mounts on my hosts now, so I don't think this would apply, but I did it anyway, rebooted my 6 hosts, still having the same problem. I tried removing the datastore, removing the VSA from the storage providers in Vcenter, re-registering and create the data store again, still no luck.
Everything is Vsphere 6.0U2, using VCSA. I can scrap VVOLs and setup straight NFS on Unity and mount datastores with no issue, only when I try VVOLS does this happen, any ideas?
File VVol creation failure—Failed to create directory
When deploying a File VVol in vSphere and the VMware limit of eight maximum NFS datastore mounts is exceeded, vSphere returns a vague error message such as:
This error message is less intuitive than the vSphere error that displays when deploying an NFS datastore that exceeds this limit: NFS has reached the maximum number of supported volumes.
The hosts have all been added for access and on the appropriate networks. Unless I am missing something with VVOL's, I don't have an option to specifically allow root access like you would with NFS.
- This is the VSA community edition. If not, you are asking the wrong people / wrong place.
If this is a VSA Professional Edition, you should open an SR for this.
- From your notes here, seems like we are talking file vVOLs, not block.
So I have just created a few file vVOLs here on different systems (and I have created a dummy folder on them from the VMware side to test access), just to see what steps you may have missed.
A few things to look at (I don’t know exactly what you are using to test write access, but here goes):
- Like Wen stated:
The hosts were provided access when the vVOL Datastore was created on the Unity side?
- In vSphere, in the datastores section, does the datastore show up normal or with a red "inaccessible" or "inactive" symbol?
What about in your specific host > related objects > datastores?
- If you go into the datastore directly (datastores > Manage > files) can you create a dummy folder or you also get the write error here?
- If all config is ok (including Mani’s point above), remove the storage provider and add again without touching anything else (leave the datastore mounted on the hosts). Refresh / rescan. See how it goes.
I started over from scratch today to make sure all the ideas so far have been tried, so this is basically a fresh install. I unregistered the old VSA from Vcenter, made sure any datastore was removed, and then removed all the hosts from the VSA, deleted it, and redeployed. Here is what I have after doing that.
-This is for Community Edition.
-All VVOL’s, no block.
-All 6 hosts have access to the VMware Datastore for File. It shows File and FC in the right column, but only using File, I’m guessing that is a carryover from the physical device OS. I also made sure to ignore the networks I am not using for storage communication (Vmotion VLAN in my case) on each host.
-VASA provider shows online and active, there are no port restrictions, cert was accepted.
-Vcenter shows the volume after I add it, but it shows zero bytes for capacity, free space, provisioned space. It does not show inaccessible however. There is an alarm on the datastore from Vsphere HA trying to write its files to it, which it can’t since it’s not writable.
-NTP server is setup identical on all hosts and VSA, time is same on everything.
Going to the datastore and trying to create a folder, or upload a file, fails with the original errors in my post.
so the other known cause could be either PE (Protocol Endpoint) or VASA 2.0 registration. try to delete all and recreate again. If still fails, unity vsa logs and esx logs need to be reviewed.
chenw87
43 Posts
4378
0
Posted May 23rd, 2016 07:00
Can you check the Host Access tab of the datastore and ensure your host has been provided with read/write, allow root access?