I have an RPI-based NFS server with an external USB hard disk. After a recent upgrade to Raspbian 8.0 and systemd I noticed that now nfs-kernel-server seems to be starting before all file systems on the external disk are mounted:
Jun 29 12:01:33 nas nfs-kernel-server: Exporting directories for NFS kernel daemon...exportfs: Failed to stat ▒▒▒▒▒▒▒▒▒▒(redacted): No such file or directory
The nfs-kernel-server has a sysV startup script in
/etc/init.d. I tried adding
$local_fs to the list of its requirements, but it did not help. I would really appreciate any suggestions on how to fix this.
(I also see smartd starting before the udev tree is fully populated, but I'll save that for another question.)