This error message indicates that there is no existing quota file on the specified mount point /mnt/part5, and that not all specified mount points are using quota.

To resolve this issue, you need to make sure that quotas are enabled on the file system where /mnt/part5 is mounted. You can check if quotas are enabled by running the following command:

mount | grep /mnt/part5

If quotas are not enabled, you need to enable them by adding the usrquota and grpquota options to the file system's mount options in /etc/fstab. For example:

/dev/sda5 /mnt/part5 ext4 defaults,usrquota,grpquota 0 0

Once quotas are enabled, you can create a new quota file on the file system by running the quotacheck command:

quotacheck -c /mnt/part5

After the quota file has been created, you can set the user quota for size1 by running the setquota command:

setquota -u size1 10240 8192 0 0 /mnt/part5
setquota -u size1 10240 8192 0 0 mntpart5setquota Cannot find any quota file to work onsetquota Not all specified mountpoints are using quota

原文地址: https://www.cveoy.top/t/topic/bhZ3 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录