Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Initializing a Windows Data Disk

Updated on 2025-01-02 GMT+08:00

Scenarios

This section uses the example configurations below to describe how to use Disk Management Tool or a script to initialize a Windows data disk. The initialization operations may vary depending on the server OS. Perform initialization operations based on your server OS.

Partition Style

Example Configuration

  • GPT
  • MBR
  • Version: Windows Server 2019 Standard (64-bit)
  • Disk name: Disk 1
  • Size: 100 GiB
  • After the initialization:
    • Partition name: New volume (D:)
    • Partition style: GPT
    • File system format: NTFS

Prerequisites

You have attached the disk to a server.

Notes and Constraints

  • A disk created from a data source does not need to be initialized. Such a disk contains the source data in the beginning. Initializing the disk may clear the initial data on it. If you need to re-initialize the disk, you are advised to back up the disk data first.

    For details about how to use CBR for backup, see Backing Up EVS Disks. For details about how to use snapshots for backup, see Managing EVS Snapshots.

  • Initializing a disk does not delete the snapshots created for the disk, so you can still use snapshots to roll back data to the source disk after the disk is initialized.

The following example shows you how to create a 100 GiB GPT partition with an NTFS file system on a server running Windows Server 2019.

  1. Log in to the server.

    For how to log in to an ECS, see Logging In to an ECS.

    For how to log in to a BMS, see Logging In to a BMS.

  1. On the desktop of the server, click the start icon in the lower left corner.

    The Windows Server window is displayed.

  2. Click Server Manager.

    The Server Manager window is displayed.

    Figure 1 Server Manager

  3. In the upper right corner, choose Tools > Computer Management.

    Figure 2 Computer Management

  4. Choose Storage > Disk Management.

    Disks are displayed in the right pane. If there is a disk that is not initialized, the system will prompt you with the Initialize Disk dialog box.

    In the Initialize Disk dialog box, the to-be-initialized disk is selected. Select a partition style and click OK. In this example, GPT (GUID Partition Table) is selected.
    NOTICE:

    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 of an in-use disk is changed, 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, it is recommended that you back up the disk data before the change.

    Figure 3 Disk list

  5. In the Unallocated area of Disk 1, right-click the blank area and choose New Simple Volume.

    Figure 4 Computer Management
    The New Simple Volume Wizard window is displayed.
    Figure 5 New Simple Volume Wizard

  6. Click Next to go to the Specify Volume Size page.

    Figure 6 Specify Volume Size

  7. Specify the volume size and click Next. The system selects the maximum volume size by default. You can specify the volume size as required. In this example, the default setting is used.

    Figure 7 Assign Drive Letter or Path

  8. Assign a drive letter or path to your partition and click Next. The system assigns drive letter D by default. In this example, the default setting is used.

    Figure 8 Format Partition

  9. Specify format settings and click Next. The system selects the NTFS file system by default. You can specify a file system type as required. In this example, the default setting is used.

    Figure 9 Completing the New Simple Volume Wizard
    NOTICE:

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

  10. Click Finish.

    Wait for the initialization to complete. When the volume status changes to Healthy, the initialization has succeeded.
    Figure 10 Disk initialized

  11. After the volume is created, click on the task bar and check whether a new volume appears in the File Explorer. In this example, New Volume (D:) is the new volume.

    If New Volume (D:) appears, the disk is successfully initialized and no further action is required.
    Figure 11 File Explorer

The following example shows you how to create a 100 GiB GPT partition with an NTFS file system on a server running Windows Server 2019.

  1. Log in to the server.

    For how to log in to an ECS, see Logging In to an ECS.

    For how to log in to a BMS, see Logging In to a BMS.

  1. On the desktop of the server, click the start icon in the lower left corner.

    The Windows Server window is displayed.

  2. Click Server Manager.

    The Server Manager window is displayed.

    Figure 1 Server Manager

  3. In the upper right corner, choose Tools > Computer Management.

    Figure 2 Computer Management

  4. Choose Storage > Disk Management.

    Disks are displayed in the right pane. If there is a disk that is not initialized, the system will prompt you with the Initialize Disk dialog box.

    In the Initialize Disk dialog box, the to-be-initialized disk is selected. Select a partition style and click OK. In this example, GPT (GUID Partition Table) is selected.
    NOTICE:

    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 of an in-use disk is changed, 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, it is recommended that you back up the disk data before the change.

    Figure 3 Disk list

  5. In the Unallocated area of Disk 1, right-click the blank area and choose New Simple Volume.

    Figure 4 Computer Management
    The New Simple Volume Wizard window is displayed.
    Figure 5 New Simple Volume Wizard

  6. Click Next to go to the Specify Volume Size page.

    Figure 6 Specify Volume Size

  7. Specify the volume size and click Next. The system selects the maximum volume size by default. You can specify the volume size as required. In this example, the default setting is used.

    Figure 7 Assign Drive Letter or Path

  8. Assign a drive letter or path to your partition and click Next. The system assigns drive letter D by default. In this example, the default setting is used.

    Figure 8 Format Partition

  9. Specify format settings and click Next. The system selects the NTFS file system by default. You can specify a file system type as required. In this example, the default setting is used.

    Figure 9 Completing the New Simple Volume Wizard
    NOTICE:

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

  10. Click Finish.

    Wait for the initialization to complete. When the volume status changes to Healthy, the initialization has succeeded.
    Figure 10 Disk initialized

  11. After the volume is created, click on the task bar and check whether a new volume appears in the File Explorer. In this example, New Volume (D:) is the new volume.

    If New Volume (D:) appears, the disk is successfully initialized and no further action is required.
    Figure 11 File Explorer

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback