免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2522 | 回复: 1

[服务应用] Linux通过FC识别存储磁盘 [复制链接]

论坛徽章:
0
发表于 2017-10-24 18:27 |显示全部楼层
5可用积分


Linux主机:两块HBA卡    存储:HP EVA4100

在EVA中划分了两个vdisk(一个100G ,一个200G  都是RAID5)都映射给Linux主机


[root@seaing ~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: WDC WD5003ABYX-1 Rev: 01.0
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: PLDS     Model: DVD-ROM DH-16D6S Rev: BD11
  Type:   CD-ROM                           ANSI SCSI revision: 05
Host: scsi4 Channel: 00 Id: 00 Lun: 00
  Vendor: HP       Model: HSV300           Rev: 0952
  Type:   RAID                             ANSI SCSI revision: 05
Host: scsi4 Channel: 00 Id: 00 Lun: 01
  Vendor: HP       Model: HSV300           Rev: 0952
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi4 Channel: 00 Id: 00 Lun: 02
  Vendor: HP       Model: HSV300           Rev: 0952
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi4 Channel: 00 Id: 01 Lun: 00
  Vendor: HP       Model: HSV300           Rev: 0952
  Type:   RAID                             ANSI SCSI revision: 05
Host: scsi4 Channel: 00 Id: 01 Lun: 01
  Vendor: HP       Model: HSV300           Rev: 0952
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi4 Channel: 00 Id: 01 Lun: 02
  Vendor: HP       Model: HSV300           Rev: 0952
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi5 Channel: 00 Id: 00 Lun: 00
  Vendor: HP       Model: HSV300           Rev: 0952
  Type:   RAID                             ANSI SCSI revision: 05
Host: scsi5 Channel: 00 Id: 00 Lun: 01
  Vendor: HP       Model: HSV300           Rev: 0952
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi5 Channel: 00 Id: 00 Lun: 02
  Vendor: HP       Model: HSV300           Rev: 0952
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi5 Channel: 00 Id: 01 Lun: 00
  Vendor: HP       Model: HSV300           Rev: 0952
  Type:   RAID                             ANSI SCSI revision: 05
Host: scsi5 Channel: 00 Id: 01 Lun: 01
  Vendor: HP       Model: HSV300           Rev: 0952
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi5 Channel: 00 Id: 01 Lun: 02
  Vendor: HP       Model: HSV300           Rev: 0952
  Type:   Direct-Access                    ANSI SCSI revision: 05


查看磁盘
[root@seaing ~]# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14       60801   488279610   8e  Linux LVM

Disk /dev/sdb: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdc: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sdd: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdd doesn't contain a valid partition table


Disk /dev/sde: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


Disk /dev/sde doesn't contain a valid partition table

Disk /dev/sdf: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdf doesn't contain a valid partition table

Disk /dev/sdg: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


Disk /dev/sdg doesn't contain a valid partition table

Disk /dev/sdh: 107.3 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdh doesn't contain a valid partition table


Disk /dev/sdi: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


Disk /dev/sdi doesn't contain a valid partition table



哪位大神能给解释一下/ect/scsi/scsi文件中具体的含义?为什么会出现好几项?


还有就是为什么fdisk查看,,出现好多的磁盘?这是为什么?





论坛徽章:
0
发表于 2017-11-06 09:31 |显示全部楼层
多路径没有聚合
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP