Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#468 Unable to share exFAT volume with Raspberry Pi running Netatalk 2.2.2-1

open
nobody
None
1
2014-02-17
2012-11-15
Andy
No

I have been running netatalk on my Raspberry Pi to share a usb external drive (formatted as FAT). It's been setup and running without a problem for last couple months. I recently decided to reformat my drive as exFAT to allow me to use files larger than 4GB but also remain able to move my external drive between linux, mac and windows when necessary.

I installed exfat-fuse "sudo apt-get install exfat-fuse" and updated my fstab file, and the drive mounts without a problem, and I'm able to read and write to the drive.

However, when I setup Netatalk to share the exFAT volume I constantly get the error: "Something wrong with the volume's CNID DB, using temporary CNID DB". I sometimes get this error on my existing volumes, but it's normally a timeout and reconnecting resolves the issue, but on further inspection this seems to reveal another issue, see the log output below. Any help would be hugely appreciated.

Log output:

Nov 14 20:17:54 device afpd[4150]: AFP3.3 Login by user
Nov 14 20:17:54 device afpd[4150]: volume "External" does not support Extended Attributes, using ea:ad instead
Nov 14 20:17:57 device cnid_dbd[4154]: Error inheriting lockfile permissions: Function not implemented
Nov 14 20:17:57 device cnid_dbd[4154]: main: fatal db lock error
Nov 14 20:17:57 device afpd[4150]: read: Connection reset by peer
Nov 14 20:17:57 device afpd[4150]: read: Connection reset by peer
Nov 14 20:17:58 device cnid_dbd[4157]: Error inheriting lockfile permissions: Function not implemented
Nov 14 20:17:58 device cnid_dbd[4157]: main: fatal db lock error
Nov 14 20:17:58 device afpd[4150]: read: Connection reset by peer
Nov 14 20:17:59 device cnid_metad[4159]: Multiple attempts to start CNID db daemon for "/media/usb0" failed, wiping the slate clean...
Nov 14 20:17:59 device cnid_dbd[4159]: Error inheriting lockfile permissions: Function not implemented
Nov 14 20:17:59 device cnid_dbd[4159]: main: fatal db lock error
Nov 14 20:17:59 device afpd[4150]: read: Connection reset by peer
Nov 14 20:18:01 device cnid_dbd[4160]: Error inheriting lockfile permissions: Function not implemented
Nov 14 20:18:01 device cnid_dbd[4160]: main: fatal db lock error
Nov 14 20:18:01 device afpd[4150]: read: Connection reset by peer
Nov 14 20:18:18 device afpd[4150]: transmit: Request to dbd daemon (db_dir /media/usb0) timed out.
Nov 14 20:18:18 device afpd[4150]: Reopen volume /media/usb0 using in memory temporary CNID DB.
Nov 14 20:18:30 device afpd[4150]: AFP logout by user
Nov 14 20:18:30 device afpd[4150]: AFP statistics: 2.31 KB read, 3.49 KB written
Nov 14 20:18:30 device afpd[4150]: done

Discussion