sfdisk 未显示正确的分区信息

sfdisk 未显示正确的分区信息

CentOS 7.6 上的 sfdisk(版本 2.23.2)未显示有关磁盘的正确分区信息:

Disk /dev/sdb: 15566 cylinders, 255 heads, 63 sectors/track
Units: cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdb1   *      0+  15566-  15567- 125034839+  ee  GPT .
sfdisk:         start: (c,h,s) expected (0,0,2) found (0,0,1)

/dev/sdb2          0       -       0          0    0  Empty
/dev/sdb3          0       -       0          0    0  Empty
/dev/sdb4          0       -       0          0    0  Empty

当我运行时fdisk它返回正确的(但不同的信息):

Disk /dev/sdb: 128.0 GB, 128035676160 bytes, 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
#         Start          End    Size  Type            Name
 1         2048         4095      1M  BIOS boot       
 2         4096      1028095    500M  Linux RAID      
 3      1028096      1437695    200M  Linux RAID      
 4      1437696    250068991  118.6G  Linux RAID 

有人知道这是什么原因(希望有解决方案)吗?

相关内容