Mount Samba (SMB) share on to another Linux host running TrureNAS
Budget: $2 – $8 USD
I can't run TrueNAS on my existing NAS due to the hardware requirements. I need help to remotely mount the RAID volume on NAS002, onto NAS003.
SBC1 192.168.1.4 (nas002)
aarch64 GNU/Linux
Samba v4.5.16-Debian
etc/samba/smb.conf
[global]
server role = standalone server
workgroup = WORKGROUP
server string = Samba Server %v
log file = /var/log/samba/%m.log
max log size = 50
security = user
map to guest = Bad User
min protocol = SMB2
max protocol = SMB3
SBC2 192.168.77.130 (nas003)
FreeBSD
Command:
mount_smbfs -W WORKGROUP -I 192.168.1.4 -E utf8:utf8 //truenas@192.168.1.4/mnt/volume1/scan /mnt/drcc-nas002
Error:
mount_smbfs: unable to open connection: syserr = RPC struct is bad
From some research I believe that this error relates to SMBv1/NT1 being used, although I have confirmed the settings in smb.conf and restarted the smbd service. The Samba server config and user/pass, all seem to be good and MS Windows clients are able to access the Samba shares.
SBC1 192.168.1.4 (nas002)
aarch64 GNU/Linux
Samba v4.5.16-Debian
etc/samba/smb.conf
[global]
server role = standalone server
workgroup = WORKGROUP
server string = Samba Server %v
log file = /var/log/samba/%m.log
max log size = 50
security = user
map to guest = Bad User
min protocol = SMB2
max protocol = SMB3
SBC2 192.168.77.130 (nas003)
FreeBSD
Command:
mount_smbfs -W WORKGROUP -I 192.168.1.4 -E utf8:utf8 //truenas@192.168.1.4/mnt/volume1/scan /mnt/drcc-nas002
Error:
mount_smbfs: unable to open connection: syserr = RPC struct is bad
From some research I believe that this error relates to SMBv1/NT1 being used, although I have confirmed the settings in smb.conf and restarted the smbd service. The Samba server config and user/pass, all seem to be good and MS Windows clients are able to access the Samba shares.