If you are using Cloud Storage Gateway 1.0.36 or later, check for the following causes and use the relevant solutions when you fail to create a share in the gateway console.

Causes

Version 1.0.36 and later 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 cannot pass the SSE4 instruction set through to virtual machines. As a result, you may fail to create a share in the gateway console. When this error occurs, the following error message appears: HFSMount Error on /xx/xxx/xx/xx.

Solutions

  1. Check whether your host supports the SSE4 instruction set.

    If your host runs the Linux operating system, run the following command to check whether it supports the SSE4 instruction set:

    cat /proc/cpuinfo | grep sse4

    If the result contains sse4, it indicates that the CPU supports the SSE4 instruction set.

  2. Use KVM to pass the SSE4 instruction set through to the virtual machine.
    Note By default, VMware vSphere and Hyper-V can pass the CPU properties through to the virtual machine. You do not need to configure VMware vSphere or Hyper-V.
    1. Stop the CSG virtual machine.
    2. Add the following configuration item to the configuration file of the virtual machine:
      <cpu mode='host-passthrough'></cpu>
    3. Restart the virtual machine to apply the configuration.