Use EMC powermt to solve PowerPath Problem

原创 2004年09月23日 10:24:00

原文链接:star.gif

http://www.eygle.com/unix/Use.EMC.Powermt.Solve.Config.Problem.htm

在EMC系统中,如果你频繁的增减磁盘,重新分配规划磁盘组,那么主机可能无法正确检测到磁盘,这是后我们可以使用powermt来检测配置,
解决问题.

 

1.你可以会遇到如下问题

你已经分配磁盘给主机系统,但是在format时无法发现:

# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 
          /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0106d9781,0
       1. c1t1d0 
          /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0106ef871,0
Specify disk (enter its number): 1
selecting c1t1d0
[disk formatted]
Warning: Current Disk has mounted partitions.


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !     - execute , then return
        quit
format> q       
                      

2.此时可以使用powermt来检测PowerPath连接状态

Powermt means:PowerPath 4.x Management Utility

 

 
# powermt display dev=all
Pseudo name=emcpower4a
CLARiiON ID=CK200041200044
Logical device ID=6006016028A610000AF03A428708D911
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=Unknown
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
2304 pci@8/fibre-channel@4     c2t0d3s0   SP B0     active  dead       0      0
2304 pci@8/fibre-channel@4     c2t1d3s0   SP A0     active  dead       0      0
2305 pci@8/fibre-channel@5     c3t0d3s0   SP B0     active  dead       0      0
2305 pci@8/fibre-channel@5     c3t1d3s0   SP A0     active  dead       0      0

Pseudo name=emcpower5a
CLARiiON ID=CK200041200044
Logical device ID=6006016028A610005ABD62655B08D911
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=Unknown
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
2304 pci@8/fibre-channel@4     c2t0d2s0   SP B0     active  dead       0      0
2304 pci@8/fibre-channel@4     c2t1d2s0   SP A0     active  dead       0      0
2305 pci@8/fibre-channel@5     c3t0d2s0   SP B0     active  dead       0      0
2305 pci@8/fibre-channel@5     c3t1d2s0   SP A0     active  dead       0      0

Pseudo name=emcpower0a
CLARiiON ID=CK200041200044
Logical device ID=6006016028A61000C65024C992D4D811
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=Unknown
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
2304 pci@8/fibre-channel@4     c2t0d0s0   SP B0     active  dead       0      0
2304 pci@8/fibre-channel@4     c2t1d0s0   SP A0     active  dead       0      0
2305 pci@8/fibre-channel@5     c3t0d0s0   SP B0     active  dead       0      0
2305 pci@8/fibre-channel@5     c3t1d0s0   SP A0     active  dead       0      0

Pseudo name=emcpower1a
CLARiiON ID=CK200041200044
Logical device ID=6006016028A61000F075BD4E93D4D811
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=Unknown
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
2304 pci@8/fibre-channel@4     c2t0d1s0   SP B0     active  dead       0      0
2304 pci@8/fibre-channel@4     c2t1d1s0   SP A0     active  dead       0      0
2305 pci@8/fibre-channel@5     c3t0d1s0   SP B0     active  dead       0      0
2305 pci@8/fibre-channel@5     c3t1d1s0   SP A0     active  dead       0      0

Pseudo name=emcpower6a
CLARiiON ID=CK200041200044
Logical device ID=6006016028A61000FC68E575620CD911
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=Unknown
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
2304 pci@8/fibre-channel@4     c2t0d4s0   SP B0     active  dead       0      0
2304 pci@8/fibre-channel@4     c2t1d4s0   SP A0     active  dead       0      0
2305 pci@8/fibre-channel@5     c3t0d4s0   SP B0     active  dead       0      0
2305 pci@8/fibre-channel@5     c3t1d4s0   SP A0     active  dead       0      0


       

 

这些active dead的状态都是错误的.

3.执行重新配置

# powermt check
Warning: CLARiiON device path c2t0d0s0 is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: CLARiiON device path c2t0d1s0 is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: CLARiiON device path c2t0d2s0 is currently dead.
Do you want to remove it (y/n/a/q)? a
Warning: CLARiiON device path c2t0d3s0 is currently dead.
Warning: CLARiiON device path c2t0d4s0 is currently dead.
Warning: CLARiiON device path c2t1d0s0 is currently dead.
Warning: CLARiiON device path c2t1d1s0 is currently dead.
Warning: CLARiiON device path c2t1d2s0 is currently dead.
Warning: CLARiiON device path c2t1d3s0 is currently dead.
Warning: CLARiiON device path c2t1d4s0 is currently dead.
Warning: CLARiiON device path c3t0d0s0 is currently dead.
Warning: CLARiiON device path c3t0d1s0 is currently dead.
Warning: CLARiiON device path c3t0d2s0 is currently dead.
Warning: CLARiiON device path c3t0d3s0 is currently dead.
Warning: CLARiiON device path c3t0d4s0 is currently dead.
Warning: CLARiiON device path c3t1d0s0 is currently dead.
Warning: CLARiiON device path c3t1d1s0 is currently dead.
Warning: CLARiiON device path c3t1d2s0 is currently dead.
Warning: CLARiiON device path c3t1d3s0 is currently dead.
Warning: CLARiiON device path c3t1d4s0 is currently dead.

# powermt config
# powermt restore
# powermt save 
# powermt display dev=all
Pseudo name=emcpower7a
CLARiiON ID=CK200041200044 [Storage Group 2]
Logical device ID=6006016028A61000482F2BA9720CD911 [LUN 1]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
2304 pci@8/fibre-channel@4     c2t0d0s0   SP B0     active  alive      0      0
2304 pci@8/fibre-channel@4     c2t1d0s0   SP A0     active  alive      0      0
2305 pci@8/fibre-channel@5     c3t0d0s0   SP B0     active  alive      0      0
2305 pci@8/fibre-channel@5     c3t1d0s0   SP A0     active  alive      0      0


 

此时的active alive状态正常.

4.此时执行format可以看到正确的磁盘

# format
Searching for disks...done

c2t0d0: configured with capacity of 40.00GB
c2t1d0: configured with capacity of 40.00GB
c3t0d0: configured with capacity of 40.00GB
c3t1d0: configured with capacity of 40.00GB
emcpower7a: configured with capacity of 40.00GB


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 
          /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0106d9781,0
       1. c1t1d0 
          /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0106ef871,0
       2. c2t0d0 
          /pci@8,700000/fibre-channel@4/sd@0,0
       3. c2t1d0 
          /pci@8,700000/fibre-channel@4/sd@1,0
       4. c3t0d0 
          /pci@8,700000/fibre-channel@5/sd@0,0
       5. c3t1d0 
          /pci@8,700000/fibre-channel@5/sd@1,0
       6. emcpower7a 
          /pseudo/emcp@7
Specify disk (enter its number): ^D    
  

具体Powermt命令参考:

http://blog.csdn.net/eygle/archive/2004/09/23/113881.aspx


Linux 下 PowerPath常用命令总结及应用

Linux系统扫描SCSI磁盘有几种方式?Linux新增LUN之后,能否不重启主机就认出设备?如果安装了PowerPath,动态添加/删除LUN的命令是什么?本文总结了Linux主机对磁盘设备进行重新...
  • wll_1017
  • wll_1017
  • 2015年10月14日 20:09
  • 4979

Linux 6.5下安装EMC powerpath多路径软件安装

本实验使用rhel6.5 x64操作系统。 如下仅为简单配置,如有更详细配置方式,请务必依据EMC存储工程师建议配置。 1、上传EMC存储多路径软件包至/目录,上传文件为:EMCPower...
  • lk_db
  • lk_db
  • 2016年05月18日 15:48
  • 5671

EMC PowerPath多路径软件功能概览

本文转自:http://storage.chinabyte.com/331/12532831.shtml   PowerPath是基于主机的用于智能地管理多路径I/O的软件。PowerPath可实...
  • msdnchina
  • msdnchina
  • 2015年01月31日 21:46
  • 2876

安装emc powerpath

EMC PowerPath是用于进行路径选择,冗余和负载均衡的管理软件,相对于HP,IBM等厂商的多路径, EMC的优势在于能够实现负载均衡,而其他厂家仅支持基本故障切换。 PowerPath f...
  • lordcoohoo
  • lordcoohoo
  • 2012年08月02日 19:50
  • 4609

Linux下powerpath及multipath的配置

# ##EMC多路径安装配置流程 #实验环境:Linux4.5连接EMC CX4-120存储 (1) 安装EMC多路径rpm包: # rpm -ivh EMCpower.LINUX-5.3.1...
  • hzhvv
  • hzhvv
  • 2016年06月22日 16:10
  • 1607

linux 下powerpath共享磁盘名称不一致处理方法

我们知道在SAN网络中,由于光纤交换机会有多条链路接入主机,所以会存在设备多名称现象,也就是一台存储被识别多次,具体根据连接的链路情况,并且对于连接到的LUN在主机上的LINUX系统上会发生/dev/...
  • marvelyu
  • marvelyu
  • 2012年04月06日 14:13
  • 4928

杭电OJ——1086 You can Solve a Geometry Problem too

You can Solve a Geometry Problem too Problem Description Many geometry(几何)problems were de...
  • lishuhuakai
  • lishuhuakai
  • 2012年12月06日 06:13
  • 2310

ASM :/dev/emcpowera绑定UDEV来做ASM磁盘

ASM :/dev/emcpowera绑定UDEV来做ASM磁盘 我的存储是EMC的,装上多路径软件之后  [root@chnap-itd64 rules.d]# fdisk -l WARNING:...
  • alangmei
  • alangmei
  • 2014年04月18日 14:07
  • 1390

oracle rac 安装redhat6 EMC存储绑定udev

[root@chnap-itd64 rules.d]# vi 99-oracle-asmdevices.rules  KERNEL=="emcpowera1", BUS=="scsi", PRO...
  • techsupporter
  • techsupporter
  • 2016年12月19日 20:41
  • 1115

ocp-131

QUESTION NO: 131 When starting up your ASM instance, you receive the following error: ASM SQL> sta...
  • xuejiayue1105
  • xuejiayue1105
  • 2015年10月05日 11:04
  • 802
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Use EMC powermt to solve PowerPath Problem
举报原因:
原因补充:

(最多只允许输入30个字)