Hi so richtig komme ich damit noch nicht weiter:
Meinen "shared folder" habe ich nach der Anleitung erstellt:
Anleitung Samba Ordner
Wen ich nun versuche auf dem iobroker-pi nach deiner Anleitung zu mounten erhalte ich folgende Meldung :
-bash: !,rw,file_mode=0777,dir_mode=0777: event not found
So sieht mein mounting Befehl aus:
sudo mount -t cifs -o user=xx,password=xxx,rw,file_mode=0777,dir_mode=0777 //ip-des-pi-mit-samba-shared-ordner/raspberrypi/iobroker /mnt/smb/
Meine samba.conf auf dem 2. pi:
[iobrokerShare]
comment = iobroker-Freigabe
path = /home/shares/pi/iobroker
read only = no
browseable=Yes
writeable=Yes
only guest=no
create mask=0777
directory mask=0777
public=no
EDIT: nun erhalte ich die folgende Fehlermeldung:
Password for pi@//192.168xxxx/iobrokerxxx: ********
mount error(22): Invalid argument
pi@ioBroker-RasPi:~ $ tail -f /var/log/kern.log
Feb 10 18:35:38 ioBroker-RasPi kernel: [ 1405.182673] FS-Cache: Netfs 'cifs' registered for caching
Feb 10 18:35:38 ioBroker-RasPi kernel: [ 1405.183435] Key type cifs.spnego registered
Feb 10 18:35:38 ioBroker-RasPi kernel: [ 1405.183475] Key type cifs.idmap registered
Feb 10 18:35:38 ioBroker-RasPi kernel: [ 1405.184913] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
Feb 10 18:35:39 ioBroker-RasPi kernel: [ 1406.637206] CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-2
Feb 10 18:56:59 ioBroker-RasPi kernel: [ 2685.716293] CIFS: Unknown mount option "passwd=xxx"
Feb 10 18:57:52 ioBroker-RasPi kernel: [ 2739.446316] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
Feb 10 18:57:52 ioBroker-RasPi kernel: [ 2739.468790] CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-2
Feb 10 18:58:07 ioBroker-RasPi kernel: [ 2753.696699] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
Feb 10 18:58:07 ioBroker-RasPi kernel: [ 2753.717541] CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-2