报错FileSystemException: /datas/nodes/0/indices/gtTXk-hnTgKhAcm-8n60Jw/1/index/.es_temp_file:结构需要清理
首先我碰到的问题是服务器突然断电导致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
根据上述操作,我的问题解决了,你的呢?
报错FileSystemException: /datas/nodes/0/indices/gtTXk-hnTgKhAcm-8n60Jw/1/index/.es_temp_file:结构需要清理相关推荐
- oracle log block size,案例:Oracle无法启动报错ORA-00218: block size 0 重建控制文件
天萃荷净 oracle数据库无法启动报错ORA-00218故障,通过重建控制文件解决文件损坏问题 遇到一个案例在数据库启动的时候报ORA-00218错误,而这个故障的引起原因是因为重建控制文件的时候, ...
- 关于eclipse中web项目tomcat报错Server Tomcat v9.0 Server at localhost failed to start问题解决
第一次写博客,写个简单的好了 关于eclipse中web项目tomcat报错Server Tomcat v9.0 Server at localhost failed to start 问题 我的解决 ...
- 服务器安装opencv报错--libSM.so.6: cannot open shared ...+tensorflow 报错libcusolver.so.8.0: can not...
1.安装opencv出现以下错误: pip install opencv-contrib-python apt-get install -y python-qt4 apt-get install tk ...
- npm install 时候报错 gifsicle@5.2.0 postinstall: `node lib/install.js`
npm install 时候报错 gifsicle@5.2.0 postinstall: `node lib/install.js` > gifsicle@5.2.0 postinstall / ...
- 使用fswebcam报错Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy或者使用metion监控,画面为灰色
一,BUG解决 不知道大家使用树莓派的时候,有没有遇到过使用fswebcam报错Error selecting input 0 VIDIOC_S_INPUT: Device or resource b ...
- 2021-08-15nginx访问502,日志报错:connect() to 127.0.0.1:180 failed (13: Permission denied)解决
nginx访问502,日志报错:connect() to 127.0.0.1:180 failed (13: Permission denied)解决 安装启动nginx配置以后,访问报502错误,然 ...
- ubuntu启动报错 hardware error cpu 0 machine check 0 Bank 6、ACPI BIOS Error (bug)Could not resolve symbol
@[TOC](ubuntu启动报错 hardware error cpu 0 machine check 0 Bank 6.ACPI BIOS Error (bug)Could not resolve ...
- SAP MM 执行事务代码VL10B 报错-4501378483 000010 Only 0 CS of material ### available-
SAP MM 执行事务代码VL10B 报错-4501378483 000010 Only 0 CS of material 5011238 available- 笔者在项目上做一个测试,遇到了一个问题 ...
- 【Python】获取roc、auc时候报错:raise ValueError({0} format is not supported.format(y_type))
代码: fpr, tpr, thresholds = roc_curve(y_test, test_prob, pos_label=1, sample_weight=None, drop_interm ...
最新文章
- 聊聊rocketmq的ProducerImpl
- 马斯克成功把人从太空送回地球!历时64天,SpaceX首次载人任务圆满收工
- C#函数式程序设计之惰性列表工具——迭代器
- IDE之VS:Visual Studio2017版本安装图文教程之详细攻略
- python中plotly.express中线条图,Plotly在Python中表达的意外行
- 易经读书笔记11地天泰
- Atomic Integer 原理分析-getAndAddInt
- HDU - 3746 Cyclic Nacklace(KMP的next数组判循环节)
- 错误An entity with the same identity already exists in this EntitySet RIA
- 机器视觉系统需要考虑的十个问题
- LintCode 802. 数独(回溯)/ LeetCode 37. 解数独
- python 进程池pool
- java域名解析到目录_nginx将泛解析的匹配域名绑定到子目录配置方法
- Android Studio出现Error:No service of type Factory available in ProjectScopeServices.
- JAVA 实现《中国象棋》游戏
- 静态代理和动态代理区别(是否有实现类)
- Windows Server2012搭建邮件服务器
- MOD04_3K 产品使用方の法学习
- 计算机快捷键如何移动到桌面,如何设置显示桌面快捷键 设置显示桌面快捷键方法【图文】...
- DEFCON携手百度安全落地中国,打造国际化网络安全交流平台