Hi,

I'm getting a lot of syslog spam on FreeBSD 10 from
nfs_flush_file_handle_cache_dir where, apparently it tries to rmdir()
the mountpoint of my mail storage.

> Jul  4 00:04:44 mailhost dovecot: imap(u...@example.com): Error: 
> nfs_flush_file_handle_cache_dir: rmdir(/var/mail/vhosts/example.com) failed: 
> Device busy

We're using ZFS and have /var, /var/mail, /var/mail/vhosts,
/var/mail/vhosts/example.com and /var/mail/vhosts/example.com/user as
separate ZFS datasets (to enable per-user and per-domain snapshotting).

So apart from NFS flushing being unnecessary (ZFS != NFS) I'm not really
sure why using rmdir() for another directory than the Maildir specified
in mail_location is a good idea. I.e. given that Maildirs shouldn't ever
be emtpy (cur,new,tmp) anyway.

-- 
Met vriendelijke groet,
With kind regards,
Giel van Schijndel
--
> A programmer started to cuss
> Because getting to sleep was a fuss
> As he lay there in bed Looping 'round in his head
> was: while(!asleep()) sheep++;
>  -- piercings -- http://bash.org/?845468

Attachment: signature.asc
Description: Digital signature

Reply via email to