Description

The samba service allows to share file and folders to many systems, like Windows, Linux and Mac. The samba service for DAFNE control system is running on dafnenfs.lnf.infn.it and has the following shares:

ShareLocal FolderUsersAccess Mode
\\dafnenfs\dcs_win/data/u2/dcs_windanteRead/Write
\\dafnenfs\dcs_win_lv15/data/u2/dcs_win_lv15danteRead/Write
\\dafnenfs\dataFromDafne/data/siddharta/dataFromDafnesmbsiddhartaRead Only
smbdante, danteRead/Write
\\dafnenfs\dataFromSiddharta/data/siddharta/dataFromSiddhartasmbdante, danteRead Only
smbsiddhartaRead/Write
\\dafnenfs\dataFast/data/u2/data/fastdafneRead Only
\\dafnenfs\slmonitor/data/slmonitordafneRead/Write

You can check and modify them in /etc/samba/smb.conf file.

Restart service

Run the following commands:

[root@dafnenfs ~]# systemctl restart smb.service
[root@dafnenfs ~]# systemctl restart nmb.service

Stop service

Run the following commands:

[root@dafnenfs ~]# systemctl stop smb.service
[root@dafnenfs ~]# systemctl stop nmb.service

Start service

Run the following commands:

[root@dafnenfs ~]# systemctl start smb.service
[root@dafnenfs ~]# systemctl start nmb.service

Add a share

  • Stop the service
  • Create the folder to be shared with right permissions if not present, otherwise check user permissions
  • Add a share in /etc/samba/smb.conf file copying from shares already presents
  • Start the service
  • Test the new share


  • No labels