In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.