TSF – Giải pháp IT toàn diện cho doanh nghiệp SMB | HCM

How to Mount SMB Shares on Dragonfish (Step-by-Step Guide)

In this video, I will guide you through the simple and intuitive step-by-step process of mounting SMB shares on Dragonfish. You will understand how to configure paths, access permissions, and handle common errors. This is extremely important content for anyone using NAS or wanting to optimize their network storage system. I also share some tips to help stabilize SMB connections and increase access performance. The video is suitable for beginners, IT helpdesk, and even administrators running the system. With practical instructions, you can immediately apply them to your real-world environment. If you are using TrueNAS, Proxmox, or Dragonfish, this is definitely a video you shouldn’t miss. Watch until the end to master the most effective technique for mounting SMB shares.

Step 1: Create Share folder

Prepare client win 10: 192.168.16.134
Turn off Window Firewall

Share folder ShareNFS
Create local user and set permissions

Step 2: Mount folder to TrueNas

Switch user root
su –

Create SMB password file
nano /root/.smbcred

username=sale01
password=Abc@1234
domain=TSF

Run the command again. This command will only allow root to read the file — password security.
chmod 600 /root/.smbcred

SSH into Dragonfish run the following commands to mount

mkdir -p /mnt/smbbackup
mount -t cifs //192.168.16.134/ShareNFS /mnt/smbbackup -o credentials=/root/.smbcred,nounix,iocharset=utf8

Step 3: Automatically mount when rebooting Truenas

GUI => System setting => Advanced => Init/Script

2 command

mkdir -p /mnt/smbbackup

mount -t cifs //192.168.16.134/ShareNFS /mnt/smbbackup -o credentials=/root/.smbcred,nounix,iocharset=utf8