How to Access SMB from GNU/Linux Systems
Connect your File Storage from a GNU/Linux system using the user's SMB data, mounting the share from the terminal.
You can mount your File Storage on a GNU/Linux computer and work with the files from the system itself. You only need two pieces of data from the panel — the SMB user for Linux and the SMB address — and a command in the terminal.
This guide walks you through both.
👍 What you get
The File Storage repository mounted on your GNU/Linux system via SMB, ready to work with its files from the terminal.
Before you begin
Access the administration panel at admin.plenit.com with permissions on the service.
Have a subscription of File Storage active. If you don't have it yet, set it up with the Quick Start for File Storage.
Step 1. Copy the SMB user for GNU/Linux
In admin.plenit.com, go to Cloud Services → File Storage and open the subscription. Open the Users, find the user you are going to connect with, open their menu (…) and click Access details.
In that view you will see the connection details for several systems (Windows, GNU/Linux and Mac). Copy the user corresponding to GNU/Linux.
{/* 📸 SCREENSHOT 1 · Users › menu (…) › Access data · highlight the GNU/Linux user */}

Step 2. Copy the SMB address
Open the Customization and, in the block SMB, copy the URL for access. That is the address of the resource you will mount.
{/* 📸 SCREENSHOT 2 · Customization › SMB block · highlight the URL field */}

At the end of these two steps, you should have: the user login for GNU/Linux and the SMB address of the resource.
Step 3. Mount the resource from the terminal
With the two pieces of data, launch the connection from the console with this format:
Replace <smb_address> for the SMB address you copied and <user> for the GNU/Linux user. When you run it, the system will ask for the password of the user.
Step 4. Check that access works
If the connection completes, you can list the contents of the mounted resource:
You should see the contents of the SMB repository you just connected to.
{/* 📸 SCREENSHOT 3 · terminal · mounted connection and ls showing the contents */}

🚧 If the connection does not complete
Check these points before trying again: that the user is the one from the section Access details for GNU/Linux (not from another system), that the address is the one from the SMB Customization block, and that the password is that of the user you connect with.
If the
lsdoes not show what is expected, get the data again from Steps 1 and 2.
Conclusion
Accessing via SMB from GNU/Linux is a matter of putting together two pieces of data from the panel — the Linux user from Access data and the SMB address from Customization — and mounting them with a command. Once mounted, you work with the repository files like any other system resource.
If something fails, it is almost always because of mixing up the user from another operating system or the address, so that is the first thing to check.
Next steps
Review the ways to access the service in Access and sharing.
Organize permissions by users and groups in Users, groups, and permissions.
Customize the service's domain and brand in Customization.
Last updated
Was this helpful?

