Why am I receiving an "EFS Disk Quota Exceeded" error when connecting to my file system?

Last updated: 2022-07-18

I'm receiving a "Disk quota exceeded" error when attempting to connect to my Amazon Elastic File System (Amazon EFS) file system. How can I troubleshoot this error and how can I prevent this error from happening again?

Resolution

The Disk quota exceeded error message occurs when a limit on the disk is exceeded. This error intermittently occurs when there are a large number of concurrent connections to the EFS file system. Or, this error occurs when a user tries to open a file on an EFS file system.

These errors can also occur when you hit the NFS client limit because Amazon EFS doesn't support user disk quotas. For more information, see Quotas for NFS clients.

You might also receive the following error messages when you exceed a limit:

  • LockObtainFailedException: This error might occur if the number of locks is exceeded.
  • write.lock: java.io.IOException: This error might occur if you exceed an NFS client quota when using a Java-based application.

Prevent disk quota exceeded errors

To prevent exceeding disk quotas, do the following:

  • Identify a specific limit. You can use performance monitoring tools such as nfsstat and nfsiostat. For more information on these tools, see Using nfsstat and nfsiostat to troubleshoot NFS performance issues on Linux. Modify your application so that it doesn't exceed specific limits for user accounts, open files, process locks, and so on.
  • Split your workload across more instances. This reduces the number of NFS client limits being breached.

Did this article help?


Do you need billing or technical support?