Simple steps for creating disk quotas

xiaoxiao2021-03-06  21

Simple steps for creating disk quotas

Taking RH as an example, the Simple step of establishing a quota configuration and usage process under / home:

1, first join the quota parameters in / etc / fstab

/ DEV / HDAX / Home Ext3 Defaults,

USRQUOTA, GRPQUOTA 0 0

#usrquota: Make the user disk quota

#grpquota: Group Disk Quota

2, use remount to bring the parameters into / etc / fstab

Mount -o Remount / HOME

Then use the mount command to check whether the above parameters write such as / etc / fstab file

3, establish disk quota configuration file

Touch /Home/quota.user /Home/quota.group

Quotacheck -Augv / Home

4, edit disk quota configuration file

Edquota Username

Edquota -g Groupname

5, open disk quota function

Quotaon -augv

转载请注明原文地址:https://www.9cbs.com/read-43695.html

New Post(0)