Disk management method, related device and medium

By monitoring the growth of disk space occupation in the R&D environment of Linux system servers, determining abnormal growth and intervening in time to prevent abnormal data writing, the problem of disk space full caused by abnormal data is solved, improving disk operation and maintenance efficiency and reducing costs.

CN120029532APending Publication Date: 2025-05-23JOULWATT TECH INC LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411244586.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

In the multi-person and multi-task R&D environment of Linux system servers, there is a lack of quota management for a single directory, resulting in abnormal data writing and disk space being filled, affecting the writing of normal project data and the normal use of other directory files. The full disk scanning speed is slow and takes a long time, resulting in waste of labor and time costs.

Method used

Provide a disk management method, by obtaining the total growth of disk space occupancy and the growth of disk space occupancy of each user within the current preset time interval, determine whether there is an abnormal growth, intervene in time to prevent abnormal data from being written to disk, and avoid using the full disk scan command.

Benefits of technology

It improves the operation and maintenance efficiency of disks, reduces the labor and time costs of R&D projects, avoids the R&D environment paralysis caused by full disk load, and ensures that the disk returns to normal work in a short period of time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120029532A_ABST
    Figure CN120029532A_ABST
Patent Text Reader

Abstract

The invention provides a disk management method, a related device and a medium. The method comprises the steps that the total increase amount of disk space occupation in a current preset time interval is obtained, the increase amount of disk space occupation occupied by all users in the current preset time interval is obtained, and the disk space occupation increase amount of all users in the current preset time interval is obtained based on the total increase amount of disk space occupation in the current preset time interval and the increase amount of disk space occupation occupied by all users. According to the method, whether the disk space occupation amount in the current preset time interval is abnormally increased or not is determined, and an abnormal data source is determined under the condition that the disk space occupation amount in the current preset time interval is abnormally increased, so that the situation that a whole disk is scanned by using a whole disk scanning command is avoided, and the operation and maintenance efficiency of the disk is improved; and the disk can continue to work normally after very short operation and maintenance time, so that the labor cost and the time cost of research and development projects are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the technical field of disk management, and in particular relates to a disk management method, related devices and media. Background Art

[0002] In the multi-person and multi-tasking R&D environment of the Linux system server, multiple technicians can read and write the same disk space for different project tasks of the R&D project. Under normal project working conditions, the disk space usage increases slowly with time and the progress of the project, and this growth is basically evenly distributed among the technicians (i.e. users). In addition, the EXT file system in the Linux system can provide quota management for the entire file system, but does not provide quota management for a single directory (i.e. project). This means that if (usually due to illegal operations by a user) a large amount of abnormal data other than the project is written to a specific directory on the disk, the entire disk space may be filled up, and the I / O channel will also be occupied, which will seriously affect the writing of normal project data and the normal use of other directories and files. Usually, without any monitoring of the disk space, users will not find that the remaining disk space is insufficient until the disk space is full and they cannot write data. Then, when the disk space is full, it is usually necessary to use the full disk scan command to scan the entire disk, compare the growth of the files to find the abnormal data with large data volume and locate the source of the data. However, due to the large disk space and the large number of projects (especially in the integrated circuit industry, the project data is mainly small files), the disk scanning speed is very slow and may take a whole day. During the disk scanning process, technicians cannot work normally, resulting in a lot of manpower costs and time waste. Summary of the invention

[0003] In view of the above problems, the present disclosure provides a disk management method, related devices and media, which aim to monitor the disk space occupancy within the current preset time interval during disk use and intervene in time to prevent abnormal data from being written to the disk, so as to improve the operation and maintenance efficiency of the disk and reduce the manpower and time costs of R&D projects.

[0004] According to a first aspect of the present disclosure, there is provided a disk management method, comprising:

[0005] Get the total increase in disk space usage within the current preset time interval;

[0006] Obtaining the growth amount of disk space occupied by each user within the current preset time interval;

[0007] Based on the total increase in disk space usage and the increase in disk space usage of each user within the current preset time interval, determining whether there is an abnormal increase in disk space usage within the current preset time interval;

[0008] When there is an abnormal increase in the disk space usage within the current preset time interval, the source of the abnormal data is determined.

[0009] Optionally, after determining whether there is an abnormal increase in the disk space usage within the current preset time interval based on the total increase in the disk space usage within the current preset time interval and the increase in the disk space usage occupied by each user, the disk management method further includes:

[0010] When there is no abnormal growth in the disk space occupancy during the current preset time interval, determine whether there is an abnormal growth in the disk space occupancy during the next preset time interval based on the total growth in the disk space occupancy during the next preset time interval and the growth in the disk space occupancy occupied by each user.

[0011] Optionally, the determining whether there is an abnormal increase in the disk space usage within the current preset time interval based on the total increase in the disk space usage and the increase in the disk space usage occupied by each user within the current preset time interval includes:

[0012] Compare the total increase in disk space usage within the current preset time interval with a first preset threshold;

[0013] When the total increase in disk space occupancy during the current preset time interval is greater than the first preset threshold, determine whether there is an abnormal increase in disk space occupancy during the current preset time interval based on the total increase in disk space occupancy during the current preset time interval and the increase in disk space occupancy occupied by each user.

[0014] Optionally, the determining whether there is an abnormal increase in the disk space usage within the current preset time interval based on the total increase in the disk space usage and the increase in the disk space usage occupied by each user within the current preset time interval includes:

[0015] Based on the total increase in disk space usage during the current preset time interval and the increase in disk space usage occupied by each user, calculating the occupancy ratio of the sum of the increase in disk space usage occupied by the first user during the current preset time interval to the total increase in disk space usage;

[0016] When the occupancy ratio is greater than a second preset threshold, it is determined that there is an abnormal growth in the disk space occupancy within the current preset time interval.

[0017] Optionally, the calculating, based on the total increase in disk space usage and the increase in disk space usage of each user within the current preset time interval, the occupancy ratio of the sum of the increase in disk space usage occupied by the first user within the current preset time interval to the total increase in disk space usage comprises:

[0018] Calculating the total increase in disk space occupied by the first user within the current preset time interval;

[0019] The occupation ratio is obtained by dividing the total increase in the disk space occupied by the first user in the current preset time interval by the total increase in the disk space occupied in the current preset time interval.

[0020] Optionally, the first users include a preset number of users whose disk space usage growth rate ranks top within the current preset time interval.

[0021] Optionally, when there is an abnormal increase in the disk space usage within the current preset time interval, determining the source of the abnormal data includes:

[0022] Performing source analysis on the data stored in the disk during the current preset time interval to determine the source of the abnormal data;

[0023] The abnormal data source is the user with the largest increase in disk space usage within the current preset time interval.

[0024] Optionally, when there is an abnormal increase in the disk space usage within the current preset time interval, after determining the source of the abnormal data, the disk management method further includes:

[0025] Delete abnormal data from disk.

[0026] Optionally, when there is an abnormal increase in the disk space usage within the current preset time interval, after determining the source of the abnormal data, the disk management method further includes:

[0027] Notify the administrator and / or the user whose disk space usage growth rate ranks first in the current preset time interval to confirm whether it is abnormal data;

[0028] If it is confirmed to be abnormal data, it will be deleted; if it is confirmed to be normal data, it will be retained.

[0029] According to a second aspect of the present disclosure, there is provided a disk management device, comprising:

[0030] The disk space usage total growth amount acquisition unit is used to acquire the total growth amount of the disk space usage within the current preset time interval;

[0031] A user disk space usage growth acquisition unit, used to acquire the disk space usage growth of each user within the current preset time interval;

[0032] an abnormal growth determining unit, configured to determine whether there is an abnormal growth in the disk space usage within the current preset time interval based on the total growth in the disk space usage and the growth in the disk space usage of each user within the current preset time interval;

[0033] The abnormal data source determination unit is used to determine the abnormal data source when there is an abnormal growth in the disk space usage within the current preset time interval.

[0034] According to a third aspect of the present disclosure, a server is provided, including:

[0035] Disk, disk space where multiple users read and write to said disk;

[0036] The disk management device as described above is used to execute the above method to determine the source of abnormal data.

[0037] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements the steps of the method described above when executed by the processor.

[0038] According to a fifth aspect of the present disclosure, a storage medium is provided, on which a computer program or instruction is stored, and when the computer program or instruction is executed by a processor, the steps of the method described above are implemented.

[0039] The present disclosure brings the following beneficial effects:

[0040] The disk management method provided by the present invention determines whether there is an abnormal growth in the disk space usage within the current preset time interval based on the total growth in the disk space usage within the current preset time interval and the growth in the disk space usage occupied by each user. If there is an abnormal growth in the disk space usage within the current preset time interval, the source of the abnormal data is determined. Before the disk space is full, the disk space usage within the current preset time interval is monitored during the use of the disk to determine whether there is an abnormal growth. If there is an abnormal growth in the disk space usage within the current preset time interval, timely intervention is performed to prevent abnormal data from being written to the disk, thereby avoiding the use of a full disk scan command to scan the entire disk, thereby improving the operation and maintenance efficiency of the disk. The disk can continue to work normally after a very short operation and maintenance time, thereby reducing the manpower and time costs of research and development projects.

[0041] Other features and advantages of the present disclosure will be described in the following description, and partly become apparent from the description, or understood by practicing the present disclosure. The purpose and other advantages of the present disclosure are realized and obtained by the structures particularly pointed out in the description and the drawings.

[0042] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0044] Figure 1 A schematic diagram showing the structure of a project development system provided according to an embodiment of the present disclosure is shown;

[0045] Figure 2 A schematic diagram showing a flow chart of a disk management method provided according to an embodiment of the present disclosure;

[0046] Figure 3 A schematic diagram showing a curve of disk space usage changing over time according to an embodiment of the present disclosure;

[0047] Figure 4 A schematic diagram showing the structure of a disk management device provided according to an embodiment of the present disclosure is shown;

[0048] Figure 5 A schematic structural diagram of an electronic device provided according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0049] Various embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. In each of the accompanying drawings, the same elements are represented by the same or similar reference numerals. For the sake of clarity, the various parts in the accompanying drawings are not drawn to scale.

[0050] The following terms are used in this article:

[0051] Disk, the disk in the server refers to the hardware device used to store data in the server. Disks can be divided into two main types: hard disk drives (HDD) and solid-state drives (SSD). It is very useful for team collaboration because it allows multiple technicians to access and modify the same data at the same time. For example, one technician may be developing a new feature while another technician may be fixing a bug. By sharing the disk, they can perform these operations at the same time without interfering with each other.

[0052] Nagios is an open source host status monitoring tool, and check_disk is its included disk space monitoring plug-in. The check_disk plug-in can check disk usage, which can help system administrators monitor the server's disk space usage to prevent system problems caused by disk space exhaustion. The check_disk plug-in can check the usage of one or more disk partitions, including the space used, the remaining space, the number of inodes used, the number of inodes remaining, etc. It can set critical values, and when the disk usage exceeds the critical value, Nagios will send a warning. Using the check_disk plug-in, system administrators can regularly check disk usage, promptly discover and deal with insufficient disk space problems, and avoid system failures caused by disk space exhaustion.

[0053] Repquota is a Unix / Linux command that reports the disk quota usage of a file system. This command can display the disk usage of each user or user group in a specific file system, including information such as the used space, quota limit, number of files used, etc. The Repquota command is very useful for system administrators, as it can help them monitor and manage the disk usage of users or user groups and prevent certain users or user groups from overusing disk space.

[0054] Figure 1 FIG. 1 is a schematic diagram showing a structure of a project development system provided according to an embodiment of the present disclosure. Figure 1 As shown, the project development system 1000 provided by the embodiment of the present disclosure includes: a plurality of terminal devices 1100 and a server 1200 connected via a network. In some embodiments, the server 1200 includes a disk 1210 and a disk management device 1220 .

[0055] In some embodiments, in the server 1200, the disk 1210 is a hardware device for storing data. In some embodiments, the disk 1210 can be shared by multiple users, which means that multiple users can simultaneously read and write the disk space of the disk 1210 for different project tasks of the R&D project through the corresponding terminal device 1100. The terminal device 1100 is a communication device that can be used in a mobile state. The terminal device 1100 includes a mobile phone, a mobile computer, a tablet computer, a personal digital assistant (PDA), a media player, a smart TV, a smart watch, a smart glasses, a smart bracelet, a smart car and a vehicle-mounted terminal, etc.

[0056] In some embodiments, before the disk space of disk 1210 is full, the disk management device 1220 monitors whether there is an abnormal increase in the disk space usage within the current preset time interval during the use of the disk. If there is an abnormal increase in the disk space usage within the current preset time interval, the disk management device 1220 intervenes in time to prevent abnormal data from being written to disk 1210, thereby avoiding the use of a full disk scan command to scan the entire disk 1210, thereby improving the operation and maintenance efficiency of disk 1210, and allowing disk 1210 to continue to work normally after a very short operation and maintenance time, thereby reducing the manpower and time costs of R&D projects.

[0057] Since the process of using the disk management method of the embodiment of the present disclosure to timely intervene and prevent abnormal data from being written to the disk will be described in detail below, it will not be repeated here.

[0058] Figure 2 The data migration method of the embodiment of the present disclosure can be performed by Figure 1 The disk management device 220 executes. Figure 2 As shown, the disk management method of the embodiment of the present disclosure may include:

[0059] In step S210, the total increase in disk space usage within the current preset time interval is obtained.

[0060] In some embodiments, the check_disk plug-in is used to calculate the total increase in disk space usage within the current preset time interval at every preset time interval. For example, the check_disk plug-in is used to calculate the total increase in disk space usage within the past 30 minutes every 30 minutes. In some embodiments, the total increase in disk space usage within the current preset time interval is compared with a first preset threshold, and step S230 is performed only when the total increase in disk space usage within the current preset time interval is greater than the first preset threshold. In some embodiments, the first preset threshold can be set using the check_disk plug-in, and when the total increase in disk space usage within the current preset time interval exceeds the first preset threshold, Nagios sends a warning.

[0061] In some embodiments, a check_disk plug-in may be used to collect statistics on changes in disk space usage. Figure 3 A schematic diagram showing a curve of disk space usage changing over time according to an embodiment of the present disclosure is shown. Figure 3 As shown, the change curve of disk space usage over time can be statistically analyzed. The change curve can more intuitively reflect the growth of the project data stored in the disk. Based on this, it can be determined whether the disk needs to be expanded in the future, and it can also reflect the development of the project from the side.

[0062] In step S220, the increase in disk space occupied by each user within the current preset time interval is obtained.

[0063] In some embodiments, the Repquota command is used to calculate the growth of disk space occupied by each user in the current preset time interval every preset time interval. For example, the Repquota command is used to calculate the growth of disk space occupied by each user in the past 30 minutes every 30 minutes. For example, the growth of disk space occupied by user A in the past 30 minutes is 100MB, the growth of disk space occupied by user B in the past 30 minutes is 200MB, and the growth of disk space occupied by user C in the past 30 minutes is 300MB.

[0064] In step S230, based on the total increase in disk space usage and the increase in disk space usage of each user within the current preset time interval, it is determined whether there is an abnormal increase in disk space usage within the current preset time interval.

[0065] In some embodiments, based on the total growth amount of disk space occupied in the current preset time interval and the growth amount of disk space occupied by each user, the occupation ratio of the sum of the growth amount of disk space occupied by the first user in the current preset time interval to the total growth amount of disk space occupied is calculated. In some embodiments, the growth amount of disk space occupied by each user in the current preset time interval is sorted. The preset number (for example, the first 3) users with the top ranking of the growth amount of disk space occupied in the current preset time interval are taken as the first user. The sum of the growth amount of disk space occupied by the first user in the current preset time interval is calculated, and the sum of the growth amount of disk space occupied by the first user in the current preset time interval is divided by the total growth amount of disk space occupied in the current preset time interval to obtain the occupation ratio. For example, the top 3 users in the order of the growth amount of disk space occupied are user A, user B and user C. The growth amount of disk space occupied by user A, user B and user C is added to obtain the sum L2 of the growth amount of disk space occupied by user A, user B and user C in the current preset time interval (for example, L2=100MB+200MB+300MB). The total increase in disk space occupied by user A, user B and user C in the current preset time interval L2 is divided by the total increase in disk space occupied in the current preset time interval L1 to obtain the occupancy ratio R (ie, R=L2 / L1).

[0066] In some embodiments, when the occupancy ratio is greater than a second preset threshold value (e.g., 80%), it is determined that the disk space occupancy has abnormal growth in the current preset time interval, that is, the growth of the disk space occupancy in the current preset time interval does not conform to the growth characteristics of normal project data. In this case, step S240 can be executed to trigger abnormal data source analysis.

[0067] In some embodiments, when there is no abnormal growth in the disk space usage within the current preset time interval, the process can return to step S210-step S230 to determine whether there is an abnormal growth in the disk space usage within the next preset time interval based on the total growth in the disk space usage within the next preset time interval and the growth in the disk space usage occupied by each user.

[0068] In step S240, when there is an abnormal increase in the disk space usage within the current preset time interval, the source of the abnormal data is determined.

[0069] In some embodiments, a source analysis is performed on the data stored on the disk within the current preset time interval to determine the source of the abnormal data. The source of the abnormal data is the user with the highest increase in disk space usage within the current preset time interval. In some embodiments, after the source of the abnormal data is determined, the abnormal data is directly deleted from the disk. In some embodiments, after the source of the abnormal data is determined, the administrator and / or the user with the highest increase in disk space usage within the current preset time interval is notified to confirm whether it is abnormal data. If it is confirmed to be abnormal data, the abnormal data is deleted; if it is confirmed to be normal data, the normal data is retained.

[0070] It is understandable that the embodiment of the present disclosure monitors in real time the ratio of the sum of the growth of the disk space occupied by the first user within the current preset time interval to the total growth of the disk space occupied, triggers abnormal data source analysis when the occupancy ratio is greater than the second threshold, and intervenes in time to prevent abnormal data from being written to the disk. Compared with the method of passively searching for the source of abnormal data only after the disk is full in the related art, the disk management method of the embodiment of the present disclosure actively monitors the disk space before the disk space is full, which can avoid the occurrence of the paralysis of the R&D environment due to the full disk load, and improve the operation and maintenance efficiency of the disk.

[0071] Figure 4 FIG. 1 is a schematic diagram of a disk management device provided according to an embodiment of the present disclosure. Figure 4 As shown, the disk management device 400 includes a disk space total growth acquisition unit 410, a user disk space growth acquisition unit 420, an abnormal growth determination unit 430 and an abnormal data source determination unit 440.

[0072] The disk space occupied total growth amount acquisition unit 410 is used to acquire the total growth amount of the disk space occupied within the current preset time interval.

[0073] The user disk space occupancy growth amount acquisition unit 420 is used to acquire the disk space occupancy growth amount occupied by each user within the current preset time interval.

[0074] The abnormal growth determination unit 430 is used to determine whether there is an abnormal growth in the disk space usage within the current preset time interval based on the total growth in the disk space usage and the growth in the disk space usage occupied by each user within the current preset time interval.

[0075] The abnormal data source determination unit 440 is used to determine the abnormal data source when there is an abnormal growth in the disk space usage within the current preset time interval.

[0076] Since the process of using the disk management method of the embodiment of the present disclosure to timely intervene and prevent abnormal data from being written to the disk has been described in detail in the method embodiment above, it will not be repeated here.

[0077] The present disclosure also provides an electronic device, such as Figure 5 As shown, the electronic device 500 includes a memory 520, a processor 510, and a program stored in the memory 520 and executable on the processor 510. When the program is executed by the processor 510, each process of each embodiment of the above-mentioned disk management method can be implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0078] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by controlling related hardware through instructions, and the instructions can be stored in a computer-readable storage medium and loaded and executed by a processor. To this end, the embodiments of the present disclosure also provide a storage medium, on which a computer program or instruction is stored, and when the computer program or instruction is executed by the processor, each process in each embodiment of the above disk management method can be implemented.

[0079] Since the instructions stored in the storage medium can execute the steps in the disk management method provided in the embodiment of the present disclosure, the beneficial effects that can be achieved by the disk management method provided in the embodiment of the present disclosure can be achieved. For details, please refer to the previous embodiment, which will not be repeated here. The specific implementation of each of the above operations can be referred to the previous embodiment, which will not be repeated here.

[0080] In summary, the disk management method provided by the present invention determines whether there is an abnormal growth in the disk space occupancy within the current preset time interval based on the total growth in the disk space occupancy within the current preset time interval and the growth in the disk space occupancy occupied by each user. If there is an abnormal growth in the disk space occupancy within the current preset time interval, the source of the abnormal data is determined. Before the disk space is full, the disk space occupancy within the current preset time interval is monitored during the use of the disk to determine whether there is an abnormal growth. If there is an abnormal growth in the disk space occupancy within the current preset time interval, timely intervention is performed to prevent abnormal data from being written to the disk, thereby avoiding the use of a full disk scan command to scan the entire disk, thereby improving the operation and maintenance efficiency of the disk. The disk can continue to work normally after a very short operation and maintenance time, thereby reducing the manpower and time costs of R&D projects.

[0081] Finally, it should be noted that: Obviously, the above embodiments are only examples for clearly illustrating the present disclosure, and are not intended to limit the implementation methods. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from this are still within the scope of protection of the present disclosure.

Claims

1. A disk management method, comprising: Get the total increase in disk space usage within the current preset time interval; Obtaining the growth amount of disk space occupied by each user within the current preset time interval; Based on the total increase in disk space usage and the increase in disk space usage of each user within the current preset time interval, determining whether there is an abnormal increase in disk space usage within the current preset time interval; When there is an abnormal increase in the disk space usage within the current preset time interval, the source of the abnormal data is determined.

2. The disk management method according to claim 1, wherein: After determining whether the disk space usage in the current preset time interval has abnormal growth based on the total growth amount of the disk space usage in the current preset time interval and the growth amount of the disk space usage occupied by each user, the disk management method further includes: When there is no abnormal growth in the disk space occupancy during the current preset time interval, determine whether there is an abnormal growth in the disk space occupancy during the next preset time interval based on the total growth in the disk space occupancy during the next preset time interval and the growth in the disk space occupancy occupied by each user.

3. The disk management method according to claim 1, wherein: The determining whether there is an abnormal growth in the disk space usage within the current preset time interval based on the total growth in the disk space usage and the growth in the disk space usage of each user within the current preset time interval includes: Compare the total increase in disk space usage within the current preset time interval with a first preset threshold; When the total increase in disk space occupancy during the current preset time interval is greater than the first preset threshold, determine whether there is an abnormal increase in disk space occupancy during the current preset time interval based on the total increase in disk space occupancy during the current preset time interval and the increase in disk space occupancy occupied by each user.

4. The disk management method according to claim 1, wherein: The determining whether there is an abnormal growth in the disk space usage within the current preset time interval based on the total growth in the disk space usage and the growth in the disk space usage of each user within the current preset time interval includes: Based on the total increase in disk space usage during the current preset time interval and the increase in disk space usage occupied by each user, calculating the occupancy ratio of the sum of the increase in disk space usage occupied by the first user during the current preset time interval to the total increase in disk space usage; When the occupancy ratio is greater than a second preset threshold, it is determined that there is an abnormal growth in the disk space occupancy within the current preset time interval.

5. The disk management method according to claim 4, wherein: The calculating, based on the total increase in disk space usage within the current preset time interval and the increase in disk space usage occupied by each user, the occupancy ratio of the sum of the increase in disk space usage occupied by the first user within the current preset time interval to the total increase in disk space usage comprises: Calculating the total increase in disk space occupied by the first user within the current preset time interval; The occupation ratio is obtained by dividing the total increase in the disk space occupied by the first user in the current preset time interval by the total increase in the disk space occupied in the current preset time interval.

6. The disk management method according to claim 4 or 5, wherein: The first users include a preset number of users whose disk space usage growth rate ranks top within the current preset time interval.

7. The disk management method according to claim 6, wherein: In the case where the disk space usage in the current preset time interval has an abnormal growth, determining the source of the abnormal data includes: Performing source analysis on the data stored in the disk during the current preset time interval to determine the source of the abnormal data; The abnormal data source is the user with the largest increase in disk space usage within the current preset time interval.

8. The disk management method according to claim 1, wherein: In the case where the disk space usage in the current preset time interval has an abnormal growth, after determining the source of the abnormal data, the disk management method further includes: Delete abnormal data from disk.

9. The disk management method according to claim 1, wherein: In the case where the disk space usage in the current preset time interval has an abnormal growth, after determining the source of the abnormal data, the disk management method further includes: Notify the administrator and / or the user whose disk space usage growth rate ranks first in the current preset time interval to confirm whether it is abnormal data; If it is confirmed to be abnormal data, it will be deleted; if it is confirmed to be normal data, it will be retained.

10. A disk management device, comprising: The disk space usage total growth amount acquisition unit is used to acquire the total growth amount of the disk space usage within the current preset time interval; A user disk space usage growth acquisition unit, used to acquire the disk space usage growth of each user within the current preset time interval; an abnormal growth determining unit, configured to determine whether there is an abnormal growth in the disk space usage within the current preset time interval based on the total growth in the disk space usage and the growth in the disk space usage of each user within the current preset time interval; The abnormal data source determination unit is used to determine the abnormal data source when there is an abnormal growth in the disk space usage within the current preset time interval.

11. A server, comprising: Disk, disk space where multiple users read and write to said disk ; The disk management device according to claim 10, wherein the disk management device is used to execute the method according to any one of claims 1 to 9 to determine the source of abnormal data.

12. An electronic device comprising: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements the steps of the method according to any one of claims 1 to 9 when executed by the processor.

13. A storage medium having a computer program or instruction stored thereon, wherein the computer program or instruction, when executed by a processor, implements the steps of the method according to any one of claims 1 to 9.