If the gateway version is 1.0.36 or later, use the following steps to fix the share creation failure.
Cause
Starting from V1.0.36, file gateways allow you to use the SSE4 instruction set to improve the performance. Currently, major CPUs, such as Intel and AMD, all support the SSE4 instruction set. However, in a local virtual environment, you may not have enabled SSE4 instruction pass-through. As a result, the share failed to created. When this error occurs, the following error message appears: HFSMount Error on /xx/xxx/xx/xx.
Solution
Check whether your host CPU supports the SSE4 instruction set.
If you are using Linux, run the following command to check for SSE4 support.
cat /proc/cpuinfo | grep sse4
If the output contains sse4, it indicates that the host CPU supports the SSE4 instruction set.
Use KVM to pass the SSE4 instruction set through.
NoteBy default, CPU pass-through is enabled by default on VMware vSphere and Hyper-V
Stop the gateway virtual machine.
Add the following configuration item to the configuration file of the virtual machine:
<cpu mode='host-passthrough'></cpu>
Restart the virtual machine to apply the configuration.