In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How does ECS use snapshots to create disks to achieve lossless expansion of data disks? 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!
ECS uses snapshots to create disks to achieve lossless expansion of data disks
When expanding a data disk, if it cannot be expanded without loss due to disk reasons, you can temporarily purchase an independent cloud disk to store the data, and then format the data disk thoroughly. Here are the steps:
1. First, create a snapshot based on the current data disk and back up the data. at the same time, you can use this snapshot to directly create a separate cloud disk to save time for copying data back and forth.
two。 Open the purchase page (https://ecs-buy.aliyun.com/#/clouddisk) of an independent cloud disk, select the region of the same availability zone as ECS, and purchase an independent cloud disk. When purchasing, directly select to create a disk with a snapshot, and use the snapshot in step 1.
3. Open the ECS console disk page, find the independent cloud disk you just purchased, and mount the independent cloud disk to the ECS in more options.
4. Log in to the server, mount this independent cloud disk to the system using the mount command, and check to see if the files in it are consistent with those in the data disk.
5. After confirming that the data in the independent cloud disk is correct, use fdisk to delete the original partition table, and then use fdisk and mkfs.ext3 to partition and format the data disk again to make the available space of the data disk become the size of the expanded data disk.
6. After that, all the data in the independent cloud disk is copied back to the data disk through the cp-R command, and the-- preserve=all parameter can be added to retain the attributes of the file when copying.
7. Umount stand-alone cloud disks in ECS.
8. Uninstall this independent cloud disk in the disk console of ECS, and then select release (uninstall first, then release), and the operation is complete.
Thank you for reading! After reading the above, do you have a general idea of how ECS uses snapshots to create disks to achieve lossless expansion of data disks? 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.