Linux system to enable or disable the user's disk space limit command

Source: Internet
Author: User

Quotaon
Quotaon command: Limits on disk space used to open a user

Parameters

-A to turn on all disk quota limits
Disk quota limit for-G group
-P list Status
-U user Quota limit
-V Runtime displays detailed processing information
--HELP Display Help information
--version Display version Information
Cases:

The code is as follows:

[Root@linux ~]# QUOTAON-AUVG #启动所有的具有quota的filesystem
[Root@linux ~]# quotaon-uv/disk2 #仅启动/disk2 inside the user quota setting value

Quotaoff
Quotaoff command: Limits on disk space used to turn off users
Parameters

-A turns off all disk quota limits
Disk quota limit for-G group
-P list Status
-U user Quota limit
-V Runtime displays detailed processing information
--HELP Display Help information
--version Display version Information
Cases:

The code is as follows:

[Root@linux ~]# quotaoff-a #关闭quota的限制

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.