实验:增加一块新硬盘,分区,创建文件系统XFS|EXT4,并挂载
VMware中添加一块200G硬盘,重启虚拟机
输入lsblk查看多了一个sdb 硬盘
fdisk /dev/sdb
Command (m for help): m
Command action
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
G create an IRIX (SGI) partition table
l list known partition types
m print this menu
n add a new partition 创建一个分区
o create a new empty DOS partition table
p print the partition table 查看分区信息
q quit without saving