Mounting SMB share

Hello everyone,

I would like to know if it is possible on the Edge Controller or TP600 to mount a directory from a device on the network shared via Samba?

I need to retrieve files from my controller (for example, images for the web visualization), and the simplest approach would be to mount a folder, thereby allowing access to the files from CODESYS or the file nodes in Node-RED.

Has anyone already managed to do this?

Thank you for your help.

Hello, with the default firmware i don’t think SMB is available.
You can see yo make your own firmware but i don’t even know if the SMB package is available.

I think the easiest would be to use SFTP or FTPs.

Thank you for your feedback.
Unfortunately, I don’t have an alternative to SMB on my remote system.

Thank you

I’ve successfully used a docker container with rclone to connect to remote smb which mounts to a folder on the plc.

NFS is supported.

root@PFC300-6937A0:~ sudo mount -t nfs 192.168.1.4:/srv/nfs/nextcloud_data /root/nextcloud_data
root@PFC300-6937A0:~ df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.9G 472.2M 3.2G 13% /
devtmpfs 926.4M 12.0K 926.4M 0% /dev
none 944.5M 8.0K 944.5M 0% /tmp
none 944.5M 0 944.5M 0% /media
none 4.0M 252.0K 3.8M 6% /var/log
none 944.5M 228.0K 944.3M 0% /run
none 944.5M 228.0K 944.3M 0% /var/run
none 944.5M 0 944.5M 0% /var/lock
none 944.5M 0 944.5M 0% /var/tmp
none 944.5M 0 944.5M 0% /sys/fs/cgroup
/dev/mmcblk1p1 16.0M 1.9M 14.0M 12% /boot/loader
/dev/mmcblk1p6 16.7G 311.1M 15.5G 2% /home
none 944.5M 228.0K 944.3M 0% /var/run/netns
/dev/mmcblk1p6 16.7G 311.1M 15.5G 2% /home/docker
192.168.1.4:/srv/nfs/nextcloud_data
7.7T 3.8T 3.6T 51% /root/nextcloud_data
root@PFC300-6937A0:~

Windows has a NFS server you can use

Powershell

Install-WindowsFeature -Name NFS-Server