@
AoEiuV020JP 我看了下终端的历史输出(幸好没清屏)
多了一个 “小”分区 sdg2 只有 1 扇区
`parted /dev/sdg mkpart primary 1 100%` 这个命令是不是只从剩余空闲的创建分区?
执行命令前
Disk /dev/sdg: 10.9 TiB, 12000138625024 bytes, 23437770752 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 3B33B840-84C6-4322-9D86-21D9FF0AB475
Device Start End Sectors Size Type
/dev/sdg1 2048 23437768703 23437766656 10.9T Linux filesystem
---------------------------------
执行命令后
Disk /dev/sdg: 10.9 TiB, 12000138625024 bytes, 23437770752 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 3B33B840-84C6-4322-9D86-21D9FF0AB475
Device Start End Sectors Size Type
/dev/sdg1 2048 23437768703 23437766656 10.9T Linux filesystem
/dev/sdg2 2047 2047 1 512B Linux filesystem
Partition 2 does not start on physical sector boundary.
Partition table entries are not in disk order.