All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

Partitioning and formatting of data disk of over 2TB

Last updated:2020-06-09 10:51:16

How can I partition and format a data disk of over 2 TB?

If you need to partition and format a data disk of over 2 TB, GPT partitioning must be used. This topic describes how to partition and format a data disk of over 2 TB in Windows and Linux operating systems.

Partition and format a data disk of over 2 TB in Windows

Notes:

1). Before formatting a data disk, make sure that the data disk has been mounted to a KEC instance. 2). In this example, the operating system used is Windows Server 2008 R2 Datacenter 64-bit Chinese.

Procedure: 1). Connect to the instance. 2). Click the server icon to the right of the Start button to enter Server Manager. 3). Choose "Storage > Disk Management" in the left pane. 4). Find the disk that needs to be partitioned and formatted. 5). The disk is displayed offline. Right-click the disk and select "Online". 6). After the disk goes online, right-click the disk that needs to be formatted and select "Initialize Disk". 7). In the new window, select the disk to be initialized and the disk partition format GPT.

Partition and format a data disk of over 2 TB in Linux

Notes: 1). Before formatting a data disk, make sure that the data disk has been mounted to a KEC instance. 2). CentOS 7.5 is used as the operating system in this example. 3). Make sure that parted has been installed on the instance. If parted is not installed, run the "yum install -y parted" command. Procedure: 1). Connect to the instance. 2). Run the "fdisk -l" command to check the data disk information.

image.png

3). Run the partitioning command "parted /dev/vdb".

image.png

4). Run the "mklabel gpt" command to convert the MBR partition into a GPT partition.

image.png

5). Run the mkpart primary ext4 0 50G command to create a file system partition. This example uses the file system of ext4 format. You can adjust the size and number of partitions as needed.

image.png

6). Run the print command to check the partition table information.

image.png

7). Run the parted: quit command to exit. The partition has been created successfully.

On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback