quotacheck Mountpoint or device not found or has no quota enabledquotacheck Cannot find filesystem to check or filesystem not mounted with quota option
This error message typically occurs when the quotacheck command is unable to find the mountpoint or device that you are trying to check for quotas. It could be that the mountpoint or device does not exist or is misspelled, or that quotas are not enabled for that filesystem.
To fix this error, you can try the following steps:
-
Make sure that the mountpoint or device you are trying to check actually exists and is spelled correctly. You can use the "mount" command to check the currently mounted filesystems and their mountpoints.
-
Check if quotas are enabled for the filesystem you are trying to check. You can use the "mount" command to check if the "usrquota" or "grpquota" options are set for the filesystem.
-
If quotas are not enabled, you will need to enable them before running quotacheck. This can typically be done by adding the "usrquota" or "grpquota" options to the filesystem's entry in the /etc/fstab file and then remounting the filesystem.
-
If the issue still persists, you can try running the quotacheck command with the "-m" option followed by the mountpoint or device to explicitly specify the filesystem to check.
For example, if you wanted to check the quotas for the /home filesystem, you could run:
quotacheck -m /home
This would explicitly tell quotacheck to check the /home filesystem for quotas, regardless of whether it is currently mounted or not
原文地址: https://www.cveoy.top/t/topic/cRod 著作权归作者所有。请勿转载和采集!