China Naming Network - Ziwei Dou Shu - Linux doesn't have enough space to download things from supercomputing.
Linux doesn't have enough space to download things from supercomputing.
First of all, we need to know the reason why linux is out of space: 1, the disk is full; 2. The memory is full; Solution to insufficient disk space: 1 First, determine whether there is insufficient disk space; Enter the command: df–h Check the disk information; Obviously, the 40G capacity of mount point /dev/xvda 1 in the file system has been exhausted; The easiest way at this time is to find a big useless one. 2. Enter the command: du-h-max-depth = 1. Find out which folder in the current directory takes up the most space. 3. Enter the logs folder and enter the command: ls -lhS to display files in descending order. Enter the command: >. /catalina.out finish cleaning. Note: If the process is in use when cleaning the log, if rm -f is used to delete it, either the domain name of the cloud host is wrong, or the disk is still full even after being deleted, so the command to clear the contents of the log file is better than deleting this file. How to solve the problem of insufficient linux space is shared here. Of course, there are more analytical methods than the above, but Bian Xiao can guarantee that there is absolutely no problem with its accuracy.