Tom Brownlie
2008-Aug-05 00:30 UTC
[Dovecot] doveot reporting "No space left on device" - yet df show plenty of space / inodes.
Hi, I am running dovecot 1.0.rc7 on a Suse Linux server. The server has approx 200+ mailboxes. Last week the filesystem (/dev/mapper/datavg/dat2lv) ran out of space - causing it to do into read-only mode. When I realised this I allocated some more space and re-booted the machine... Strangely it seems that dovecot is still having problems... It's like dovecot doesn't realise that there is enough space on the file system. Also - it only is happening to a few users at this stage - not all users are having problems sending/receiving emails... The dovecotstderr.log file contains: dovecot: Aug 05 09:47:38 Error: IMAP(rebecca): file_dotlock_open(/data/mail/rebecca/dovecot-uidlist) failed: No space left on device When I do a df -h mail:/var/log # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda4 9.0G 5.7G 3.3G 64% / tmpfs 491M 8.0K 491M 1% /dev/shm /dev/mapper/datavg-dat2lv 300G 130G 171G 44% /data When I do a df -i mail:/var/log # df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda4 0 0 0 - / tmpfs 125505 5 125500 1% /dev/shm /dev/mapper/datavg-dat2lv 357753312 1030354 356722958 1% /data I manually created a file in /data/mail/rebecca - which worked fine, and didn't cause any problems. HELP!!! I am stumped.... I can't understand why Dovecot is complaining.. I have manually stopped postfix and dovecot, and then re-started them.. But to no avail. HELP - I am desperate.... My previously very reliable email server seems to be sick.. _________________________________________________________________ Meet singles near you. Try ninemsn dating now! http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fdating%2Eninemsn%2Ecom%2Eau%2Fchannel%2Findex%2Easpx%3Ftrackingid%3D1046247&_t=773166080&_r=WL_TAGLINE&_m=EXT
Timo Sirainen
2008-Aug-05 00:43 UTC
[Dovecot] doveot reporting "No space left on device" - yet df show plenty of space / inodes.
On Aug 4, 2008, at 8:30 PM, Tom Brownlie wrote:> dovecot: Aug 05 09:47:38 Error: IMAP(rebecca): file_dotlock_open(/ > data/mail/rebecca/dovecot-uidlist) failed: No space left on deviceSome syscall is failing here with ENOSPC. Unfortunately the log doesn't show which syscall it is.. You could check this with strace. For example change: mail_executable = /usr/bin/strace -o /tmp/dovecot.log /usr/local/ libexec/dovecot/imap Then grep for ENOSPC from the /tmp/dovecot.log and show what it says?> I manually created a file in /data/mail/rebecca - which worked fine, > and didn't cause any problems.Can you create hard links (ln file file2)?> I have manually stopped postfix and dovecot, and then re-started > them.. But to no avail.Did you try rebooting the entire machine? Maybe the kernel is still confused. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080804/762d18d9/attachment-0002.bin>
Tom Brownlie
2008-Aug-05 01:04 UTC
[Dovecot] doveot reporting "No space left on device" - yet df show plenty of space / inodes.
Hi Timo, Thanks - but no luck.... #1 I changed dovecot.conf as suggested, stopped it and then restarted it. Tried this users account - and it failed again. There is no ENOSPC in the /tmp/dovecot.log file!! This file is growing rapidly, but no ENOSPC... #2 Yes I can create hard links. I created a file in /data/mail/rebecca called toms.test I then ln toms.test toms.test.2 It worked fine. #3 I haven't rebooted the server yet, because there are 200 users on it, and it is located remotely from me.... Any other suggestions???> From: tss at iki.fi> To: tomb1971 at hotmail.com> Date: Mon, 4 Aug 2008 20:43:47 -0400> CC: dovecot at dovecot.org> Subject: Re: [Dovecot] doveot reporting "No space left on device" - yet df show plenty of space / inodes.> > On Aug 4, 2008, at 8:30 PM, Tom Brownlie wrote:> > > dovecot: Aug 05 09:47:38 Error: IMAP(rebecca): file_dotlock_open(/ > > data/mail/rebecca/dovecot-uidlist) failed: No space left on device> > Some syscall is failing here with ENOSPC. Unfortunately the log > doesn't show which syscall it is.. You could check this with strace. > For example change:> > mail_executable = /usr/bin/strace -o /tmp/dovecot.log /usr/local/ > libexec/dovecot/imap> > Then grep for ENOSPC from the /tmp/dovecot.log and show what it says?> > > I manually created a file in /data/mail/rebecca - which worked fine, > > and didn't cause any problems.> > Can you create hard links (ln file file2)?> > > I have manually stopped postfix and dovecot, and then re-started > > them.. But to no avail.> > Did you try rebooting the entire machine? Maybe the kernel is still > confused.> _________________________________________________________________ Are you paid what you're worth? Find out: SEEK Salary Centre http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2Fcareer%2Dresources%2Fsalary%2Dcentre%2F%3Ftracking%3Dsk%3Ahet%3Asc%3Anine%3A0%3Ahot%3Atext&_t=764565661&_r=OCT07_endtext_salary&_m=EXT
Marcin Gryszkalis
2008-Aug-05 01:59 UTC
[Dovecot] doveot reporting "No space left on device" - yet df show plenty of space / inodes.
On Tuesday of August 5 2008, Tom Brownlie wrote:> Also - it only is happening to a few users at this stage - not all users > are having problems sending/receiving emails...this suggests that problem could be quota-related, did you check? regards -- Marcin Gryszkalis, PGP 0x9F183FA3 jabber jid:mg at fork.pl, gg:2532994 http://the.fork.pl