Before you can store, read, and write data on a new data disk that is attached to a Windows Elastic Compute Service (ECS) instance, you must initialize the disk. The initialization operations include bringing the disk online and partitioning and formatting the disk. This topic describes how to initialize a data disk up to 2 TiB in size on a Windows instance.
Prerequisites
A data disk is attached to an ECS instance. For more information, see Attach a data disk.Background information
The example in this topic uses an ECS instance and a data disk that have the configurations described in the following table. Operations may vary based on actual conditions.Operating system | Resource | Description |
---|---|---|
Windows operating system | Image used by the instance | Windows Server 2012 R2 64-bit |
Data disk |
|
Note For information about how to initialize a disk that is larger than 2 TiB, see Initialize a data disk that is larger than 2 TiB in size.
Procedure
- Connect to the ECS instance. For more information, see Connect to a Windows instance by using a password or key.
- On the Windows Server desktop, right-click the
icon and select Disk Management.
- Find the data disk that you want to initialize and is in the Offline state. In this example, Disk 1 is used.
- Right-click the blank area around Disk 1 and select Online. When the disk goes online, Disk 1 enters the Not Initialized state.
- Right-click the blank area around Disk 1 and select Initialize Disk.
- In the Initialize Disk dialog box, select the disk, select a disk partition format, and then click OK. Important An MBR partition cannot be larger than 2 TiB in size. If the disk for which a partition is created is larger than 2 TiB or if the disk may be resized to larger than 2 TiB, use the GPT partition format.
- Right-click the Unallocated section of Disk 1 and select New Simple Volume.
- In the New Simple Volume Wizard window, click Next and complete the initialization operation.
Result
In This PC, you can find a new drive named New Volume (D:). The data disk is ready for use.