Home > Operation and Maintenance > Linux Operation and Maintenance > Solution to data loss after ECS Linux server restarts

Solution to data loss after ECS Linux server restarts

坏嘻嘻
Release: 2018-09-29 13:46:07
Original
3508 people have browsed it

The content of this article is about the solution to data loss after restarting the ECS Linux server. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

Solution to data loss after restarting ECS ​​Linux server

Problem description:

The /alidata directory was found after restarting the server All data is lost.

Solution to data loss after ECS Linux server restarts

Problem analysis:

df -h checked and found that it was not mounted.

Solution to data loss after ECS Linux server restarts

Solution:

fdisk -l shows that there is an unmounted hard disk.

Solution to data loss after ECS Linux server restarts

Note: The following uses an IO optimized instance as an example. If it is a non-IO optimized instance and the disk partition is /dev/xvdb1, please operate according to the actual situation.

You can use the command: mount /dev/vdb1 /alidata to mount.

Solution to data loss after ECS Linux server restarts

Return to normal after mounting.

Note: To avoid the same error next time, you can set automatic mounting at boot in /etc/fstab.

Solution to data loss after ECS Linux server restarts

The above is the detailed content of Solution to data loss after ECS Linux server restarts. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template