[Dovecot] unlink_directory failed with 'Device or resource busy' on NFS

김기태 superkkt at sds.co.kr
Wed Aug 24 06:00:41 EEST 2011


Hi,

I'm getting some errors while I'm trying to move mailboxes from IMAP server to Outlook client. The error message is "IMAP command is failed" and I think it is useless.

Here are the error messages written to server's syslog.

imap(name at domain.com<mailto:name at domain.com>): Error: unlink_directory(/data/domain.com/name/INBOX/direct/.nfs00000000000033fd000000cd) failed: Device or resource busy
imap(name at domain.com<mailto:name at domain.com>): Error: unlink_directory(/data/domain.com/name/INBOX/IDC/.nfs000000000000709d000000e9) failed: Device or resource busy
imap(name at domain.com<mailto:name at domain.com>): Error: unlink_directory(/data/domain.com/name/INBOX/OSSEC/.nfs000000000000709f000000f0) failed: Device or resource busy

How can I solve this problem?

I'm using Dovecot 2.0.13 and my configurations are:

# 2.0.13: /usr/local/dovecot/etc/dovecot/dovecot.conf
# OS: Linux 2.6.38-11-server x86_64 Ubuntu 11.04
listen = *
mail_fsync = always
mail_location = maildir:~:LAYOUT=fs
mail_nfs_index = yes
mail_nfs_storage = yes
mmap_disable = yes
passdb {
 args = /usr/local/dovecot/etc/dovecot/dovecot-ldap.conf.ext
 driver = ldap
}
ssl_cert = </etc/postfix/tls/smtpd.cert
ssl_key = </etc/postfix/tls/smtpd.key
userdb {
 args = uid=65534 gid=65534 home=/data/%Ld/%Ln
 driver = static
}


More information about the dovecot mailing list