Quota 사용에 관한 문제

sungmoo의 이미지

fedora 2

/etc/fstab 에서 default,usrquota 를 설정하고. (참고로 / 폴더에)

cd /

touch quota.user

chmod 600 quota.user

reboot

edquota -u user

---- error message ---

edquota: Quota file not found or has wrong format.
No filesystems with quota detected.

---------------------------

atie의 이미지

man quotacheck

Quote:
remount -o defaults,usrquota /
quotaoff /
quotacheck -cugvm /
quotaon /

이렇게 해 보세요.

그런데, / 디렉토리(?) 그리고 aquota.user로 안하는 이유가 있나요? (version 2와 1의 차이가 무엇인지 궁금해서 물어봅니다.)

----
I paint objects as I think them, not as I see them.
atie's minipage

woojhs의 이미지

Quota 설정할 때 설정이 안보여 주는 것은

quotacheck를 먼저 하시고 이후

convertquota 하셔서 변화 하셔야 되는 것으로 알고 있습니다.

fedora 2에서는 안해봐서 잘 모르겟지만

Redhat에서는 이러한 방법을 사용해서 저는 쓰고 있습니다.

아되시면 자세하게 적어 주시면 나중에 답변드리겠습니다.