Post by account_disabled on Mar 9, 2024 5:14:48 GMT
The the server has been exceeded table of contents hide. Df h command. Df I command. Du had command. Du inodes had command. Find command. Type f size m. Do you have a question or need help we will be helped by a few simple commands that we can use in the console to quickly identify the problem. It is important to verify and delete unnecessary data as soon as possible because the complete use of disk resources while the server is running may result in the failure to save important information damage to the script or database.
Df h command this command displays information about the size of our disk as well as the amount of used and free disk space. In the example below these are the values g m and g. Df I command this command displays the Phone Number List maximum number of files inodes that can exist on our server as well as the number of already existing files and the number of files that we can still create. In this case these are the values. Importantly for linux everything is a file and therefore the number of inodes alsoincludes directories and even symbolic links. Especially when we have a very dense directory structure on the server.
If we already know which parameter is exceeded it will be easier for us to set priorities. When too much space is taken up on the server lets first find and delete the largest files possible. If there are too many inodes our priority will be to find and delete as many files as possible. The du had command we can use it to display the occupancy of files and directories in the place where we are currently located. The number indicates the depth level in the directory structure that will be checked. The higher the number the more detailed data we will receive.
Df h command this command displays information about the size of our disk as well as the amount of used and free disk space. In the example below these are the values g m and g. Df I command this command displays the Phone Number List maximum number of files inodes that can exist on our server as well as the number of already existing files and the number of files that we can still create. In this case these are the values. Importantly for linux everything is a file and therefore the number of inodes alsoincludes directories and even symbolic links. Especially when we have a very dense directory structure on the server.
If we already know which parameter is exceeded it will be easier for us to set priorities. When too much space is taken up on the server lets first find and delete the largest files possible. If there are too many inodes our priority will be to find and delete as many files as possible. The du had command we can use it to display the occupancy of files and directories in the place where we are currently located. The number indicates the depth level in the directory structure that will be checked. The higher the number the more detailed data we will receive.