Updated on 2024-07-24 GMT+08:00

Initializing a Windows Data Disk (Windows Server 2008)

Scenarios

This section uses Windows Server 2008 R2 Enterprise 64bit to describe how to initialize a data disk attached to a server running Windows.

The maximum disk capacity supported by MBR is 2 TiB, and that supported by GPT is 18 EiB. Therefore, use the GPT partition style if your disk capacity is larger than 2 TiB. For details, see Initializing a Windows Data Disk Larger Than 2 TiB (Windows Server 2008). To learn more about disk partition styles, see Scenarios and Disk Partitions.

The method for initializing a disk varies slightly depending on the OS running on the server. This document is used for reference only. For the detailed operations and differences, see the product documents of the corresponding OS.

When using a disk for the first time, if you have not initialized it, including creating partitions and file systems, the additional space added to this disk in an expansion later may not be normally used.

Prerequisites

  • A data disk has been attached to a server and has not been initialized.
  • You have logged in to the server.
    • For how to log in to an ECS, see the Elastic Cloud Server User Guide.
    • For how to log in to a BMS, see the Bare Metal Server User Guide.

Procedure

  1. On the desktop of the server, right-click Computer and choose Manage from the shortcut menu.

    The Server Manager window is displayed.

  2. In the navigation tree, choose Storage > Disk Management.

    The Disk Management window is displayed.
    • If Figure 1 is displayed, the new disk is offline. Go to 3.
    • If Figure 4 is displayed, the Initialize Disk window is prompted. Go to 5.
    Figure 1 Disk Management

  3. Disks are displayed in the right pane. In the Disk 1 area, right-click Offline and choose Online from the shortcut menu to online the disk.

    Figure 2 Online the disk

    If the disk is offline, you need to bring it online before initializing it.

  4. After making the disk online, the status of Disk 1 changes from Offline to Not Initialized. Right-click the disk status and choose Initialize Disk from the shortcut menu.

    Figure 3 Initialize Disk

  5. In the Initialize Disk dialog box, select the target disk, click MBR (Master Boot Record) or GPT (GUID Partition Table), and click OK.

    Figure 4 Unallocated space

    The maximum disk size supported by MBR is 2 TiB, and that supported by GPT is 18 EiB. Because an EVS data disk currently supports up to 32 TiB, use GPT if your disk size is greater than 2 TiB.

    If the partition style is changed after the disk has been used, all data on the disk will be lost, so take care to select an appropriate partition style when initializing the disk. If you must change the partition style to GPT after a disk has been used, it is recommended that you back up the disk data before the change.

  6. Right-click at the unallocated space and choose New Simple Volume from the shortcut menu.

    Figure 5 New Simple Volume

  7. On the displayed New Simple Volume Wizard window, click Next.

    Figure 6 New Simple Volume Wizard

  8. Specify the volume size and click Next. The default value is the maximum size.

    Figure 7 Specify Volume Size

  9. Assign the drive letter and click Next.

    Figure 8 Assign Drive Letter or Path

  10. On the displayed Format Partition page, click Format this volume with the following settings, set parameters based on the requirements, and select Perform a quick format. Then, click Next.

    Figure 9 Format Partition
    Figure 10 Completing the partition creation

    The partition sizes supported by file systems vary. Choose an appropriate file system format based on your service requirements.

  11. Click Finish. Wait for the initialization to complete. When the volume status changes to Healthy, the initialization has finished successfully.

    Figure 11 Disk initialization succeeded