当前位置:网站首页>报错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
根据上述操作,我的问题解决了,你的呢?
边栏推荐
- 数据库 OLAP、OLTP是什么?相同和不同?适用场景
- On inline function
- 1045 error occurred in MySQL login. Modification method [easy to understand]
- 1、生成对抗网络入门
- 居家办公没有“血泪史”| 社区征文
- 二叉查找树(一) - 概念与C语言实现
- 判断js对象是否为空的方式
- Lumiprobe protein quantitation - qudye Protein Quantitation Kit
- Peking University ACM problems 1000:a+b problem
- uniapp怎么上传二进制图片
猜你喜欢

uniapp-富文本编辑器

哈夫曼树(一)基本概念与C语言实现

PHP obtains opcode and C source code

Based on the open source stream batch integrated data synchronization engine Chunjun data restore DDL parsing module actual combat sharing

By analyzing more than 7million R & D needs, it is found that these eight programming languages are the most needed by the industry

Label Contrastive Coding based Graph Neural Network for Graph Classification

Lambda expression principle analysis and learning (June 23, 2022)

obsidian配合hugo的使用,让markdown本地编辑软件与在线化无缝衔接

二叉查找树(一) - 概念与C语言实现

AVL balanced binary tree (I) - concept and C language implementation
随机推荐
Lumiprobe染料 NHS 酯丨BDP FL NHS 酯研究
Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
Huffman Tree (1) Basic Concept and C - language Implementation
B_QuRT_User_Guide(31)
动态样式绑定--style 和 class
What are database OLAP and OLTP? Same and different? Applicable scenarios
转:用实际行动赢得别人追随
The newly born robot dog can walk by himself after rolling for an hour. The latest achievement of Wu Enda's first disciple
MySQL简介、详细安装步骤及使用 | 黑马程序员
Heartbeat uses NFS to make MySQL highly available based on CRM
Description of the latest RTSP address rules for Hikvision camera, NVR, streaming media server, playback and streaming [easy to understand]
Lumiprobe copper free click chemical solution
Jerry's touch key recognition process [chapter]
RP原型资源分享-购物类App
Go language identifier and package name specification
What bank card do you need to open an account online? In addition, is it safe to open an account online now?
B_QuRT_User_Guide(33)
AVL平衡二叉树(一) - 概念与C语言实现
DEX file parsing - Method_ IDS resolution
北京大学ACM Problems 1005:I Think I Need a Houseboat