Linux挂载存储服务器失败
存储服务器已经映射到主机,Linux可以发现,并且登录.
[root@master /]# iscsiadm -m session -o show 
tcp: [17] 10.1.1.2:3260,3 iqn.1986-03.com.ibm:2145.cunchu02.node1 (non-flash)
tcp: [18] 10.1.1.21:3260,3 iqn.1986-03.com.ibm:2145.cunchu01.node2 (non-flash)
tcp: [19] 10.1.1.1:3260,3 iqn.1986-03.com.ibm:2145.cunchu01.node1 (non-flash)
使用的是multipath多路径,配置如下
blacklist {
    devnode "^sda"
}
defaults {
    user_friendly_names yes
    path_grouping_policy multibus
    failback immediate
    no_path_retry fail
}
可是在fdisk和partitions中没有发现,我不知道哪里出现错误了[root@master /]# cat /proc/partitions 
major minor  #blocks  name   8        0 1169920000 sda
   8        1     204800 sda1
   8        2    1048576 sda2
   8        3 1168664576 sda3
 253        0   52428800 dm-0
 253        1    4194304 dm-1
 253        2 1112039424 dm-2
   7        0       2880 loop0
   7        1     488281 loop1
 253        3     204800 dm-3
[root@master /]# fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.Disk /dev/sda: 1198.0 GB, 1197998080000 bytes, 2339840000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
Disk label type: gpt
Disk identifier: 795E086A-1F39-4BD1-B589-FB71E3F07825
#         Start          End    Size  Type            Name
 1         2048       411647    200M  EFI System      EFI System Partition
 2       411648      2508799      1G  Microsoft basic 
 3      2508800   2339837951    1.1T  Linux LVM       Disk /dev/mapper/cl-root: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
Disk /dev/mapper/cl-swap: 4294 MB, 4294967296 bytes, 8388608 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
Disk /dev/mapper/cl-home: 1138.7 GB, 1138728370176 bytes, 2224078848 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytesYou must set cylinders.
You can do this from the extra functions menu.Disk /dev/loop0: 2 MB, 2949120 bytes, 5760 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 label type: dos
Disk identifier: 0x00000000      Device Boot      Start         End      Blocks   Id  SystemDisk /dev/loop1: 499 MB, 499999744 bytes, 976562 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 /dev/mapper/vg1-data1: 209 MB, 209715200 bytes, 409600 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