In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Today, the editor shares with you the use of linux's setquota command to set file system quotas. I believe many people do not know much about it. In order to make you understand better, I have summarized the following contents for you. Let's look down together. I'm sure you'll get something.
Setquota is a command-line quota editor that can directly set quota limits for users or user groups in a command-line manner.
If you want to disable quota limits, you can set the corresponding parameter to 0. If multiple file systems need to modify quota settings, each file system needs to call the setquota command once.
Syntax format: setquota [parameters]
Common parameters:
-an edit all file systems with quota limits enabled-b read quota setting information from standard input-u set command line parameter name specify user's quota-t set user data fast and Inode grace time period
Reference example
Set the quota limit for the specified user on the file system (/ dev/sdb2):
[root@linuxcool] # setquota-u zwx 20480 40 960 600 1200 / deb/sda1
Set the grace period for data blocks and inodes to 10 days (86400 seconds per day):
[root@linuxcool ~] # setquota-tu 864000 86400 / deb/sda1 so much for setting file system quotas using linux's setquota command. I hope the above content can be used as a reference for you. If you like this article, you might as well share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.