This document is not restricted to specific software and hardware versions.
The information in this document was created from the devices in a specific lab environment.All of the devices used in this document started with a cleared (default) configuration.If your network is live, make sure that you understand the potential impact of any command.
Disk /dev/sdb doesn't contain a valid partition table
步骤3.运行命令： fdisk /dev/sdb
Command (m for help)
(this will add a new partition to /dev/sdb)
You will select P for Primary Partition
The Partition number will be 1
The first cylinder will be 1 and last cylinder will be the last cylinder listed, typically the last in the partition, it will list the default and you will put in that number.
第 4 步：在您创建后分区和在您上将需要更改分区到Linux逻辑容量管理器(LVM)分区
command (m for help) type: t
Next you will see: Hex Code (type L to list codes): type 8e
Note: You now have changed the partition to a Linux LVM Partition