mac access to samba share(s)

Raspberry Pi related support

mac access to samba share(s)

Postby giulio » 15 Mar 2016, 10:16

Hello

I bumped into a weird behavior. From my MAC OS X (El Capitan) version 10.11.3 I am trying to copy files into a share exported by my
reuneaudio running on a PI 2. Apparently all seems in order. As guest, from mac, I can mount and browse the shares, navigate the structure
copy from rune to mac. I can copy files from mac to rune if they are small.

Unfortunately when I copy over large file (say 10 Mbytes or more) files no matter where I copy I have an erratic behaviour where the copy fails; the message is "The finder can't complete the operation because some data ... can't be read or written (Error code -36)" but I have no error on rune on dmsg and on MAC I find sign of a sync problem:

smb_iod_reconnect: Reconnected share MUSIC_STORE with server RUNEAUDIO._smb._tcp.local
smb2_smb_parse_change_notify: smb_rq_reply failed 60
smb2_smb_read_write_async: smb_rq_reply failed 60


Samba status on rune seems OK:

* smbd.service - Samba SMB/CIFS server
Loaded: loaded (/usr/lib/systemd/system/smbd.service; disabled; vendor preset: disabled)
Active: active (running) since Tue 2016-03-15 09:26:00 CET; 14min ago
Main PID: 4357 (smbd)
CGroup: /system.slice/smbd.service
|-4357 /usr/bin/smbd -D
|-4358 /usr/bin/smbd -D
`-4623 /usr/bin/smbd -D
[root@runeaudio ~]# vi /etc/udevil/udev

On the rune there is enough disk space:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 61156236 38135740 20495480 66% /
devtmpfs 375548 0 375548 0% /dev
tmpfs 379828 0 379828 0% /dev/shm
tmpfs 379828 328 379500 1% /run
tmpfs 379828 0 379828 0% /sys/fs/cgroup
tmpfs 379828 0 379828 0% /tmp
logs 5120 64 5056 2% /var/log
rune-logs 5120 864 4256 17% /var/log/runeaudio
/dev/mmcblk0p1 102182 13268 88914 13% /boot


the smb.conf file is the one of the rune distribution; changing read/write permissions of the shares/directories does not change the behavior; changing the smb.conf setting security = share to user does not affect the behavior. I suspect it is a problem on the mac but any hint will be appreciated.


Thanks

Giulio
giulio
 
Posts: 1
Joined: 15 Mar 2016, 09:52

Re: mac access to samba share(s)

Postby Orion » 20 Mar 2016, 14:37

Hi Giulio,
this is a strange situation, I've experienced a similar behaviour also with a Windows7 client. In that case the problem was client-side, the temp location of the client was going out of space, and this was causing the issue on large transfers. Probably this is not your case, but you can try to check it.
Can you check the current version of Samba (smbd -V)?

Let me know.
Ciao.
Simone.
- Embedded Hi-Fi music player
- Alla riscoperta dell'alta fedeltà
User avatar
Orion
RuneAudio co-founder
 
Posts: 189
Joined: 29 Nov 2013, 02:03
Location: Udine, Italy

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 59 guests
cron