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 설정을 나타냅니다.