安装CentOS之后,我会看到几行类似的文字,
/dev/mapper/centos_jackpc--11-swap
并
/dev/mapper/centos_jackpc--11-root
在发出时显示fdisk -l
。
这些的目的是什么?为什么他们不出现在Ubuntu上呢?
完整fdisk -l
的显示在这里:
Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders, total 488281250 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 identifier: 0x000e3a37
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 287754239 143364096 8e Linux LVM
/dev/sda3 287756286 434180095 73211905 5 Extended
/dev/sda5 287756288 434180095 73211904 83 Linux
Disk /dev/sdb: 4000.8 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 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: 0x6c03e282
Device Boot Start End Blocks Id System
/dev/sdb1 63 2147504935 1073752436+ 83 Linux
Partition 1 does not start on physical sector boundary.
Disk /dev/mapper/rhel_jackpc-root: 104.9 GB, 104857600000 bytes
255 heads, 63 sectors/track, 12748 cylinders, total 204800000 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 identifier: 0x00000000
Disk /dev/mapper/rhel_jackpc-root doesn't contain a valid partition table
Disk /dev/mapper/rhel_jackpc-swap: 41.9 GB, 41943040000 bytes
255 heads, 63 sectors/track, 5099 cylinders, total 81920000 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 identifier: 0x00000000
Disk /dev/mapper/rhel_jackpc-swap doesn't contain a valid partition table
/dev/mapper
并不一定 LVM逻辑卷。但是这些看起来像是。(它们遵循LVM使用的命名约定。)