`
wsql
  • 浏览: 12100261 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
文章分类
社区版块
存档分类
最新评论

Use EMC powermt to solve PowerPath Problem

阅读更多

原文链接:

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 <sun72g cyl alt hd sec>
          /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0106d9781,0
       1. c1t1d0 <sun72g cyl alt hd sec>
          /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
        !<cmd>     - execute <cmd>, then return
        quit
format&gt; q       
                      </cmd></cmd></sun72g></sun72g>

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 <sun72g cyl alt hd sec>
          /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0106d9781,0
       1. c1t1d0 <sun72g cyl alt hd sec>
          /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0106ef871,0
       2. c2t0d0 <dgc-raid5-0206 cyl alt hd sec>
          /pci@8,700000/fibre-channel@4/sd@0,0
       3. c2t1d0 <dgc-raid5-0206 cyl alt hd sec>
          /pci@8,700000/fibre-channel@4/sd@1,0
       4. c3t0d0 <dgc-raid5-0206 cyl alt hd sec>
          /pci@8,700000/fibre-channel@5/sd@0,0
       5. c3t1d0 <dgc-raid5-0206 cyl alt hd sec>
          /pci@8,700000/fibre-channel@5/sd@1,0
       6. emcpower7a <dgc-raid5-0206 cyl alt hd sec>
          /pseudo/emcp@7
Specify disk (enter its number): ^D    
  </dgc-raid5-0206></dgc-raid5-0206></dgc-raid5-0206></dgc-raid5-0206></dgc-raid5-0206></sun72g></sun72g>

具体Powermt命令参考:

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


分享到:
评论

相关推荐

    PowerPath常用命令总结及应用

    PowerPath 是一款多路径管理工具,适用于 EMC Symmetrix 和 Clariion 存储系统。下面将对 PowerPath 的常用命令进行总结和应用。 powermt check 命令 powermt check 命令用于检查 PowerPath 配置平台的路径信息。...

    AIX-7.1-安装EMC-ODM和PowerPath.docx

    根据给定文件的信息,本文将详细介绍如何在AIX 7.1系统环境下安装EMC ODM(Open Device Manager)和PowerPath软件,并提供相应的步骤与注意事项。 ### 一、安装EMC ODM #### 1.1 解压缩安装文件 在进行安装前,...

    EMC PowerPath使用指南

    ### EMC PowerPath 使用指南知识点详解 #### 一、PowerPath简介 **PowerPath**是一款由EMC公司开发的软件,主要功能在于管理服务器与存储系统之间的路径,确保数据的高可用性和性能优化。该软件可以在多种操作系统...

    EMC-PowerPath 安装配置手册

    ### EMC PowerPath 安装配置手册知识点解析 #### 功能概述 **1.1 PowerPath功能介绍** EMC PowerPath 是一款专为增强存储环境中开放系统运行性能而设计的软件解决方案。该软件能够显著提升服务器的工作效率,确保...

    EMC磁盘连接AIX的方法及多路径冗余软件POWERPATH安装、配置、测试报告.doc

    EMC 磁盘连接 AIX 的方法及多路径冗余软件 POWERPATH 安装、配置、测试报告 本文档主要介绍了 EMC 磁盘连接 AIX 的方法,以及多路径冗余软件 POWERPATH 的安装、配置和测试报告。下面是文档的详细知识点: 一、ODM...

    EMC PowerPath 学习汇总.doc

    对于日常管理和故障排查,PowerPath提供了丰富的命令行工具,例如`powermt display paths`可以显示所有路径的状态,`powermt recover`用于手动恢复路径等,这些命令使得管理员能更有效地监控和管理存储路径。...

    EMC powerpath路径不全的解决办法

    EMC PowerPath是一款多路径软件,用于管理和优化连接到存储系统的多个物理路径,以提高数据传输的可靠性和性能。当遇到“EMC powerpath路径不全”的问题时,通常表现为PowerPath没有管理到所有主机的HBA(Host Bus ...

    linux6.4配置emc存储多路径.pdf

    可以使用 powermt 命令来配置和查看 PowerPath 的状态。 multipath 服务的关闭 在安装 EMC PowerPath 之前,需要关闭系统自带的多路径管理软件 multipath 的服务,以避免冲突。可以使用 chkconfig 命令来关闭 ...

    EMC磁盘连接AIX的方法和多路径冗余软件POWERPATH安装、配置、测试报告.docx

    在配置POWERPATH时,需要检查powermt display dev命令的输出结果,以确保POWERPATH能够正确识别EMC磁盘。在本文档中,我们可以看到POWERPATH识别了hdisk3~hdisk10这8个磁盘,并将其状态设置为alive或dead。 三、...

    EMC磁盘连接AIX的方法及多路径冗余软件POWERPATH安装、配置、测试报告.pdf

    本文主要讨论了如何安装和配置EMC的ODM(对象描述模块)定义以及PowerPath软件,以实现EMC磁盘的正确识别和管理。 一、ODM部分 1. 安装前准备工作 在安装EMC ODM之前,需要确保AIX系统已具备基础的FC驱动,这些驱动...

    AIX powerpath安装文档

    EMC PowerPath 是一款高性能、高可靠性的多路径软件解决方案,旨在为基于 AIX 的系统提供对 EMC 存储系统的透明访问,并确保在存储路径出现故障时能够实现快速的数据路径恢复。本文档将详细介绍如何在 AIX 系统上...

    方法及多路径冗余软件POWERPATH安装、配置、测试报.docx

    在安装 POWERPATH 之前,需要先安装 EMC 的 ODM 文件,ODM 文件是 EMC 提供的驱动程序,用于让 AIX 正常识别 EMC 磁盘。获取 ODM 文件可以从 ftp.emc.com/pub/elab/aix/ODM_DEFINITIONS 下载,下载的文件类型为 tar....

    EMC磁盘连接AIX的方法及多路径冗余软件POWERPATH安装、.docx

    6. **监控和维护**:使用POWERPATH提供的管理工具(如powermt或powerpath/ve)监控路径状态,定期检查并优化路径配置,确保系统的高效运行。 7. **测试故障切换**:为了验证配置的有效性,通常会进行故障切换测试,...

    powerpath AIX系统安装详解

    8. **故障排查**:在遇到问题时,查阅EMC/Dell提供的技术文档,利用`powerpath`命令的诊断选项,如`powerpath -d`或`powermt diagnose`来识别并解决问题。 在安装和使用PowerPath的过程中,了解AIX的软件包管理、...

    EMC维护文档要点.docx

    文档作者为钱益平,主要涉及EMC SYMMETRIX 8530存储系统的操作和维护,以及EMC ECC和POWERPATH管理软件的使用。 一、文档简介 1.1 目的 文档的主要目的是为了指导系统管理员在项目实施后进行日常维护,确保广州...

Global site tag (gtag.js) - Google Analytics