磁盘:分区-格式化-挂载
分区
列出块设备信息
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 71.3M 1 loop /snap/lxd/18772
loop1 7:1 0 55.4M 1 loop /snap/core18/1944
loop2 7:2 0 31.1M 1 loop /snap/snapd/10492
loop3 7:3 0 31.1M 1 loop /snap/snapd/10707
loop4 7:4 0 71.2M 1 loop /snap/lxd/18674
loop5 7:5 0 55.4M 1 loop /snap/core18/1932
sda 8:0 1 558G 0 disk
├─sda1 8:1 1 1M 0 part
└─sda2 8:2 1 558G 0 part /
sdb 8:16 1 2.2T 0 disk
创建分区 sudo fdisk /dev/sdb Welcome to fdisk (util-linux 2.34). Changes will remain in memory only, until you decide to write them. Be careful before using the write command.