In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How to deal with the missing data disk after the ECS Linux server restarts the server and initializes the system? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!
The data disk disappeared after the ECS Linux server restarted the server and initialized the system.
Problem phenomenon:
After the Linux system server restarts or initializes the system, log in to the server to perform df-h to check the disk mount and find that the data is missing.
The cause of the problem:
Restart the server: because the mount information was not written to / etc/fstab during the operation of the mount data disk, the system did not mount the data disk automatically after restarting the server.
Initialize the system: because initializing the system disk resets the / etc/fstab file, the system boot does not automatically mount the data disk after initialization.
Solution:
Please manually execute the mount / dev/xvdb1 command to mount the data disk
Execute the mount command to check the file format of the data disk partition / dev/xvdb1
To see that / dev/xvdb1 is in ext3 format, execute the following command to write the data disk mount information to / etc/fstab
Echo'/ dev/xvdb1 / data ext3 defaults 0'> > / etc/fstab
If you restart the server after the above operation, the data disk will not be loaded. Of course, the above operation will need to be performed after the initialization system is operated next time.
Thank you for reading! After reading the above, do you have a general idea of how to deal with the ECS Linux server restarting the server and initializing the system after the data disk is missing? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.