4.1 AFP shares won't mount in 10.9.4

Questions about using NAS on Mac OS.
Post Reply
mjknowle
First post
Posts: 1
Joined: Tue May 20, 2014 3:16 am

4.1 AFP shares won't mount in 10.9.4

Post by mjknowle »

AFP shares on a TS-419PII running 4.1.0 firmware won't mount on Macs running 10.9.4. You can browse for a share, log in, but once you do...spinning beach ball with eventual failure. One can still mount the shares via SMB, but that's not nearly as fast.

Anyone else experiencing this? Suggestions for fixes?
mattdbarnes
First post
Posts: 1
Joined: Sat Oct 09, 2010 5:17 pm
Location: **, UK

Re: 4.1 AFP shares won't mount in 10.9.4

Post by mattdbarnes »

I'm having exactly the same problem. MacBook Pro running OS X 10.9.4 with a TS-419P running 4.1.0 0612.

I have tried re-installing the firmware (using the manual procedure via SSH), turning afp off then on, rebooting both the NAS and my Mac but with no luck.

This also seems to be impacting the Time Machine functionality - having tried to make a fresh connection I got an 'Operation could not be completed (OSStatus error 2.)' error after a lot of time thinking about it. The NAS shows up in terms of service discovery of AFP file sharing and Time Machine. While I can use SMB for file sharing, that doesn't help with Time Machine.

Any suggestions for things to try? Is anyone else seeing this too?
User avatar
schumaku
Guru
Posts: 43578
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: 4.1 AFP shares won't mount in 10.9.4

Post by schumaku »

Let's check bottom-up:

- AFP processes running?

[~] # ps -ef | grep afp
525 admin 488 S grep afp
13182 admin 1952 S /usr/local/sbin/cnid_metad -F /etc/afp.conf
13208 admin 2956 S /usr/local/sbin/afpd -F /etc/afp.conf -p /var/afpd3.pid

- version in place

[~] # /usr/local/sbin/afpd -V
afpd 3.0.5 - Apple Filing Protocol (AFP) daemon of Netatalk

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version. Please see the file COPYING for further information and details.

afpd has been compiled with support for these features:

AFP versions: 2.2 3.0 3.1 3.2 3.3
CNID backends: cdb dbd last tdb
...

- /etc/afp.conf file generated and holing all shared folders:

[~] # cat /etc/afp.conf
[Global]
uam path = /usr/local/etc/netatalk/uams
max connections = 256
tcprcvbuf = 262144
tcpsndbuf = 262144
server quantum = 262144
zeroconf = yes
guest account = guest
uam list = uams_passwd.so uams_gss.so uams_guest.so uams_dhx2_pam.so
veto files = /.AppleDB/.AppleDouble/.AppleDesktop/:2eDS_Store/Network Trash Folder/Temporary Items/TheVolumeSettingsFolder/.@__thumb/.@__desc/:2e*/.@__qini/.Qsync/.upload_cache/.qsync/.qsync_sn/
veto message = yes
use splice = 1
splice size = 16384
[Multimedia]
path = /share/MD0_DATA/Multimedia
...

- network configuration - have two indiviual networks configured into the same Ethernet broadcast domain and TCP/IP subnetwork?

[~] # ifconfig
...

Post all output please.
Dotdun
New here
Posts: 2
Joined: Sat Oct 08, 2011 8:08 pm

Re: 4.1 AFP shares won't mount in 10.9.4

Post by Dotdun »

Same problem with (2) NAS' and 10.9.4

On my TS-259, I went back to 4.0.7 to regain AFP service.

On my TS-219P+, it's only used for TimeMachine, which is working properly, yet AFP file access is not. FWIW, the syslog is showing 'Login OK' from AFP clients.

As requested:

[~] # ps -ef | grep afp
7661 admin 1932 S /usr/local/sbin/cnid_metad -F /etc/afp.conf
7799 admin 2828 S /usr/local/sbin/afpd -F /etc/afp.conf -p /var/afpd3.p
12564 admin 3776 S /usr/local/sbin/afpd -F /etc/afp.conf -p /var/afpd3.p
15443 admin 3768 S /usr/local/sbin/afpd -F /etc/afp.conf -p /var/afpd3.p
15890 admin 572 S grep afp
22033 admin 3776 S /usr/local/sbin/afpd -F /etc/afp.conf -p /var/afpd3.p
22045 admin 3776 S /usr/local/sbin/afpd -F /etc/afp.conf -p /var/afpd3.p
25375 admin 3776 S /usr/local/sbin/afpd -F /etc/afp.conf -p /var/afpd3.p

[/] # /usr/local/sbin/afpd -V
afpd 3.0.5 - Apple Filing Protocol (AFP) daemon of Netatalk

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version. Please see the file COPYING for further information and details.

afpd has been compiled with support for these features:

AFP versions: 2.2 3.0 3.1 3.2 3.3
CNID backends: cdb dbd last tdb
Zeroconf support: Avahi
TCP wrappers support: No
Quota support: Yes
Admin group support: Yes
Valid shell checks: Yes
cracklib support: No
EA support: ad | sys
ACL support: Yes
LDAP support: No
D-Bus support: No
DTrace probes: No

afp.conf: /usr/local/etc/afp.conf
extmap.conf: /usr/local/etc/extmap.conf
state directory: /var/netatalk/
afp_signature.conf: /var/netatalk/afp_signature.conf
afp_voluuid.conf: /var/netatalk/afp_voluuid.conf
UAM search path: /usr/local/etc/netatalk/uams//
Server messages path: /var/netatalk/msg/


# cat /etc/afp.conf
[Global]
uam path = /usr/local/etc/netatalk/uams
max connections = 256
tcprcvbuf = 262144
tcpsndbuf = 262144
server quantum = 262144
zeroconf = yes
guest account = guest
uam list = uams_passwd.so uams_gss.so uams_guest.so uams_dhx2_pam.so
veto files = /.AppleDB/.AppleDouble/.AppleDesktop/:2eDS_Store/Network Trash Folder/Temporary Items/TheVolumeSettingsFolder/.@__thumb/.@__desc/:2e*/.@__qini/.Qsync/.upload_cache/.qsync/.qsync_sn/
veto message = yes
use splice = 1
splice size = 16384
[Multimedia]
path = /share/MD0_DATA/Multimedia
invalid users = "guest"
rolist =
rwlist = "admin","xxxxxxxx","@administrators"
valid users = "root","admin","xxxxxxxx","@administrators"
file perm = 0777
directory perm = 0777
follow symlinks = yes
acls = no
search db = yes
time machine = yes
delete veto files = yes
[Download]
path = /share/MD0_DATA/Download
invalid users = "guest"
rolist =
rwlist = "admin","xxxxxxxx","@administrators"
valid users = "root","admin","xxxxxxxx","@administrators"
file perm = 0777
directory perm = 0777
follow symlinks = yes
acls = no
search db = yes
time machine = yes
delete veto files = yes
[Recordings]
path = /share/MD0_DATA/Recordings
invalid users = "guest"
rolist =
rwlist = "admin","@administrators"
valid users = "root","admin","@administrators"
file perm = 0777
directory perm = 0777
follow symlinks = yes
acls = no
search db = yes
time machine = yes
delete veto files = yes
[Web]
path = /share/MD0_DATA/Web
invalid users = "guest"
rolist =
rwlist = "admin","@administrators"
valid users = "root","admin","@administrators"
file perm = 0777
directory perm = 0777
follow symlinks = yes
acls = no
search db = yes
time machine = yes
delete veto files = yes
[Usb]
path = /share/MD0_DATA/Usb
invalid users = "guest"
rolist =
rwlist = "admin","@administrators"
valid users = "root","admin","@administrators"
file perm = 0777
directory perm = 0777
follow symlinks = yes
acls = no
search db = yes
time machine = yes
delete veto files = yes
[Public]
path = /share/MD0_DATA/Public
invalid users =
rolist =
rwlist = "admin","guest","xxxxxxxx","@administrators"
valid users = "root","admin","guest","xxxxxxxx","@administrators"
file perm = 0777
directory perm = 0777
follow symlinks = yes
acls = no
search db = yes
time machine = yes
delete veto files = yes
[Network Recycle Bin 1]
path = /share/MD0_DATA/Network Recycle Bin
invalid users = "guest"
rolist =
rwlist = "admin","xxxxxxxx","@administrators"
valid users = "root","admin","xxxxxxxx","@administrators"
file perm = 0777
directory perm = 0777
follow symlinks = yes
acls = no
search db = yes
time machine = yes
delete veto files = yes
[TMBackup]
path = /share/MD0_DATA/.timemachine
invalid users =
rolist =
rwlist = "TimeMachine"
valid users = "root","TimeMachine"
file perm = 0777
directory perm = 0777
follow symlinks = yes
use splice = 0
acls = no
search db = yes
time machine = yes
delete veto files = yes
[FTP]
path = /share/MD0_DATA/FTP
invalid users = "guest"
rolist = "@ftpuser"
rwlist = "admin","xxxxxxxx","@administrators"
valid users = "root","admin","xxxxxxxx","@administrators","@ftpuser"
file perm = 0777
directory perm = 0777
follow symlinks = yes
acls = no
search db = yes
time machine = yes
delete veto files = yes
[homes]
path = /share/MD0_DATA/homes
invalid users =
rolist =
rwlist = "admin","@administrators"
valid users = "root","admin","@administrators"
file perm = 0777
directory perm = 0777
follow symlinks = yes
acls = no
search db = yes
time machine = yes
delete veto files = yes
[Qsync]
path = /share/Qsync
invalid users =
rolist = "%u"
rwlist =
valid users = "%u"
file perm = 0777
directory perm = 0777
follow symlinks = yes
acls = no
read only = yes
cnid scheme = last
use splice = 0
delete veto files = yes



[/etc] # ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:9B:C1:98:DA
inet addr:10.13.13.101 Bcast:10.13.13.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6560385 errors:0 dropped:16 overruns:0 frame:0
TX packets:7247579 errors:0 dropped:65 overruns:0 carrier:0
collisions:0 txqueuelen:532
RX bytes:817204845 (779.3 MiB) TX bytes:2878517233 (2.6 GiB)
Interrupt:11

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:210885 errors:0 dropped:0 overruns:0 frame:0
TX packets:210885 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:57573824 (54.9 MiB) TX bytes:57573824 (54.9 MiB)
randomguy
Getting the hang of things
Posts: 51
Joined: Mon Apr 22, 2013 12:25 pm

Re: 4.1 AFP shares won't mount in 10.9.4

Post by randomguy »

For what it's worth, I have 10.9.4 as well as QNAP 4.1.0 Build 0612 and my Time Machine backups are completing OK (it uses AFP under the covers). I haven't tried browsing via AFP yet.
TS-469L FW 4.1 B0612 4x3TB RED WD
User avatar
schumaku
Guru
Posts: 43578
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: 4.1 AFP shares won't mount in 10.9.4

Post by schumaku »

Curious of all the users with similar issues (aside: Time Machine makes use of AFP for sparse file access, too..) are not making use of Advanced Folder Permissions (ACL support) enabled? dotdun's NAS doesn't (config shows: acls = no) for example.
Dotdun
New here
Posts: 2
Joined: Sat Oct 08, 2011 8:08 pm

Re: 4.1 AFP shares won't mount in 10.9.4

Post by Dotdun »

FWIW, acls=no is current on the 4.0.7 on my TS-259 and AFP is working.
nettdata
New here
Posts: 2
Joined: Fri Jan 24, 2014 4:24 am

Re: 4.1 AFP shares won't mount in 10.9.4

Post by nettdata »

Just to add one more to the list, I updated my TS-859 Pro+ to firmware version 4.1.0 yesterday, and since then I'm having problems connecting to the remote shares via AFP from 10.9.4 clients.

SMB sharing works fine from all of those client machines, AFP give beach ball of death and fails out.
nettdata
New here
Posts: 2
Joined: Fri Jan 24, 2014 4:24 am

Re: 4.1 AFP shares won't mount in 10.9.4

Post by nettdata »

FIXED (for me, anyway)

Followed these instructions: http://wiki.qnap.com/wiki/How_to_remove ... problem%3F

Basically, I ssh'd into the QNAP, cd to the shared volume, and then removed the .AppleDB directory from within that share.

Upon next connection from the OSX client, it asked for authentication credentials, but then quickly mounted that share.
Post Reply

Return to “Mac OS”