为什么 fdisk -l 得到奇怪的结果

为什么 fdisk -l 得到奇怪的结果
root@host [~]# fdisk -l

Disk /dev/sdc: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 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: 0x2444c1ab

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       15566   125033863+  83  Linux

Disk /dev/sdb: 300.1 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 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: 0x00063841

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       36481   293033601   83  Linux

Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 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: 0x0004af28

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       31130   250051693+  83  Linux

Disk /dev/sdd: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 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: 0xc33adbf6

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1          14      103424   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sdd2              14         536     4194304   82  Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sdd3             536       15567   120735744   83  Linux

Disk /dev/md127: 128.0 GB, 128033553408 bytes
2 heads, 4 sectors/track, 31258191 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x27dd27dc

/dev/md127 是什么?

我通常有/dev/sda、/dev/sdb等。/dev/md127是什么?

另外为什么 /dev/sdc 列在第一位?

答案1

fdisk -l列出所有磁盘的所有分区。如果您想打印特定磁盘的分区,例如 /dev/sda 尝试执行fdisk -l /dev/sda.

/dev/md代表 RAID 设置

相关内容