Mount your HA-NAS via a CIFS share
Objective
Find out how to configure and mount an OVHcloud HA-NAS storage space using CIFS protocol.
Requirements
- a Dedicated Server or a VPS or a Public Cloud Instance
- a HA-NAS solution
Instructions
Settings for Microsoft Windows
- Windows Server 2008: Click on the menu
Start>All the programs>Accessories>Command prompt. - Windows Server 2012: Click the
Windows PowerShellicon at the bottom of the screen in the taskbar. - Windows Server 2016/2019/2022/2025: Click on the menu
Start, then on theWindows PowerShellicon.
Then run the following command:
Example
- CIFS mounting for a NAS-HA:
The SMB/CIFS user is nobody. Changing permissions with this user may generate conflicts with existing NFS permissions.
The following error messages may appear:
To correct these errors, refer to the official Microsoft documentation :
How to enable insecure guest logons in SMB2 and SMB3.
Control SMB signing behavior.
Settings for Linux
Open an SSH connection to your server and type the following command:
In order to mount shares by host name (as opposed to IP addresses), the mount.cifs utility is required. It is usually part of the cifs-utils package.
mount.cifs is a wrapper that resolves host names and adds the parameter ip= to the mount parameters transmitted to the kernel.
Without mount.cifs, attempts to mount by host name will result in the following error:
text
mount: /mnt/FolderMount: mount(2) system call failed: No route to host.
dmesg(1) may have more information after failed mount system call.
Go further
NAS - Frequently Asked Questions
If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for assisting you on your specific use case of your project.
Join our community of users.