[root@AaronWong test]# quotacheck -avug
quotacheck: Your kernel probably supports journaled quota but
you are not using it. Consider switching to journaled quota to
avoid running quotacheck after an unclean shutdown.
quotacheck: Scanning /dev/sda3 [/home/AaronWong/Expand]
done
quotacheck: Cannot stat old user quota file
/home/AaronWong/Expand/aquota.user: 没有那个文件或目录. Usage will not be
substracted.
quotacheck: Cannot stat old group quota file
/home/AaronWong/Expand/aquota.group: 没有那个文件或目录. Usage will not be
substracted.
quotacheck: Cannot stat old user quota file
/home/AaronWong/Expand/aquota.user: 没有那个文件或目录. Usage will not be
substracted.
quotacheck: Cannot stat old group quota file
/home/AaronWong/Expand/aquota.group: 没有那个文件或目录. Usage will not be
substracted.
quotacheck: Checked 3702 directories and 39753 files
quotacheck: Cannot create new
quotafile /home/AaronWong/Expand/aquota.user.new:
权限不够
quotacheck: Cannot initialize IO on
new quotafile: 权限不够
quotacheck: Cannot create new
quotafile /home/AaronWong/Expand/aquota.group.new:
权限不够
quotacheck: Cannot initialize IO on
new quotafile: 权限不够
出现红色部分的问题;
解决方案:
使用命令setenforce 0将selinux关闭,就可以了。