Disk re-initialization restores a disk to its initial state and settings.
Warning: Re-initializing a disk will erase all data on that disk. Ensure that you have backed up all necessary data before proceeding.
- The operating system and version of the instance is retained, and will be restored to its initial state and settings.
- The IP address of the instance will not change. The data on the original system disk will be cleared, but the automatic backup of snapshots on the instance will be retained, and can be used to roll back the applications on the instance.
- If you are re-initializing a data disk, you do not need to attach it after re-initialization.
Perform the following steps to re-initialize a data disk:
Log on to the ECS console.
Click Instances in the left navigation bar.
Select your desired region.
Select the instance for disk re-initialization, and click Stop.
Select the instance name and then click Instance Disks in the left navigation bar.
Select one or more disks to re-initialize and click Re-initialize Disk.
Enter a new login password once the re-initialization is finished, and then click Confirm Re-initializing Disk.