note: fdisk訊息:Partition does not start on physical sector boundary

2021121810:00
筆記

Linux 主機 安裝新的硬碟
Advanced Format 硬碟

fdisk 時出現
Partition does not start on physical sector boundary

再次執行 fdisk 時:
# fdisk /dev/sdb

The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').

Command (m for help): p

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xa401b794

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      130542  1048576000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sdb2          130542      243202   904937560   83  Linux
Partition 2 does not end on cylinder boundary.



Command (m for help): u
Changing display/entry units to sectors

Command (m for help): c
DOS Compatibility flag is not set

Command (m for help): p

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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
Disk identifier: 0xa401b794

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048  2097154047  1048576000   83  Linux
/dev/sdb2      2097154048  3907029167   904937560   83  Linux










參考:
http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?viewmode=compact&topic_id=36016&forum=3

http://askubuntu.com/questions/156994/partition-does-not-start-on-physical-sector-boundary

http://pigsign.lodou.net/posts/175732-disk-block-cluster-chunk-partition-alignment


http://www.serveradminblog.com/2014/05/partition-x-does-not-start-on-physical-sector-boundary/