zfs에 할당량 설정이 작동하지 않습니다

zfs에 할당량 설정이 작동하지 않습니다

저는 FreeBSD 11을 사용하고 있습니다. Storage라는 풀에 할당량을 설정하기 위해 터미널에 다음 구성을 입력합니다.

zfs set quota=10G storage
zfs set userquota@user1=1M storage

문제는 삼바나 SFTP로 연결하면 1MB가 넘는 파일을 복사할 수 있는데 할당량이 작동하지 않는다는 겁니다.

답변1

zfs매뉴얼 페이지(2017-03-09의 FreeBSD 11-STABLE) 에 따르면 ,

Enforcement of user quotas may be delayed by several seconds. This
delay means that a user might exceed their quota before the system
notices that they are over quota and begins to refuse additional
writes with the EDQUOT error message.

테스트에서 이 동작이 노출될 가능성이 있습니다. 여러 거래에서 의 가치를 초과하려고 시도하여 userquota시스템이 이를 알릴 시간을 제공하면 어떻게 됩니까?

관련 정보