顯示具有 quota 標籤的文章。 顯示所有文章
顯示具有 quota 標籤的文章。 顯示所有文章

2014年4月16日 星期三

CentOS 設定磁碟配額 quota

CentOS 設定磁碟配額 quota

# cat /etc/redhat-release
CentOS release 6.5 (Final)


將設定寫入 fstab
# vi /etc/fstab
在需要做磁碟配額的磁碟機加入設定
defaults 後面加 ,usrquota,grpquota

UUID=1a180a75-2b14-479d-ba16-f25ad85dcf81 /home                   ext4    defaults,usrquota,grpquota        1 2