SOLVED how mount lan network samba server to freenas /mnt

marian78

Patron
Joined
Jun 30, 2011
Messages
210
hi, i try to sync external smb server to FreeNAS-11.3-U2 . So i decided mount samba share of that lan smb server to freenas /mnt and than rsync.

But i cant mount. External samba server is only ntlmv2,3. I try this in CLI:

Code:
mount -t cifs -o username=user,password=1234 //192.168.1.10/backup /mnt/volume/backup


get this in cli:
Code:
mount: /192.168.1.9/backup: Operation not supported by device
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
This is not allowed on freenas. Your best bet is to just use ssh and rsync
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Or mount the other way round: a share on FreeNAS mounted on the old server.
 

marian78

Patron
Joined
Jun 30, 2011
Messages
210
Thx all for time.

LAN smb server only have SMB service exposed to LAN, so i cant use other method/service. :( Its an embedded device.

edit: now i have access to remote system over SSH but no rsyncd is running on remote. I can scp and copy file from remote to freenas, but i want copy folder recursively from remote to freenas. So scp is not working for this.

edit2: scp worked ;)

Code:
scp -r -P 1000 root@192.168.1.10:/backup /mnt/volume/backup


where:
-r do scp recursively
-P 1000 is remote port for SSH
192.168.1.10 is remote embedded machine with SSH server runing
/backup is folder, that i want backup from remote embedded machine

SSH: login to remote embbeded machine is with certificate without password
 
Last edited:
Top