50%

🚀

5

Telegram-

, Linux. :

Merion Academy


, . . , , . :

  • quotaon
  • quotaoff
  • edquota
  • repquota -

Windows Server, . File Server Resource Manager, , Linux Ubuntu Server.

/dev/sdc1 /mnt/hard.

, , apt-get install quota.

apt-get install quota

, , /etc/fstab. :

 /dev/sdc1 	/mnt/hard	auto	rw,user,auto,usrquota,grpquota		0	0

, , , , , , .

/etc/fstab

. .

, - , quotaoff /mnt/hard. quotacheck , , . ext4. , , xfs. quotacheck cug /mnt/hard. , /mnt/hard.

DevOquotacheck cug /mnt/hardps

2 aquota.group aquota.user. .

, , cat aquota.user , . , edquota u siadmin. . -u , .

.

, blocks 1 , soft , , , , hard , . , siadmin soft 10 hard 30, 15, , , . 40 , , . inodes, . , , , . edquota, , . nano. , , . , sudo edquota t.

sudo edquota t

, , . .

/etc/fstab , , quotacheck , edquota. , ! , sudo quotaon /mnt/hard. , aquota.group aquota.user .

, , . . root, /mnt/hard/. chown siadmin:root /mnt/hard. touch test.txt. . edquota u siadmin , . , . inodes. , .

, inodes. . /. sudo repqouta /mnt/hard .

sudo repqouta /mnt/hard

- man warnquota.

man warnquota

e-mail . smtp , .


>