apm,네임서버 설치다했는데,quota설정에서 너무 막히네요.
quota 관련게시판을 아무리 뒤져봐도 답을 찾을 수가 없구요.
quota설정만 4일째 하고 있습니다.
이젠 너무 지쳐 포기할까도 했는데 다시 질문 올려요.
레드핫 7.1 깔았구요.
1. 쿼터 설정하기전에 커널옵션을 열어서
#cd /usr/src/linux-2.4.3
#make menuconfig
file systems ---> [ * ] Quota support --- quota가 체크가 되있는지 확인
그리고 /etc/fstab을 열어서 /home파티션 부분 수정하고,
LABEL=/ / ext2 defaults 1 1
LABEL=/home /home ext2 defaults,usrquota 1 2 <---수정
.
.
.
2.
/home]#touch quota.user
/home]#chmod 600 quota.user
커널 2.4.x에서부터는
quota.user --> aquota.user로 변환해야 된다고 해서 아래처럼 했구요.
/home]#convertquota -u /home
재부팅후,
mount명령으로 /home디렉토리가 제대로 마운트되는지 확인하고
/home]#mount
/dev/hda6 on / type ext2 (rw)
/dev/hda7 on /home type ext2 (rwl,usrquota) <------
.
.
.
3.
문제는 쿼터체크가 안된다는건데요.
아래처럼 에러가 나오는데,뭐가 잘못된건지 .....모르겠네요.
/home]#quotacheck -a
cannot get exact used space... results might be inaccurate.
quota for user is enabled on mountpoint /home so quotacheck might damage the file.
please turn quotas off or use -f to force checking.
다른사람은 저처럼 설정해서 다 성공했다는데
저는 어디가 문제인지 모르겠어요.