In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you how to expand the capacity of a data disk when calling this interface. I hope you will gain a lot after reading this article. Let's discuss it together.
ResizeDisk
Description
When calling this interface, you need to be aware of:
This API only supports the expansion of data disk, not the system disk.
Only data disks with expanded disk types of ordinary cloud disk (Cloud), efficient cloud disk (Cloud_efficiency) and SSD cloud disk (Cloud_ssd) are supported.
Expansion is not allowed when the disk is creating a snapshot.
For mounted data disks:
The status of a disk-mounted instance must be running (Running) or stopped (Stopped).
After the expansion, you need to restart the instance in the console or call API RebootInstance to make the operation take effect.
During capacity expansion, disk partitions and file systems will not be modified. You need to allocate storage space by yourself after capacity expansion.
Request parameter
Return parameters
All are common return parameters. See common parameters
Example
Request example
Https://ecs.aliyuncs.com/?Action=ResizeDisk&DiskId=xxx&NewSize=1024&
Return the example
XML format
F3CD6886-D8D0-4FEE-B93E-1B73239673DE
JSON format
{"RequestId": "F3CD6886-D8D0-4FEE-B93E-1B73239673DE"}
Error code
The following are the error codes specific to this API. For more error codes, please visit the API error Center.
After reading this article, I believe you have a certain understanding of the method of expanding a data disk when calling this interface. If you want to know more about it, welcome to follow the industry information channel. Thank you for your reading!
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.