When updating the Linux system, the system prompts that the VaR space is insufficient.

Source: Internet
Author: User

Cause Analysis 1:
If/var is partitioned separately, it may be because the partition capacity is too small. when updating the system or installing large software, the/var directory is used. Therefore, insufficient space is prompted. Use the following method to solve the problem.

Method 1:
Sudo apt-Get clean
Sudo apt-Get autoremove
Restart the machine. If there is still insufficient space, use method 2.

Method 2:
Use symbolic links to determine ﹕
MV/var/spool/home // first move the large directory in/var to/home or another directory with sufficient space.
Ln-S/home/spool/var // create a symbolic link. /Var/spool points to/home/spool to solve the problem of insufficient var space.

 

Cause Analysis 2:
If/var is not partitioned separately, the system shares the/home directory by default. If the/var space is insufficient, the/home space is insufficient. In this case, we recommend that you reinstall the system, re-plan the partition structure. In general, the/var directory 2g-4G is better, or it is not partitioned and shared/home.

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.