Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does ECS create a custom image to create why the server needs comment mounts

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Learn how ECS creates a custom image to create a server. Why do I need a comment mount? 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!

Why does ECS create a custom image to create a server that requires comment mounts

When creating an ECS instance with a custom image, mounting the disk fails for the following reasons:

The created instance does not have a data disk

The data disk is a new disk and has not been partitioned yet

The custom image created does not remove the entries of disk mount in / etc/fstab

You can see that the following figure indicates that there are currently no partitions:

You can see that in the ECS instance created by the custom image, the disk mount entry is not removed in the / etc/fstab:

When the instance is started, the disk is mounted according to the settings in the fstab file, but the mount fails because there is no partition:

There is no need to comment on disk mounting. Generally, a data disk is selected when the server is created, and the data disk is generated from a snapshot of a data disk that has been partitioned and formatted.

Thank you for reading! After reading the above, do you have a general idea of how ECS creates custom images and why comments are needed to create servers? 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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report