Parted partition over 2TB hard drive - partition format

1. The parted device name enters the partition

parted /dev/vdb

2. Enter print to print the disk capacity of the current partition device

3. Set the disk partition to gpt mode

mklabel gpt

Then click YES to continue (prompt disk data may be lost or not to continue)
to prompt a warning, ignore continue and enter i or ignore

4. Set the disk file system format

mkpart primary ext4 0% 100%

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325087702&siteId=291194637