查看磁盘分区
前提是有多余的数据盘或者存储供扩容用
fdisk -l
磁盘分区
fdisk /dev/sdb --sdb是自己添加磁盘或者利用所给数据盘的分区名称
[root@portal2 ~]# fdisk /dev/sdb
Welcome to fdisk (util-linux 2.23.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table
Building a new DOS disklabel with disk identifier 0x0da33248.
Command (m for help): n
Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): p
Partition number (1-4, default 1):
First sector (2048-83886079, default 2048):
Using default value 2048