Ubuntu,  Unix

bdb and netatalk

I’ve been finding recently that practically every netatalk implementation is using bdb instead of cdb (the default), due to the fact that cdb seems to be more susceptable to corruption. To make this change, you open the netatalk configuration file at /etc/default/netatalk. Here you will see the following options:

ATALKD_RUN=no
PAPD_RUN=no
CNID_METAD_RUN=no
AFPD_RUN=yes
TIMELORD_RUN=no
A2BOOT_RUN=no

To switch from cdb to the dbd scheme change CNID_METAD_RUN = no to CNID_METAD_RUN = yes.  Save the netatalk file and then restart using the ‘netatalk restart’ command (with sudo or as root):

/etc/init.d/netatalk restart

No further changes need to be made in AppleVolumes.default or afpd.conf, but do be sure to check that the users you want to have access are in the appropriate structure.

Thanks to Bruce for pointing out my typo!