Linux系统创建逻辑卷
一、磁盘分区
fdisk /dev/vdb
Welcome to fdisk (util-linux 2 .32.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): n
Partition type
p primary (2 primary, 0 extended, 2 free)
e extended (container for logical partitions)
Select (default p):
Using default response p.
Partition number (3,4, default 3):
First sector (5357568-20971519, default 5357568):
Last sector, +sectors or +size{K,M,G,T,P} (5357568-20971519, default 20971519): +1G
Created a new partition 3 of type 'Linux' and of size 1 GiB.
Command (m for help): w
The partition table has been altered.
Syncing disks.