代码: 全选
mkpart primary 40s 2MiB
parted 却警告没有对齐,"Warning: The resulting partition is not properly aligned for best performance."
这是为什么?
代码: 全选
(parted) unit s print free
Model: WD Elements 1048 (scsi)
Disk /dev/sdb: 1953519616s
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
34s 1953519582s 1953519549s Free Space
(parted) mkpart primary 40s 2MiB
Warning: The resulting partition is not properly aligned for best performance.
Ignore/Cancel? c
(parted) mkpart primary 40s 2MiB
Warning: The resulting partition is not properly aligned for best performance.
Ignore/Cancel? I
(parted) p
Model: WD Elements 1048 (scsi)
Disk /dev/sdb: 1953519616s
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 40s 4096s 4057s primary
(parted) print free
Model: WD Elements 1048 (scsi)
Disk /dev/sdb: 1953519616s
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
34s 39s 6s Free Space
1 40s 4096s 4057s primary
4097s 1953519582s 1953515486s Free Space