Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I get fsync() failed: Disk quota exceeded but when I use df -h and df -i there is enough space in all the folders.

What can I do?

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

2 Answers

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
add comment
up vote 0 down vote accepted

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

So try to clean ~, it worked for me.

share|improve this answer
add comment

Your Answer

 
discard

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.