免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3506 | 回复: 3
打印 上一主题 下一主题

多路径软件问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-01-11 12:21 |只看该作者 |倒序浏览
请教各位一个奇怪的问题:
我们的ORACLE服务器(SELS 9 SP4)两张HBA卡连接NetApp的SAN存储,安装multipath-tools软件,却只能看到一条路径(确认物理连接及光纤交换机配置正确),哪位帮忙看看?谢谢!

:~ # multipath -ll
360a98000572d4d414b4a522d7a62376d dm-2 NETAPP,LUN
[size=200G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][active]
\_ 1:0:0:21 sdb 8:16 [active][ready]

lspci
0000:03:03.0 Fibre Channel: QLogic Corp. ISP2312-based 2Gb Fibre Channel to PCI-X HBA (rev 02)
0000:04:04.0 Fibre Channel: QLogic Corp. ISP2312-based 2Gb Fibre Channel to PCI-X HBA (rev 02)

:~ # rpm -q multipath-tools
multipath-tools-0.4.7-75.21

:~ # rpm -qa | grep device*
device-mapper-1.01.01-1.6

/etc/multipath.conf
:~ # less /etc/multipath.conf
##
## This is a template multipath-tools configuration file
## Uncomment the lines relevent to your environment
##
defaults {
udev_dir /dev
polling_interval 10
selector "round-robin 0"
path_grouping_policy failover
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
prio_callout /bin/true
path_checker readsector0
rr_min_io 100
rr_weight priorities
failback immediate
no_path_retry fail
user_friendly_names no
}
blacklist {
devnode "^sda"
}

devices
{
device
{
vendor "NETAPP"
product "LUN"
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
prio_callout "/sbin/mpath_prio_netapp /dev/%n"
features "1 queue_if_no_path"
hardware_handler "0"
path_grouping_policy group_by_prio
failback immediate
rr_weight uniform
rr_min_io 128
path_checker readsector0
}
}

[ 本帖最后由 xgxiaofei 于 2010-1-11 14:01 编辑 ]

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2016-03-10 06:20:00
2 [报告]
发表于 2010-01-11 12:38 |只看该作者
你的存储是双控嘛?
安装multipath-tools软件之前fdisk -l是否看到双路径?

论坛徽章:
0
3 [报告]
发表于 2010-01-11 14:02 |只看该作者
~ # fdisk -l

Disk /dev/sda: 73.4 GB, 73406611456 bytes
128 heads, 32 sectors/track, 35003 cylinders
Units = cylinders of 4096 * 512 = 2097152 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         101      206832   83  Linux
/dev/sda2             102       35003    71479296   8e  Linux LVM

Disk /dev/sdb: 214.7 GB, 214761996288 bytes
255 heads, 63 sectors/track, 26109 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         147     1180746   83  Linux
/dev/sdb2             148         294     1180777+  83  Linux
/dev/sdb3             295       26109   207358987+  83  Linux

没有,看不到啊!

论坛徽章:
0
4 [报告]
发表于 2010-01-12 13:25 |只看该作者

回复 #1 xgxiaofei 的帖子

绑定后fdisk -l就只看到一个了。用这条命令看一下:
sg_scan -i
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP