[root@centos ~]# quotacheck -aucmv
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/sda4 [/iii] done
quotacheck: Cannot stat old user quota file: 沒有此一檔案或目錄
quotacheck: Old group file not found. Usage will not be substracted.
quotacheck: Checked 2 directories and 0 files
quotacheck: Cannot create new quotafile /iii/aquota.user.new: 拒絕不符權限的操作
quotacheck: Cannot initialize IO on new quotafile: 拒絕不符權限的操作

要關閉seLinux

[root@centos ~]# setenforce 0

[root@centos ~]# quotacheck -aucmv
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/sda4 [/iii] done
quotacheck: Cannot stat old user quota file: 沒有此一檔案或目錄
quotacheck: Old group file not found. Usage will not be substracted.
quotacheck: Checked 2 directories and 0 files
quotacheck: Old file not found.

可以了

arrow
arrow
    全站熱搜

    蒼穹 發表在 痞客邦 留言(1) 人氣()