1.新增硬盘查看fdisk -l
可以看到新增的两块硬盘sdb和sdc
2.对硬盘进行分区fdisk /dev/sdb
============
参数说明:
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition #删除分区
g create a new empty GPT partition table #创建新的空GPT分区表
G create an IRIX (SGI) partition table #创新新的IRIX分区表
l list known partition types #列出已知的分区类型
m print this menu #打印帮助
n add a new partition #增加新分区
o create a new empty DOS partition table #创建新的空DOS分区表
p