
할당량을 활성화하고 싶습니다.
내 fstab에는 현재 다음이 있습니다.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=97439827-cdb6-4406-8403-76ab1de7a3b0 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=194bd177-cba0-415d-b45d-bd87b7bf446e none swap sw 0 0
durrantm:~/Dropbox/96_2013/work/code
$
사용자 및 그룹 할당량을 활성화하기 위해 추가하려면 해당 할당량
usrquota,grpquota
을 뒤에 두십시오 .errors=remount-rov
errors=remount-rov,usrquota,grpquota
답변1
매뉴얼 페이지에 따르면mount
errors
즉, 세 가지 옵션 만 정의할 수 있습니다 .continue|remount-ro|panic
오류={계속|재설치-ro|패닉}
오류가 발생했을 때의 동작을 정의합니다. (오류를 무시하고 파일 시스템을 오류가 발생한 것으로 표시하고 계속하거나 파일 시스템을 읽기 전용으로 다시 마운트하거나 시스템을 패닉 상태로 중지합니다.) 기본값은 파일 시스템 수퍼 블록에 설정되며 이는 tune2fs(8)를 사용하여 수행할 수 있습니다. .
따라서 다음과 같이 추가하면 됩니다.
/dev/sda1 /mount_point ext4 usrquota,grpquota,errors=remount-ro 0 1
그런 다음 파티션을 다시 마운트합니다.
mount -o remount /mount_point
mount
그런 다음 명령을 확인하십시오.