D
D
Dim Boy2019-06-27 09:34:22
Samba
Dim Boy, 2019-06-27 09:34:22

How to mount samba from another server?

Hello, I have 2 servers on one switch, one with samba is mounted to windows, I want to mount the directory to the first server from the second one, how can I clearly do it?
(or how to mount a second server, also through windows? smb port forwarding is configured only on the 1st server)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuzin, 2019-06-27
@Bobson8

It can be more precise: do you have 2 servers on Linux? On one samba ball? it is necessary to mount this ball on the second Linux server as a network drive\folder?
I don’t see any problems, create a folder where you want to mount the shira, mount temporarily
sudo smbmount //smb-comp/sharefolder /home/user/destination-folder -o
then write it in /etc/fstab.
//smb-comp/sharefolder /home/user/destination-folder smbfs auto,rw,user 0 0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question