---
title: Access with SAMBA/CIFS
description: "You can mount your Storage Box via Samba/CIFS. You can use the following UNC path. If you are using your main account, the share name is `backup`. If you are using a sub-account, you must use the username of the sub-account…"
url: "https://www.hyyat.com/en/knowledgebase/access-with-samba-cifs/"
updated: "2026-10-21"
category: Storage Box
---

# Access with SAMBA/CIFS

You can mount your Storage Box via Samba/CIFS. You can use the following UNC path.

If you are using your main account, the share name is `backup`.

If you are using a sub-account, you must use the username of the sub-account as the username and share name.

**Linux/Unix:**

`//<username>.your-storagebox.de/<share_name>`

**Windows**

\\<username>.your-storagebox.de\<share_name>

### [https://docs.hetzner.com/robot/storage-box/access/access-samba-cifs/#instructions](https://docs.hetzner.com/robot/storage-box/access/access-samba-cifs/#instructions)

### [https://docs.hetzner.com/robot/storage-box/access/access-samba-cifs/#instructions](https://docs.hetzner.com/robot/storage-box/access/access-samba-cifs/#instructions)Instructions

**Linux**

:In Linux-based systems, you can use the following command on the CLI to mount the file system

```
mount.cifs -o user=<username>,pass=<password> //<username>.your-storagebox.de/backup /PATH/FOLDER
```

By adding the following line to `/etc/fstab`, your system will automatically mount the file system at boot. (It is a single line!):

//<username>.your-storagebox.de/backup /mnt/backup-server cifs iocharset=utf8,rw,credentials=/etc/backup-credentials.txt,uid=<system account>,gid=<system group>,file_mode=0660,dir_mode=0770 0 0

 

The file /etc/backup-credentials.txt (mode 0600) should contain two lines as follows:

```
username=<username>
password=<password>
```

In Debian-based distributions, the command is provided via the package cifs-utils.

apt-get install cifs-utils

On Debian Wheezy based systems, edit the parameters as follows if you are having problems:

rsize=65536,wsize=130048

You should also add the following lines to /etc/rc.local:

```
modprobe cifs
echo 0 > /proc/fs/cifs/OplockEnabled
```

**FreeBSD**

On FreeBSD, you can mount the Storage Box as follows:

Add the following line to /etc/fstab:

```
//<username>/backup /mnt/storagebox smbfs rw,-N,-I=<username>.your-storagebox.de,-U=<username> 0       0
```

Replace <username> with the Robot-assigned username. Also you need to use mkdir /mnt/storagebox to create the local directory if it does not already exist.

Add the following lines to /etc/nsmb.conf:

```
[<username>]
charsets=UTF8:UTF8
[<username>:<username>]
password=$crypt-string
```

Create the crypt-string with smbutil crypt.

**Windows**

In Windows, use the following instructions to connect your Storage Box as a network drive with its own drive letter:

1. Open Windows Explorer.
2. **Windows 7**: On the left, click on *Computer* and then at the top on *Map network drive*.
   **Windows 8/10**: On the left, click on *This PC*. And then at the top click on *Computer* and then on *Map network drive*.
3. In the new dialog, select a network drive letter of your choice and enter \\<username>.your-storagebox.de\backup for the folder. Enter a check next to *Reconnect at login* if you want to automatically establish a connection upon starting the system.
4. When you are asked for login information here, you should enter the username and password you used for your Storage Box. Or as an alternative, you can save the login information in Windows.
5. The setup of your Storage Box as a network drive should now be finished and you should be able to find it as a separate drive under *This PC* (Windows 8.1/10) or *Computer* (Windows 7/8).

 

### Error with files larger than 4 GB

If there are errors when copying files that are 4 GB or larger, then it can help to deactivate caching. To do

`-o cache=none` so, you need to mount the Storage Box with the extra parameter

### Encrypt SAMBA connection

To encrypt a SAMBA connection, add the following option to your mount command: `seal`

Example:

mount.cifs -o seal,user=<username>,pass=<password> //<username>.your-storagebox.de/backup /PATH/FOLDER

This feature is only available in newer Linux versions (e.g. starting with Ubuntu 18.04).

**Related service:** [Storage Box](https://www.hyyat.com/%d8%b5%d9%86%d8%af%d9%88%d9%82-%d8%a7%d9%84%d8%aa%d8%ae%d8%b2%d9%8a%d9%86/) from Hyyat Host, with technical support that replies within 24 hours.

 **Related guides**

- [login the storage box from the customer area](https://www.hyyat.com/knowledgebase/%d8%a7%d9%84%d8%af%d8%ae%d9%88%d9%84-%d8%b9%d9%84%d9%8a-%d8%b5%d9%86%d8%af%d9%88%d9%82-%d8%a7%d9%84%d8%aa%d8%ae%d8%b2%d9%8a%d9%86-%d9%85%d9%86-%d9%85%d9%86%d8%b7%d9%82%d9%87-%d8%a7%d9%84%d8%b9%d9%85/)
- [Access with FTP/FTPS](https://www.hyyat.com/knowledgebase/%d8%a8%d8%b1%d9%88%d8%aa%d9%88%d9%83%d9%88%d9%84-%d9%86%d9%82%d9%84-%d8%a7%d9%84%d9%85%d9%84%d9%81%d8%a7%d8%aa/)
- [View storage box data from the client area](https://www.hyyat.com/knowledgebase/%d8%b9%d8%b1%d8%b6-%d8%a8%d9%8a%d8%a7%d9%86%d8%a7%d8%aa-%d8%b5%d9%86%d8%af%d9%88%d9%82-%d8%a7%d9%84%d8%aa%d8%ae%d8%b2%d9%8a%d9%86-%d9%85%d9%86-%d9%85%d9%86%d8%b7%d9%82%d9%87-%d8%a7%d9%84%d8%b9%d9%85/)
- [Access overview](https://www.hyyat.com/knowledgebase/%d9%86%d8%b8%d8%b1%d8%a9-%d8%b9%d8%a7%d9%85%d8%a9/)

**Need this service from Hyyat Host?**Our team handles it for you, with support replying to tickets within 24 hours at most.[Web Hosting](https://www.hyyat.com/en/hosting/)[Saudi Hosting](https://www.hyyat.com/en/saudi-hosting/)
