Mount your HA-NAS via a CIFS share

Wissensdatenbanken

Mount your HA-NAS via a CIFS share


Icons/System/eye-open Created with Sketch. 449 Ansichten 23.10.2025 Cloud / NAS-HA

Objective

Find out how to configure and mount an OVHcloud HA-NAS storage space using CIFS protocol.

Requirements

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 PowerShell icon at the bottom of the screen in the taskbar.
  • Windows Server 2016/2019/2022/2025: Click on the menu Start, then on the Windows PowerShell icon.

Then run the following command:

net use z: \\CIFS_SERVER_IP\CIFS_PATH

Example

  • CIFS mounting for a NAS-HA:
net use z: \\10.16.101.8\zpool-000206_PARTITION_NAME_1

The SMB/CIFS user is nobody. Changing permissions with this user may generate conflicts with existing NFS permissions.

The following error messages may appear:

System error 1272 has occurred.

You can't access this shared folder because your organization's security policies block unauthenticated guest access. These policies help protect your PC from unsafe or malicious devices on the network.
System error 3227320323 has occurred.

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:

mount -t cifs -o uid=root,gid=100,dir_mode=0700,username=root,password= //IP_SERVEUR_CIFS/CHEMIN_CIFS /mnt/FolderMount

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.

Zugehörige Artikel