---
title: "Mount your HA-NAS via a CIFS share"
description: "This guide shows you how to mount your HA-NAS using CIFS protocol"
url: https://docs.ovhcloud.com/en/guides/storage-and-backup/file-storage/ha-nas/nas-cifs
lang: en
lastUpdated: 2025-10-23
---
# 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](https://www.ovhcloud.com/en-gb/bare-metal/) **or** a [VPS](https://www.ovhcloud.com/en-gb/vps/) **or** a [Public Cloud Instance](https://www.ovhcloud.com/en-gb/public-cloud/)
- a [HA-NAS solution](https://www.ovhcloud.com/en-gb/storage-solutions/nas-ha/)

## Instructions

### Settings for Microsoft Windows

- **Windows Server 2008**: Click on the menu <code className="action">Start</code> > <code className="action">All the programs</code> > <code className="action">Accessories</code> > <code className="action">Command prompt</code>.
- **Windows Server 2012**: Click the <code className="action">Windows PowerShell</code> icon at the bottom of the screen in the taskbar.
- **Windows Server 2016/2019/2022/2025**: Click on the menu <code className="action">Start</code>, then on the <code className="action">Windows PowerShell</code> icon.

Then run the following command:

```bash
net use z: \\CIFS_SERVER_IP\CIFS_PATH
```

#### Example

- CIFS mounting for a NAS-HA:

```bash
net use z: \\10.16.101.8\zpool-000206_PARTITION_NAME_1
```

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

The following error messages may appear:

```console
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.
```

```console
System error 3227320323 has occurred.
```

:::info
To correct these errors, refer to the official Microsoft documentation :

[How to enable insecure guest logons in SMB2 and SMB3](https://learn.microsoft.com/en-gb/windows-server/storage/file-server/enable-insecure-guest-logons-smb2-and-smb3?tabs=powershell)
.

[Control SMB signing behavior](https://learn.microsoft.com/en-gb/windows-server/storage/file-server/smb-signing?tabs=powershell)
.
:::
### Settings for Linux

Open an SSH connection to your server and type the following command:

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

:::warning
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](/en/guides/storage-and-backup/file-storage/ha-nas/nas-faq.md)

If you need training or technical assistance to implement our solutions, contact your sales representative or click on [this link](https://www.ovhcloud.com/en-gb/professional-services/) 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](https://community.ovhcloud.com/).
