One of the problems that often plague us when we use computers is that there is not enough disk space. Users in Linux systems often face this problem. Sometimes we delete the large files on the disk, but the disk space is still insufficient, so how to solve this problem? Let's take a look at the solution to this problem with Xiaobian.
Solution:
Check disk space
[@ 74.114 var] # df -h
Filesystem Size Used Avail Use% Mounted On
/dev/xvda2 9.7G 284M 8.9G 4% /
/dev/xvda1 251M 13M 226M 6% /boot
none 1.1G 0 1.1G 0% /dev/shm
/dev/xvda10 97G 60G 33G 65% /home
/dev/xvda3 3.9G 2.7G 1.1G 72% /usr
/dev/Xvda5 3.9G 3.6G 77M 98% /var
The var partition is almost full, find large files, and delete
[@74.114 var]# cd /var
[ @74.114 var]# du –sh *
3.3G account
111M cache
53M log
0 mail
156K Run
344K spool
…
[@74.114 var]# rm –rf account/*
df –h look, but Still /var is 98%, not released at all.
[@74.114 var]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda2 9.7G 284M 8.9G 4% /
/dev/xvda1 251M 13M 226M 6% /boot
none 1.1G 0 1.1G 0% /dev/shm
/dev/xvda10 97G 60G 33G 65% /home< Br>
/dev/xvda3 3.9G 2.7G 1.1G 72% /usr
/dev/xvda5 3.9G 3.6G 77M 98% /var
But du –sh * But there is no big file
[@74.114 ~]# cd /var && du –sh *
120K account
111M cache
53M log
0 mail
156K run
344K spool
… Previous12Next Total 2 Pages
LVS cluster uses three ip load balancing technologies, namely VS/NAT, VS/TUN and VS
From the Linux command bzip2, it is a compression-related command. This is also true, the function o
The Linux logo is a command line tool. The function of this Linux tool is to generate color ANSI cod
The Ubuntu source command is used to make the configuration information set in the
Ubuntu 14.04 method for loading shutdown/restart options in Dash
What if CentOS uses MPlayer without sound?
Handling of the Segmentation fault error in Linux programming
How to install and set up MQ in Linux
How does Linux modify the RPM installation directory?
What should I do if Ubuntu prompts the list error when opening the software center?
Ubuntu 12.04 removes the Gnome Shell extension's tips
How to use the sleep command on Linux
What is the Linux Find File command?
What are the SELinux security mechanisms?
Solve phpMyAdmin does not allow empty password login configuration method
Share how to compile passwords that are not easy to forget and are not easy to crack
Win10 view two ways to start the system
Master solution for Win 7 installation system optimization settings (1)
Win7 boot prompt system automatic repair can not enter normally
System backup and restore operation under Win7
How to delete redundant accounts after creating a new user in Win8 system?
Win10 system set the specific steps of printer sharing
Save disk space Magic delete duplicate files (1)
What are the input methods that can be used smoothly in Win10