Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the no space left on device error in CentOS

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the relevant knowledge of how to solve no space left on device errors in CentOS, the content is detailed and easy to understand, the operation is simple and fast, and has a certain reference value, I believe you will have something to gain after reading this article on how to solve no space left on device errors in CentOS. Let's take a look.

Solve

1. Use the command: df-lk

It was found that a disk was full.

2. Use the command: du-- max-depth=1-h

Look for large files and find that there is 17g under the / home folder, because my apache is installed under / home, which must be the space occupied by the log files running on the website.

3. Enter the logs directory under apache

Use the command: ls-lht

Check the size of the file, sure enough, there is an 8.6g file, just delete it.

4. Use the command again: df-lk

Then start apache and nginx no problem, solve.

This is the end of the article on "how to solve no space left on device errors in CentOS". Thank you for reading! I believe that everyone has a certain understanding of the knowledge of "how to solve no space left on device errors in CentOS". If you want to learn more knowledge, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report