Step 3. Initializing Cloud Disks

Last updated: 2021-07-20 15:09:50

    Overview

    This document describes how to initialize a cloud disk newly mounted to a CVM, create a file system, and write a file named qcloud.txt.

    Note:

    For more information on initializing cloud disks, see Initialization Scenarios.

    Notes

    To prevent data loss, please see Usage FAQs before operating on your CBS cloud disks.

    Prerequisites

    Directions

    This document uses a CVM with Windows Server 2012 R2 DataCenter 64-bit Chinese installed as an example. Note that the steps may vary according to the operating system version.

    1. Log in to the Windows CVM instance as the admin user. See Logging in to Windows Instance Using RDP (Recommended).
    2. On the desktop, right click in the lower-left corner.
    3. Select Disk Management in the pop-up menu to open the Disk Management window.
    4. (Optional) Right click the empty disk you need, and select Online.
      When the disk status changes to Not Initialized, it has gone online.
    5. (Optional) Right click the cloud disk that has just gone online. Select Initialize Disk and then Master Boot Record in the Initialize Disk pop-up window, and click OK.
    • Master Boot Record (MBR) partition format supports a maximum disk capacity of 2 TB, and GUID Partition Table (GPT) supports a maximum disk capacity of 18 EB. If you need a disk capacity larger than 2 TB, please select the GPT partition format.
    • If the disk partition format is changed after the disk is put into use, the original data on the disk will be erased. Please select the partition format carefully when initializing the disk.
    1. Right click the disk you need, select New Simple Volume, and click Next in the pop-up window.

    2. Enter the simple volume size, and click Next.

    3. Select a drive letter or drive path, and click Next. In this example, E is assigned as the driver letter.

    4. Select the file system, perform a quick format, and then click Next.

    5. Click Finish.
      The disk status goes to Formatting. Wait for the completion of initialization. When the volume status becomes Healthy, the disk initialization is successful. You can then view the newly formatted data disk in the PC interface.

    6. Enter the newly formatted data disk, create a file named qcloud.txt, enter the content you need, and select File > Save.

    Subsequent Operations

    A cloud disk is an expandable storage device on cloud. You can expand its capacity to fit your business at any time without losing any data in it. For detailed directions, see Step 4. Expanding Cloud Disk Capacity.