title: How to Disable Filesystem Quotas created at: Tue Oct 29 2024 08:17:02 GMT+0000 (Coordinated Universal Time) updated at: Sat Feb 08 2025 14:22:38 GMT+0000 (Coordinated Universal Time) --- # How to Disable Filesystem Quotas # Overview Filesystem quotas allow server owners to limit the amount of disk space that an account uses. For most hosting providers, this is an integral part of how they manage cPanel accounts. However, in some circumstances, you may wish to disable filesystem quotas in order to improve your server’s performance. The cPanel & WHM installation process enables quotas by default. You **must** wait until after installation to disable quotas. You can enable quotas in WHM’s [*Initial Quota Setup*](https://docs.cpanel.net/whm/server-configuration/initial-quota-setup) interface (*WHM » Home » Server Configuration » Initial Quota Setup*) or via the `/usr/local/cpanel/scripts/fixquotas` script. # Disable for the root XFS filesystem To disable filesystem quotas for the `root` XFS filesystem: 1. Use SSH to connect to your server as the `root` user. 2. Open the `/etc/default/grub` file and remove the following line: ```sh `rootflags=uquota` ``` 1. Save and close the file. 2. Run the following command to update the GRUB bootloader: ```bash grub2-mkconfig --output=/boot/grub2/grub.cfg ``` 1. Run the following command to disable quotas: ```bash xfs_quota -x -c 'off' -c 'remove' / ``` 1. Use your preferred method to reboot your server. 2. Run the following command to confirm your changes: ```bash mount | grep ' / ' ``` The output should resemble the following example: ```bash /dev/vda1 on / type xfs (rw,relatime,attr2,inode64,noquota) ``` # Disable for non-root XFS filesystems To disable filesystem quotas for non-`root` filesystems: 1. Use SSH to connect to to your server as the `root` user. 2. Open the `/etc/fstab` file and remove the `uquota` entry for your mount or filesystem. 3. Save and close the file. 4. Run the following command to disable quotas: ```bash xfs_quota -x -c 'off' -c 'remove' path_to_mount ``` 1. Run the following command to remount the filesystem, where `path_to_mount` represents the absolute path to your mount point: ```bash mount -o remount path_to_mount ``` !! Note: !! It is **not** necessary to reboot the server when you disable quotas for `non-root` filesystems. However, you can reboot the server as an alternative to this step.