How to solve the big secret of hard disk space shortage

Source: Internet
Author: User

Nowadays, the hard disk capacity is getting bigger and bigger, but when the size of the hard disk is exhausted, especially for file servers, multiple users share the hard disk space, and there will be insufficient hard disk space. To make full use of these valuable hard disk space resources and avoid waste, we must learn to restrict them. The limitations on hard disk space are also skillful. I will introduce the restrictions on hard disk space in two ways: Windows User Account restrictions and folder restrictions.

I. Disk Quota, limit each user

If your Windows system adopts the NTFS file format, you can use the "Disk Quota" function. It can be used for each Windows User Account in the system, restrict the disk space resources of the file server.

In the LAN managed by the author, a file server provides shared resources on the hard disk, and all the shared folders are stored on the server's d disk. The "Disk Quota" function can be used to limit the empty disk capacity of the d disk used by every Windows user who can access shared resources.

Assume that you have several Windows user accounts, such as "YANPI1, YANPI 2, and YANPI 3", and have the read and write permissions on the shared folder of the d disk, to limit the waste of shared folder hard disk space resources on the file server, you can enable the "Disk Quota" function on disk D of the file server, specifies the number of hard disk spaces that can be used by a Windows User Account with read and write permissions.

1. Enable the "Disk Quota" Function

In the resource manager of the file server, right-click the drive D letter, select the "attribute" option from the shortcut menu, and then switch to the "quota" tab. After selecting the "enable quota management" item, the "Disk Quota" function is activated. Then, make sure that the "Deny disk space to users who exceed the quota" item is selected, in addition, I suggest you select "record events when the user exceeds the quota limit" and "record events when the user exceeds the warning level" to record quota alarms to Windows logs, to facilitate network management analysis, click "application ".

2. Restrictions

Click the "quota items" button to bring up the disk quota project window. Next, we will limit the quota for each Windows user. Click "quota new quota". In the Select User dialog box, find the "YANPI1" user and click "OK, then, set the quota for the user in "Add new quota item.

Select "Limit disk space to", enter "1000" in the blank bar, and enter "950" in the "set warning level to" column ", select "MB" for the disk capacity unit, and click "OK" to complete the disk quota setting for "YANPI1". In this way, the user can only use a MB shared folder hard disk space. The methods for setting quotas for other users are the same. Follow the steps above to configure the quotas.

TIPS:The application of the "Disk Quota" function is based on the hard disk drive letter, and the restrictions on other hard disk drive letters are the same.

Ii. Restrict the folder "capacity"

This section describes how to use the "Disk Quota" function provided by Windows to limit the disk space used by each Windows user. But it also has a lot of deficiencies. This is the hard disk space used by a specific folder, but it is powerless. Although you limit the hard disk space used by each user, multiple users work together on one shared folder, which can also make the size of the shared folder extremely huge, which is also very insecure. Therefore, limiting the amount of hard disk space occupied by each folder can also enhance the security of data files and reduce the number of times data files are damaged by humans or viruses, the "SpaceGuardSRM" disk management tool can solve this problem.

1. Installation

Install and configure the "spaceguardsrm" disk management tool from" http://soft.winzheng.com/softview/softview_23021.htm. The following uses the "yanpi" folder on the d disk in the file server as an example to limit the disk space it occupies.

In the "Browse Network" form on the left side of the "SpaceGuardSRM" Console window, expand "Network Attached Microsoft Windows Network Attached Workgroup" and find the "Network Attached Workgroup" icon. The following describes how to install the "SpaceGuardSRM" service to limit the hard disk space of the "yanpi" folder. Right-click the file server icon in the "Browse network" form and choose "Service Management overview Install/Remove" from the shortcut menu, the "SpaceGuard SRM Service Setup" Service installation configuration dialog box is displayed. Click the "Install" button and wait a moment to complete the installation of the "SpaceGuard SRM" Service.

2. Restrictions

After the "SpaceGuard SRM" service is installed, I can start to limit the hard disk capacity of the "yanpi" shared folder. In the "Browse network" form on the left side of the main window, find the "yanpi" folder of drive D, right-click the "yanpi" project, and select "Quota Manage Add" in the shortcut menu that appears ", in the directory configuration dialog box, click "Next" to go to the "Quota-Policy" Quota Policy Dialog Box. Although SpaceGuardSRM provides a large number of quota policies, it may not meet the needs of all users and can be customized.

Next, I will define my own Quota Policy. In the "Quota-Policy" Quota Policy dialog box, select the "Specify Quota Plice" option and click "Next, in the "Absolute valu" column, enter the hard disk Quota limit of the "yanpi" folder, for example, "MB". Click "Next" to go to the "Quota-Limits" Quota limit dialog box, in this dialog box, set the quota operation parameters for this quota policy.

Here, when the "yanpi" folder is set to "97%" of the quota capacity, a warning is issued. When "100%" is reached, all users are prohibited from using this folder. Click "Add" to go to the "Configure Limit" configuration restriction dialog box, enter "97" in the "Percentage of Quota size" column, and then click "Add, in the displayed dialog box, select the "Popup" option and click "OK. In the "Quota-Limits" configuration restriction dialog box, click "Add" again, enter "100" in the "Percentage of Quota size" column, and click "Add, select "Revoke Access" and click "OK.

In the "Quota-Save policy" dialog box, enter the name of this Quota policy item, and click "finish. In this way, the disk quota for the "yanpi" folder of the d disk is limited to less than MB. The restrictions on other folders are the same, so I will not repeat them here.

The "Disk Quota" function is used to limit the disk space used by each Windows User Account, while "SpaceGuardSRM" can limit the disk space used by each folder. The combination of the two methods can achieve better hard disk resource management.

Related Article

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.