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

The causes and Solutions of the failure to write Files in linux

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

First, the space is full

Df-h # View space usage

2. The number of files inodes exceeds the limit

Df-I

Solution:

1. The storage server using NetApp modifies the number of inodes

Maxfiles volname [new_number_of_files]

Note: if you set the number of inodes, you can gradually increase it when you find that it is almost full (80%).

2. Delete useless files

For example, output the number of files in each folder under the home directory

For i in ~ / home;do echo $iTinct find $I | wc-l done

If you find that there are too many files in that directory, delete the files in that directory appropriately.

These are the details of the failure to write a file under linux. Please pay more attention to other related articles!

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

Servers

Wechat

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

12
Report