- 论坛徽章:
- 1
|
本帖最后由 raoyunjia 于 2014-08-29 17:21 编辑
主机A和主机B是RHEL6,都同样安装了富士通的多路径软件FJSVmpd_rh-kmod-common-2.0.24-1.0.x86_64.rpm 和 kmod-FJSVmpd_rh-2.0.24-1.0.x86_64.rpm。但是目前在主机A,主机B,运行fdisk -l,同一个分区,不同的主机显示不同的分区名字。例如大小为740.9 GB的分区,主机A上显示为 /dev/mapper/mpathd而在主机B上显示为 /dev/mapper/mpathb这是为什么?
dev/sdb 和/dev/sdc 和/dev/sdd都是磁阵上的分区。- [root@1 ~]# fdisk -l
- Disk /dev/sda: 299.4 GB, 299439751168 bytes
- 255 heads, 63 sectors/track, 36404 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: 0x00088ace
- Device Boot Start End Blocks Id System
- /dev/sda1 * 1 32326 259652608 83 Linux
- /dev/sda2 32326 36405 32768000 82 Linux swap / Solaris
- Disk /dev/sdb: 536.9 GB, 536870912000 bytes
- 255 heads, 63 sectors/track, 65270 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: 0x0006e993
- Device Boot Start End Blocks Id System
- Disk /dev/sdc: 740.9 GB, 740881858560 bytes
- 255 heads, 63 sectors/track, 90073 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: 0x00000000
- Disk /dev/sdc doesn't contain a valid partition table
- Disk /dev/sdd: 524 MB, 524288000 bytes
- 17 heads, 59 sectors/track, 1020 cylinders
- Units = cylinders of 1003 * 512 = 513536 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x00054725
- Device Boot Start End Blocks Id System
- Disk /dev/mapper/mpathc: 536.9 GB, 536870912000 bytes
- 255 heads, 63 sectors/track, 65270 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: 0x0006e993
- Device Boot Start End Blocks Id System
- Disk /dev/mapper/mpathd: 740.9 GB, 740881858560 bytes
- 255 heads, 63 sectors/track, 90073 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: 0x00000000
- Disk /dev/mapper/mpathd doesn't contain a valid partition table
- Disk /dev/mapper/mpathb: 524 MB, 524288000 bytes
- 255 heads, 63 sectors/track, 63 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: 0x00054725
- Device Boot Start End Blocks Id System
复制代码 另一台主机显示这样- [root@2 ~]# # fdisk -l
- Disk /dev/sda: 299.4 GB, 299439751168 bytes
- 255 heads, 63 sectors/track, 36404 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: 0x00097053
- Device Boot Start End Blocks Id System
- /dev/sda1 * 1 32326 259652608 83 Linux
- /dev/sda2 32326 36405 32768000 82 Linux swap / Solaris
- Disk /dev/sdb: 536.9 GB, 536870912000 bytes
- 255 heads, 63 sectors/track, 65270 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: 0x0006e993
- Device Boot Start End Blocks Id System
- Disk /dev/sdc: 740.9 GB, 740881858560 bytes
- 255 heads, 63 sectors/track, 90073 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: 0x00000000
- Disk /dev/sdc doesn't contain a valid partition table
- Disk /dev/sdd: 524 MB, 524288000 bytes
- 17 heads, 59 sectors/track, 1020 cylinders
- Units = cylinders of 1003 * 512 = 513536 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x00054725
- Device Boot Start End Blocks Id System
- Disk /dev/mapper/mpathc: 536.9 GB, 536870912000 bytes
- 255 heads, 63 sectors/track, 65270 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: 0x0006e993
- Device Boot Start End Blocks Id System
- Disk /dev/mapper/mpathb: 740.9 GB, 740881858560 bytes
- 255 heads, 63 sectors/track, 90073 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: 0x00000000
- Disk /dev/mapper/mpathb doesn't contain a valid partition table
- Disk /dev/mapper/mpathd: 524 MB, 524288000 bytes
- 255 heads, 63 sectors/track, 63 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: 0x00054725
- Device Boot Start End Blocks Id System
复制代码 另外,我发现mkfs没法格式化/dev/sdb和/dev/sdc 和/dev/sdd。也不能mount 这几个/dev/sdb和/dev/sdc 和/dev/sdd。
但是能mkfs格式化/dev/mapper/mpathb /dev/mapper/mpathc /dev/mapper/mpathd ,应该也能mount。
这是为什么? |
|