1. Check whether fdisk -l is not mounted to any hard disk

2. The VDB is not in use, and fdisk /dev/vdb is allocated. Enter n, p, 1, 2048, 1048575999, and w respectively

N is to partition a new drive letter. E is to partition a new drive letter. P is to partition a new drive letter. Format the newly divided disk in ext4 format mkfs.ext4 /dev/vdb

6. Load the Fstable again and check whether the disk is successfully loaded mount -a df -h

As above, mount OK

From: blog.csdn.net/qq_38776582…