Jack_Mei
2 Iron

(求助)Solaris10下PowerPath不找不到设备文件

转到解答

用户现场有1台SUN M5000主机,安装Solaris10操作系统,一台NS480存储,在NS480上划了3个MetaLUN,通过交换机map到主机做。主机安装PowerPath软件,无法识别到到设备。安装过程如下,请各位帮忙看看是什么原因,谢谢。

# pkgadd -d .

The following packages are available:

  1  EMCpower     EMC PowerPath

                  (sparc) 5.5_b589

Select package(s) you wish to process (or 'all' to process

all packages). (default: all) [?,??,q]: all

Processing package instance <EMCpower> from </opt/sun/emc>

EMC PowerPath(sparc) 5.5_b589

EMC Corporation

---------------------

* EMCpower Installation:

*

* Adding PowerPath directories to PATH in /etc/.login and /etc/profile.

----------------------------------------------------------------

Adding emcp driver...

Adding forceload to /etc/system

setting emcp:bPxEnableInit to 1

Setting up paths (Could take several minutes for large configurations.)

----------------------------------------------------------------

* EMCpower Installation:

*

* Installation is successful.  No reboot required.

*

* If you have a license key card, register now.

*

* License registration is NOT required to manage the CLARiiON AX series array.

----------------------------------------------------------------

All trademarks used herein are the property of their respective owners.

Logging to /opt/EMCpower/Postinstall.log

Installation of <EMCpower> was successful.

# format

Searching for disks...done

AVAILABLE DISK SELECTIONS:

       0. c0t0d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>

          /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/sd@0,0

       1. c0t1d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>

          /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/sd@1,0

       2. c1t0d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>

          /pci@10,600000/pci@0/pci@8/pci@0/scsi@1/sd@0,0

       3. c1t1d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>

          /pci@10,600000/pci@0/pci@8/pci@0/scsi@1/sd@1,0

       4. c2t5006016D44602440d0 <drive type unknown>

          /pci@2,600000/SUNW,qlc@0/fp@0,0/ssd@w5006016d44602440,0

       5. c2t5006016D44602440d1 <drive type unknown>

          /pci@2,600000/SUNW,qlc@0/fp@0,0/ssd@w5006016d44602440,1

       6. c2t5006016D44602440d2 <drive type unknown>

          /pci@2,600000/SUNW,qlc@0/fp@0,0/ssd@w5006016d44602440,2

       7. c2t5006016544602440d0 <DGC-RAID5-0429 cyl 51198 alt 2 hd 256 sec 64>

          /pci@2,600000/SUNW,qlc@0/fp@0,0/ssd@w5006016544602440,0

       8. c2t5006016544602440d1 <DGC-RAID5-0430 cyl 61438 alt 2 hd 256 sec 40>

          /pci@2,600000/SUNW,qlc@0/fp@0,0/ssd@w5006016544602440,1

       9. c2t5006016544602440d2 <DGC-RAID5-0430 cyl 32766 alt 2 hd 8 sec 16>

          /pci@2,600000/SUNW,qlc@0/fp@0,0/ssd@w5006016544602440,2

      10. c3t5006016C44602440d0 <drive type unknown>

          /pci@3,700000/SUNW,qlc@0/fp@0,0/ssd@w5006016c44602440,0

      11. c3t5006016C44602440d1 <drive type unknown>

          /pci@3,700000/SUNW,qlc@0/fp@0,0/ssd@w5006016c44602440,1

      12. c3t5006016C44602440d2 <drive type unknown>

          /pci@3,700000/SUNW,qlc@0/fp@0,0/ssd@w5006016c44602440,2

      13. c3t5006016444602440d0 <DGC-RAID5-0429 cyl 51198 alt 2 hd 256 sec 64>

          /pci@3,700000/SUNW,qlc@0/fp@0,0/ssd@w5006016444602440,0

      14. c3t5006016444602440d1 <DGC-RAID5-0430 cyl 61438 alt 2 hd 256 sec 40>

          /pci@3,700000/SUNW,qlc@0/fp@0,0/ssd@w5006016444602440,1

      15. c3t5006016444602440d2 <DGC-RAID5-0430 cyl 32766 alt 2 hd 8 sec 16>

          /pci@3,700000/SUNW,qlc@0/fp@0,0/ssd@w5006016444602440,2

Specify disk (enter its number): ^D

# /etc/emcpreg -install

===========   EMC PowerPath Registration ===========

Do you have a new registration key or keys to enter? y

                  Enter the registration keys(s) for your product(s),

                  one per line, pressing Enter after each key.

                  After typing all keys, press Enter again.

Key (Enter if done):

1 key(s) successfully added.

Key successfully installed.

Key (Enter if done):

1 key(s) successfully registered.

# powermt display dev=all

Device(s) not found.

# reboot

# format

Searching for disks...done

AVAILABLE DISK SELECTIONS:

       0. c0t0d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>

          /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/sd@0,0

       1. c0t1d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>

          /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/sd@1,0

       2. c1t0d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>

          /pci@10,600000/pci@0/pci@8/pci@0/scsi@1/sd@0,0

       3. c1t1d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>

          /pci@10,600000/pci@0/pci@8/pci@0/scsi@1/sd@1,0

       4. c2t5006016D44602440d0 <drive type unknown>

          /pci@2,600000/SUNW,qlc@0/fp@0,0/ssd@w5006016d44602440,0

       5. c2t5006016D44602440d1 <drive type unknown>

          /pci@2,600000/SUNW,qlc@0/fp@0,0/ssd@w5006016d44602440,1

       6. c2t5006016D44602440d2 <drive type unknown>

          /pci@2,600000/SUNW,qlc@0/fp@0,0/ssd@w5006016d44602440,2

       7. c2t5006016544602440d0 <DGC-RAID5-0429 cyl 51198 alt 2 hd 256 sec 64>

          /pci@2,600000/SUNW,qlc@0/fp@0,0/ssd@w5006016544602440,0

       8. c2t5006016544602440d1 <DGC-RAID5-0430 cyl 61438 alt 2 hd 256 sec 40>

          /pci@2,600000/SUNW,qlc@0/fp@0,0/ssd@w5006016544602440,1

       9. c2t5006016544602440d2 <DGC-RAID5-0430 cyl 32766 alt 2 hd 8 sec 16>

          /pci@2,600000/SUNW,qlc@0/fp@0,0/ssd@w5006016544602440,2

      10. c3t5006016C44602440d0 <drive type unknown>

          /pci@3,700000/SUNW,qlc@0/fp@0,0/ssd@w5006016c44602440,0

      11. c3t5006016C44602440d1 <drive type unknown>

          /pci@3,700000/SUNW,qlc@0/fp@0,0/ssd@w5006016c44602440,1

      12. c3t5006016C44602440d2 <drive type unknown>

          /pci@3,700000/SUNW,qlc@0/fp@0,0/ssd@w5006016c44602440,2

      13. c3t5006016444602440d0 <DGC-RAID5-0429 cyl 51198 alt 2 hd 256 sec 64>

          /pci@3,700000/SUNW,qlc@0/fp@0,0/ssd@w5006016444602440,0

      14. c3t5006016444602440d1 <DGC-RAID5-0430 cyl 61438 alt 2 hd 256 sec 40>

          /pci@3,700000/SUNW,qlc@0/fp@0,0/ssd@w5006016444602440,1

      15. c3t5006016444602440d2 <DGC-RAID5-0430 cyl 32766 alt 2 hd 8 sec 16>

          /pci@3,700000/SUNW,qlc@0/fp@0,0/ssd@w5006016444602440,2

Specify disk (enter its number): ^D

# powermt display dev=all

Device(s) not found.

# powermt config

# powermt display dev=all

Device(s) not found.

# bash

# powermt display dev=all

Device(s) not found.

# powercf -q

NO valid mapping entries in conf file!

标签 (1)
标记 (1)
0 项奖励
1 个已接受解答

已接受的解答
Alex_Ye
2 Iron

Re: (求助)Solaris10下PowerPath不找不到设备文件

转到解答

Powerpath for Solaris 5.5新增了一个要求,必须在/kernel/drv/fp.conf 和/kernel/drv/iscsi.conf 中都禁用mpxio才可以管理VNX/Clariion设备。

请检查一下这两个文件,确保包含这条配置:

mpxio-disable=yes

然后"reboot -- -r",重启之后 "powermt manage class=clariion"或者"powermt manage class=vnx"。

这是这个版本的Powerpath目前最常见的问题了,其实安装手册里面有提到:-)

0 项奖励
6 条回复6
Alex_Ye
2 Iron

Re: (求助)Solaris10下PowerPath不找不到设备文件

转到解答

Powerpath for Solaris 5.5新增了一个要求,必须在/kernel/drv/fp.conf 和/kernel/drv/iscsi.conf 中都禁用mpxio才可以管理VNX/Clariion设备。

请检查一下这两个文件,确保包含这条配置:

mpxio-disable=yes

然后"reboot -- -r",重启之后 "powermt manage class=clariion"或者"powermt manage class=vnx"。

这是这个版本的Powerpath目前最常见的问题了,其实安装手册里面有提到:-)

0 项奖励
Jack_Mei
2 Iron

Re: (求助)Solaris10下PowerPath不找不到设备文件

转到解答

文件 /kernel/drv/fp.conf 已经有 mpxio-disable=yes。但是在 /kernel/drv/iscsi.conf 没有这条,需要手工增加?

另外,有人给我的手册是/kernel/drv/fp.conf和/kernel/drv/scsi_vhci.conf文件,好像第二个文件跟你给点不一样哦,我这里没有官方文档,有点乱了,谢谢。

0 项奖励
Alex_Ye
2 Iron

Re: (求助)Solaris10下PowerPath不找不到设备文件

转到解答

scsi_vhci.conf 应该是在Solaris 9(8?)需要更改的配置文件,mpxio的功能被从scsi_vhci模块移植到了fp模块...

iscsi.conf 里面没有这个配置的话就需要手工添加啦。

0 项奖励
Highlighted
Celia_Lee
2 Iron

Re: (求助)Solaris10下PowerPath不找不到设备文件

转到解答

标准配置文档最好到powerlink上去找主机连接的手册, 因为版本比较多, 所以配置参数是有区别的.

在一个主机上最好只有一个链路管理软件.

下面是有关solaris的常用工具及配置方法:

/kernel/drv/lpfc.conf   emulex HBA卡参数设置文件

/usr/sbin/lpfc/lputil   emulex HBA卡配置工具, 可以做persistent binding

/kernel/drv/sd.conf     存储设置disk配置文件

update_drv -f sd 更新重新加载sd.conf, 使修改生效, (Sun solaris 9以上) -- 不用重启服务器.

devfsadm -Cv, 重新扫描物理设备, 生成新LUN对应的ctd设备

powermt config 生成新LUN对应的伪设备

powermt display dev=all 检查生成的emcpower设备及其ctd设备

format对LUN所对应的emcpower磁盘设备写标签, 分区....

另外在solaris下面, powerpath安装好, 加载了license以后是要求要重启一下的. 并检查load balance policy是不是CLAROpt, 如果不是还要用powermt的命令修改一下.

在你上面的例子里, 装好了powerpath没有重启,又没有运行powermt config也是看不到设备的.

设备系统已经扫描出来了,但没有被powerpath接管.

Jack_Mei
2 Iron

Re: (求助)Solaris10下PowerPath不找不到设备文件

转到解答

谢谢,明天去现场试试,随后公布答案。

0 项奖励
Jeffey1
4 Ruthenium

Re: (求助)Solaris10下PowerPath不找不到设备文件

转到解答

期待ing

0 项奖励