该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
[root@localhost ~]# fdisk -l
Disk /dev/sda: 128.8 GB, 128849018880 bytes
255 heads, 63 sectors/track, 15665 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000df07d
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 287 2097152 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sda3 287 15666 123526144 83 Linux
Partition 1 does not end on cylinder boundary.
出现 分区1 没有在柱面上结束
但是sfdisk -uS -l /dev/sda
[root@localhost ~]# sfdisk -uS -l /dev/sda
Disk /dev/sda: 15665 cylinders, 255 heads, 63 sectors/track
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/sda1 * 2048 411647 409600 83 Linux
/dev/sda2 411648 4605951 4194304 82 Linux swap / Solaris
/dev/sda3 4605952 251658239 247052288 83 Linux
/dev/sda4 0 - 0 0 Empty
出现一个空的分区
导致我再创建逻辑分区的时候
Command (m for help): n
Command action
e extended
p primary partition (1-4)
e
Selected partition 4
No free sectors available