Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The windows server file resource management server turns on disk quotas for specified ftp users

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

windows server file resource management server enables disk quotas for specified ftp users

Quotas and users

Disk quotas monitor individual user usage, so each user's disk space utilization does not affect the disk quotas of other users on the same volume. For example, if the quota limit is 500 MB and the user has saved 500MB of files on disk, the user must first delete or move some existing files from before writing additional data to the volume. However, as long as there is enough space, each other user can save up to 500MB of files in it.

Disk quotas are based on file ownership and are not limited by the folder location of user files in the volume. For example, if a user moves files from one folder to another folder on the same volume, volume space usage is unchanged. However, if users copy files to different folders on the same volume, volume space usage doubles.

Quotas are divided into two modes. One is hard quota, which does not allow users to exceed the quota. Soft quotas allow users to exceed quota limits. Hard quotas are mostly selected when used, and soft quotas are used for monitoring more.

First, install the corresponding service first. Below, use Windows Server 2016 to experiment.

Click Install and wait a moment

Because this experiment uses two accounts to reflect the effect, first create users and disk files

Next create ftp site

Site A

Site B

Next up is the point, creating quotas.

Quotas can be created using your own template, or you can use server-recommended templates.

After quota creation, log in with FileZilla Client and experiment

Since the previous quota is not more than 100M files can be uploaded successfully, the following directly with more than 100M files to see what happens

You can see that we cannot upload directly. We are trying to upload files smaller than 100M. What is the effect?

Files smaller than 100 MB can be uploaded directly

There are two types of quotas: hard quotas and soft quotas.

Same new quota

Note that quota attributes need to be changed to custom quota attributes

Pop-up new window space limit still selected 100M

Click Add to modify notification thresholds

Upload a file larger than 100 MB directly after modification

You can see successful uploads.

Open up the old file report and see what's in it.

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report