当前位置:网站首页>报错FileSystemException: /datas/nodes/0/indices/gtTXk-hnTgKhAcm-8n60Jw/1/index/.es_temp_file:结构需要清理
报错FileSystemException: /datas/nodes/0/indices/gtTXk-hnTgKhAcm-8n60Jw/1/index/.es_temp_file:结构需要清理
2022-06-30 20:32:00 【橙子园】
首先我碰到的问题是服务器突然断电导致elasticsearch宕机,当我再次启动的时候
FileSystemException: /data/elasticsearchDatas/datas/nodes/0/indices/gtTXk-hnTgKhAcm-8n60Jw/1/index/.es_temp_file: 结构需要清理
到对应的目录中查看,ls查看文件时报
ls: 无法访问write.lock: 结构需要清理
所以判断肯定是由于断电导致分区数据损毁,丢失了文件的信息。所以需要修复分区,并重新挂载到目录上。
查看磁盘挂载
df -h

可看到文件所在的目录挂载的分区是/dev/sdc,这就是我们需要修复的。
先将已经挂载好的分区卸载下来
umount /dev/sdc
然后修复
xfs_repair /dev/sdc
修复好以后重启服务器、或者重新挂载,当然要看你挂载的分区持久化写入/etc/fstab中,如果写了,则重启服务器就会重新将分区挂载到目录下。
重启命令
reboot
根据上述操作,我的问题解决了,你的呢?
边栏推荐
- 判断js对象是否为空的方式
- 浅谈代码语言的魅力
- Lvalue reference and lvalue reference
- Informatics Olympiad 1362: family problems
- AVL balanced binary tree (I) - concept and C language implementation
- Go学习笔记
- 左值引用和右值引用
- The Commission is so high that everyone can participate in the new programmer's partner plan
- Jerry's question about long press boot detection [chapter]
- Peking University ACM problems 1005:i think I need a houseboat
猜你喜欢

二叉查找树(一) - 概念与C语言实现
![Jerry's touch key recognition process [chapter]](/img/3e/bb73c735d0a7c7a26989c65a432dad.png)
Jerry's touch key recognition process [chapter]

Basic concepts of tree

【微服务~Nacos】Nacos之配置中心

1. Introduction to generating countermeasures network

Maya House Modeling

Lumiprobe nucleic acid quantitative qudye dsDNA br detection kit

NLP paper lead reading | what about the degradation of text generation model? Simctg tells you the answer

Study on PEGylation of lumiprobe and PEG linker - iodine-peg3-acid

MFC界面库BCGControlBar v33.0 - 桌面警报窗口、网格控件升级等
随机推荐
NLP paper lead reading | what about the degradation of text generation model? Simctg tells you the answer
Basic concepts of tree
二叉查找树(一) - 概念与C语言实现
PM reports work like this, and the boss is willing to give you a raise
【数字IC应届生职业规划】Chap.1 IC行业产业链概述及代表企业大厂汇总
Golang应用 ━━ 安装、配置与使用hugo博客系统
No "history of blood and tears" in home office | community essay solicitation
我想知道股票开户要认识谁?另外,手机开户安全么?
QT qstringlist usage
Comparison between QT and other GUI Libraries
Analysis of breakpoint continuation and download principle
1. Introduction to generating countermeasures network
Heartbeat and DRBD configuration process
北京大学ACM Problems 1002:487-3279
1、生成对抗网络入门
Scene 299
Jerry's determination of detection sensitivity level [chapter]
SQL优化
在线教育项目用户登录和注册
Peking University ACM problems 1002:487-3279