쿼터에 대한 질문입니다.
usrquota 하고 grpquota를 둘다 적용하려고 하는데요.
잘안되네요. ^^;
1. vi /etc/fatab 해서 usrquota 하고 grpquota를 추가하고 이렇게
LABEL=/ / ext2 deafaults,usrquota,grpquota 1 1
2. mount -o remount /
3. toucn quota.{user,group}
4 chmod 600 quota.{user,group}
5. quotacheck -a -m
6. convertquota /
책보고 나온대로 /에서 이렇게 순서대로 했습니다.
중간에 다른 에러메세지 없었구요
그런데 quotaon/off 하면요
quotaon: cannot find quota file on / [/dev/fdb1] to turn on/off.
하고 나옵니다.
on이 안된것 같아서 다시 quotaon 했더니 "장치나 자원이 동작이 동작중"이라고 나옵니다.
edquota [계정명]하고 들어가서 설정하고 나오면요
edquota: WARNING - /dev/hdb1: cannot change current block allocation
하고 설정이 안바뀌구요
edquota -g linuxuser 해서 그룹쿼터 설정할려고 했는데(groupadd 했구요)
edquota :Quota file not found or has wrong format.
No filesystem with quota detected.
하고 나옵니다
여러 문서 검색해보니까요
설정순서에서요 touch quota.user 하는 분있구요
어떤분은 touch aquota.user 하는 분이있던데.
그리구 convertquota 하는분있고 안하는 분있던데..
이거 때문에 지금 안되는 건지..
안되서 aquota.user quota.user 지우고 다시 처음부터하고 그랬는데도 안됩니다.
초보라 질문이 좀 이상한것 같네요.
좀 알려주세요~
댓글 달기