Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I get fsync() failed: Disk quota exceeded but when I use df -h and df -i there is enough space? Any suggestions?

share|improve this question
Is quota configured? Run quotacheck -a and look at the output. – laebshade Jan 30 '13 at 2:53

The disk quota is a limit on the disk space that a user can occupy. It has nothing to do with free space on disk. Look at the manual page for quota(1). So when trying to sync (write out data held in memory destined to files on disk) it finds that you aren't allowed to write that much data.

And BTW, there is no "space in folders" in Unix/Linux. A directory is just an association between names and inodes, and an inode represents a file/directory (with its owner/group, permissions, and contained data). An inode can very well be listed in more than one directory, or even several times under different names in the same directory.

share|improve this answer
up vote 2 down vote accepted

The problem was that ~ directory was full, since some scripts use this directory.

So try to clean ~, it worked for me.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.