Cantech Knowledge Base

Your Go-To Hosting Resource

edquota: Cannot stat() mounted device /dev/root

The error message edquota: Cannot stat() mounted device /dev/root usually means a problem with quota management system on a linux server. This issue happens when using the edquota command to edit user quotas, which is provided the system cannot recognize the device file/dev/root.

What is equota error?

This error is very important to system administrators of Linux servers to understand the most common cause and how the issue could be solved.

Steps to update quotas on servers to fix this issue.

When updating them on your server, it shows an error as below.

edquota: Cannot stat() mounted device /dev/root: No such file or directory
No filesystems with quota detected.

The error indicated that /dev/root does not exist. Check if it does.

# /dev/root

If it does not exists, create it with command

# ln -s /dev/xvda /dev/root

Now, update the quota on your server.

# /scripts/fixquotas –force

Conclusion

Follow the steps above on a linux dedicated server or a linux VPS. It is going to show the accurate quota in your cPanel now. Contact your web hosting provider in case you face any problems.

November 6, 2026