![CentOS7 할당량 xfs](https://linux55.com/image/114005/CentOS7%20%ED%95%A0%EB%8B%B9%EB%9F%89%20xfs.png)
디스크 할당량을 활성화할 수 없습니다./집(/dev/md2). ~을 위한/(/dev/md1) 잘 작동합니다. 내가 뭘 잘못했나요?
cat /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/md1 / xfs defaults 0 0
/dev/md2 /home xfs defaults,uquota 0 0
mount|grep quota
/dev/md1 on / type xfs (rw,relatime,attr2,inode64,usrquota)
/dev/md2 on /home type xfs (rw,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota)
cat /boot/grub2/grub.cfg|grep quota
linux16 /boot/vmlinuz-x.x.x-grsec root=/dev/md1 ro net.ifnames=0 rd.auto rd.auto=1 rhgb quiet rd.md.uuid=4ed85ae0:2334zc39:b3e2acc2:21fd5312 rootflags=uquota
답변1
/etc/fstab 구문에 실수가 있어서 작동하지 않습니다. 구문은 아래에 설명되어 있습니다.
/dev/md1/xfs 기본값 0 0 블록 지점 마운트 지점 파일 시스템 작동 덤프 fsck 모드
fstab에 정의되지 않은 추가 항목 ",uquota"를 추가했습니다.