I just set up a new FreeNAS server and I need to setup some sort of external backup. I understand that plugging in a USB external drive directly is frowned upon, so instead I have a windows machine sharing a drive on the network, I hope mount that share in FreeNAS and then just schedule a regular rsync to the mountpoint. I can access and mount the share on other windows machines so I know my credentials are right.
My problem is in the mounting for the share in FreeNAS.
I tried:
result:
My ~/.nsmbrc
Following some guides I also tried:
But all I get is:
I guess my syntax is wrong somewhere?
Trying to troubleshoot I tried:
I am not sure what to make of this, NetBIOS over TCP is enabled on the windows machine.
Thank you for any insight you can provide.
My problem is in the mounting for the share in FreeNAS.
I tried:
Code:
sudo mount_smbfs -I <WIN_IP> -N //<WIN_User>@<WIN_HostName>/NAS_Backup /mnt/NAS_Backup
result:
Code:
mount_smbfs: unable to open connection: syserr = Authentication error
My ~/.nsmbrc
Code:
[<WIN_HostName>:<WIN_User>] password=<WIN_Password>
Following some guides I also tried:
Code:
mount -t cifs //<WIN_IP>/NAS_Backup /mnt/NAS_Backup -o username=<WIN_User>,password=<WIN_Password>
But all I get is:
Code:
usage: mount [-adflpruvw] [-F fstab] [-o options] [-t ufs | external_type] mount [-dfpruvw] special | node mount [-dfpruvw] [-o options] [-t ufs | external_type] special node
I guess my syntax is wrong somewhere?
Trying to troubleshoot I tried:
Code:
smbclient -L //<WIN_IP>/NAS_Backup -U<WIN_User> Enter <WIN_User>'s password: Anonymous login successful Domain=[WORKGROUP] OS=[Windows 7 Enterprise 7601 Service Pack 1] Server=[Windows 7 Enterprise 6.1] Sharename Type Comment --------- ---- ------- Error returning browse list: NT_STATUS_ACCESS_DENIED Connection to <WIN_IP> failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND) NetBIOS over TCP disabled -- no workgroup available
I am not sure what to make of this, NetBIOS over TCP is enabled on the windows machine.
Thank you for any insight you can provide.