Centos 5.x quota 적용

 
 
1.quota 패키지 설치 확인
 
rpm -qa | grep quota
quota-3.13-5.el5
 
설치되어 있네요.
 
2. /etc/fstab usrquota 추가하기
 
UUID=6944a9e2-25a3-4d5a-981c-xxxxx           /xxx                ext4    defaults,usrquota        1 2
 
 
3. remount 하기
 
mount -o remount /xxx
 
 
mount 명령으로 usrquota 확인
 
mount
...중략
/dev/sdb1 on /xxx type ext4 (rw,usrquota)
 
 
4. aquota.usr 생성
 
cd /xxx
touch aquota.user
chmod 600 aquota.user
 
 
5. quota 적용위해 현재 상태 체크
 
quotacheck -avug
quotacheck: WARNING -  Quotafile /xxx/aquota.user was probably truncated. Can't save quota settings...
quotacheck: Scanning /dev/sdb1 [/xxx] quotacheck: Old group file not found. Usage will not be substracted.
done
quotacheck: Checked 8520 directories and 59474 files
 
6. quota 시작하기
 
quotaon -avug
/dev/sdb1 [/xxx]: user quotas turned on
 
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

팁게시판

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
13년 전 조회 365
13년 전 조회 362
13년 전 조회 506
13년 전 조회 474
13년 전 조회 366
13년 전 조회 683
13년 전 조회 626
13년 전 조회 380
13년 전 조회 394
13년 전 조회 1,342
13년 전 조회 634
13년 전 조회 1,014
13년 전 조회 393
13년 전 조회 993
13년 전 조회 516
13년 전 조회 380
13년 전 조회 645
13년 전 조회 2,132
13년 전 조회 831
13년 전 조회 1,501
13년 전 조회 410
13년 전 조회 439
13년 전 조회 689
13년 전 조회 450
13년 전 조회 1,376
🐛 버그신고