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/sdb5 [/home] done
quotacheck: Cannot stat old user quota file: No such file or directory
quotacheck: Cannot stat old group quota file: No such file or directory
quotacheck: Cannot stat old user quota file: No such file or directory
quotacheck: Cannot stat old group quota file: No such file or directory
quotacheck:Checked 92 directories and 241 files
quotacheck: Cannot create new quotafile /home/aquota.user.new: Permission denied
quotacheck: Cannot initialize IO on new quotafile: Permission denied
quotacheck: Cannot create new quotafile /home/aquota.group.new: Permission denied
quotacheck: Cannot initialize IO on new quotafile: Permission denied
[root@RHEL6 ~]# quotacheck -vug /home #再次尝试,发现成功了 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/sdb5 [/home] done quotacheck: Cannot stat old user quota file: No such file or directory quotacheck: Cannot stat old group quota file: No such file or directory quotacheck: Cannot stat old user quota file: No such file or directory quotacheck: Cannot stat old group quota file: No such file or directory quotacheck: Checked 92 directories and 241 files quotacheck: Old file not found. quotacheck: Old file not found. [root@RHEL6 ~]# [root@RHEL6 ~]# ll -d /home/aquota* #/home是独立的文件系统,因此查询结果会将两个配置文件放在/home下面 -rw-------. 1 root root 8192 Jul 5 21:28 /home/aquota.group -rw-------. 1 root root 9216 Jul 5 21:28 /home/aquota.user [root@RHEL6 ~]#