hello,
today I syspatched and then did a pkg_add -u picking up the latest
stable packages on my amd64 server. The only update was net/netatalk3
going from 3.1.12p3 to 3.1.13. However after that I could no longer
access any files over afp (nfs was fine). I could map the share but
when trying to access any file I would get I/O error. Checking
/var/log/afpd.log I had thousands of lines as such:
Apr 06 20:20:36.383810 afpd[13057] {fork.c:423} (error:AFPDaemon):
afp_openfork(.DS_Store): ad_open: Input/output error
Apr 06 20:20:36.384161 afpd[13057] {ad_open.c:424} (warn:ad): parse_entries:
bogus eid: 2, off: 741, len: 0
Apr 06 20:20:36.384179 afpd[13057] {ad_open.c:485} (warn:ad):
ad_header_read(/some/path): malformed AppleDouble
Apr 06 20:20:36.384193 afpd[13057] {ad_open.c:1169} (error:Default):
ad->ad_ops->ad_header_read(path, ad, pst) failed: Input/output error
Apr 06 20:20:37.924249 afpd[13057] {ad_open.c:424} (warn:ad): parse_entries:
bogus eid: 2, off: 741, len: 0
Apr 06 20:20:37.924274 afpd[13057] {ad_open.c:485} (warn:ad):
ad_header_read(/some/path/to/something/.DS_Store): malformed AppleDouble
etc, for every single file and folder.
Googling quickly on that malformed AppleDouble I found some old
reports about it possibly being corrupted ._* files which macOS
likes to put everywhere. In some cases removing those files would
help, but in other cases it did not. As I had to restore access I
removed the 3.1.13 package and reinstalled 3.1.12p3 from the 7.0
packages. After this the errors are gone and everything is working
again. I'm not sure if this is something in my environment but as we
are close to release I wanted to report it.
thanks,
.jh