EMC PowerPath basic commands

May 10, 2010 — 27 Comments

PowerPath is a multipathing software for Unix operating systems from EMC. If you have ever worked or you are going to work in an environment that includes EMC storage systems it is more than sure that Powerpath will be installed in the Unix hosts.

Following are some notes and tips I’ve been creating since the very first time I found Powerpath, of course this isn’t a full user guide but a sort of personal quick reference. I decide to put it here in the hope that it will be helpful to anyone and for my personal use.

  • Show powermt command version
[root@totoro] / # powermt version
EMC powermt for PowerPath (c) Version 5.1.0 (build 160)
  • Display PowerPath configuration.
[root@totoro] / # powermt display
Symmetrix logical device count=898
CLARiiON logical device count=0
Hitachi logical device count=0
Invista logical device count=0
HP xp logical device count=0
Ess logical device count=0
HP HSx logical device count=0
==============================================================================
----- Host Bus Adapters ---------  ------ I/O Paths -----  ------ Stats ------
###  HW Path                       Summary   Total   Dead  IO/Sec Q-IOs Errors
==============================================================================
 5 0/2/1/0.101.16.19.0           optimal      61      0       -     0      0
 6 0/2/1/0.101.16.19.1           optimal     102      0       -     0      0
 7 0/2/1/0.101.16.19.2           optimal      97      0       -     0      0
 8 0/2/1/0.101.16.19.3           optimal     113      0       -     0      0
 9 0/2/1/0.101.16.19.4           optimal      82      0       -     0      0
 11 0/2/1/0.101.43.19.0           optimal     128      0       -     0      0
 12 0/2/1/0.101.43.19.1           optimal      49      0       -     0      0
 13 0/2/1/0.101.43.19.2           optimal      57      0       -     0      0
 14 0/2/1/0.101.43.19.3           optimal      83      0       -     0      0
 15 0/2/1/0.101.43.19.4           optimal      74      0       -     0      0
 16 0/2/1/0.101.43.19.5           optimal      33      0       -     0      0
 17 0/2/1/0.101.43.19.6           optimal      19      0       -     0      0
 19 0/5/1/0.102.16.19.0           optimal      61      0       -     0      0
 20 0/5/1/0.102.16.19.1           optimal     102      0       -     0      0
 21 0/5/1/0.102.16.19.2           optimal      97      0       -     0      0
 22 0/5/1/0.102.16.19.3           optimal     113      0       -     0      0
 23 0/5/1/0.102.16.19.4           optimal      82      0       -     0      0
 25 0/5/1/0.102.43.19.0           optimal     128      0       -     0      0
 26 0/5/1/0.102.43.19.1           optimal      49      0       -     0      0
 27 0/5/1/0.102.43.19.2           optimal      57      0       -     0      0
 28 0/5/1/0.102.43.19.3           optimal      83      0       -     0      0
 29 0/5/1/0.102.43.19.4           optimal      74      0       -     0      0
 30 0/5/1/0.102.43.19.5           optimal      33      0       -     0      0
 31 0/5/1/0.102.43.19.6           optimal      19      0       -     0      0

[root@totoro] / #
  • Check for death paths and remove them.
[root@sheldon] / # powermt display
Symmetrix logical device count=34
CLARiiON logical device count=0
Hitachi logical device count=0
Invista logical device count=0
HP xp logical device count=0
Ess logical device count=0
HP HSx logical device count=0
==============================================================================
----- Host Bus Adapters ---------  ------ I/O Paths -----  ------ Stats ------
###  HW Path                       Summary   Total   Dead  IO/Sec Q-IOs Errors
==============================================================================
 17 UNKNOWN                       failed        1      1       -     0      0
 31 UNKNOWN                       failed        1      1       -     0      0
 37 1/0/14/1/0.109.85.19.0        optimal      32      0       -     0      0
 39 0/0/14/1/0.110.85.19.0        optimal      32      0       -     0      0

[root@sheldon] / # powermt check
Warning: Symmetrix device path c17t9d6 is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: Symmetrix device path c31t9d6 is currently dead.
Do you want to remove it (y/n/a/q)? y
[root@sheldon] / #
  • List all devices.
[root@totoro] / # powermt display dev=all
  • Remove all devices.
[root@totoro] / # powermt remove dev=all
  • Add a new disk in HP-UX, configure it and save the config:

After a rescan of the disks with ioscan and the creation of the device files with insf run the following command  to add the new disk to PowerPath

[root@totoro] / # powermt config

Now display all the devices and look the for the Logical device ID of the disk.

[root@totoro] / # powermt display dev=all | more
...
...
Symmetrix ID=000287750035
Logical device ID=0004
state=alive; policy=SymmOpt; priority=0; queued-IOs=0
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
###  HW Path                I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
20 0/0/10/1/0.11.15.0.0.1.3 c20t1d3 SP A0 active alive 0 1
23 0/0/10/1/0.11.47.0.0.1.3 c23t1d3 SP B0 active alive 0 1
26 1/0/8/1/0.21.15.0.0.1.3 c26t1d3 SP A1 active alive 0 1
29 1/0/8/1/0.21.47.0.0.1.3 c29t1d3 SP B1 active alive 0 1
...
...

If everything went fine save the config.

[root@totoro] / # powermt save

And these are the most common tasks I’ve been doing with PowerPath. I’ll try to put some order into my notes and personal how-to files and write more posts like this one.

Juanma.

About these ads

27 responses to EMC PowerPath basic commands

  1. 

    how to increase the voulem size by useing powervol command

    please gailve example

  2. 

    Thanks for your effort for writing “EMC PowerPath basic commands | Juanma’s Blog” z-ita.com . I personallymight really be back for even more reading through and writing comments soon. I am grateful, Dennis

  3. 
    Simranjit Singh April 4, 2013 at 14:42

    great , totally helpfull….cheers

  4. 

    Nice blog right here! Additionally your site so much up very fast!
    What web host are you using? Can I am getting your associate hyperlink on your host?
    I wish my site loaded up as fast as yours lol

  5. 

    You are so interesting! I do not believe I’ve truly read through anything like this before. So wonderful to discover another person with original thoughts on this issue. Seriously.. many thanks for starting this up. This website is something that is required on the web, someone with a bit of originality!

  6. 

    I know this site presents quality based posts and additional stuff, is there any other web site which
    provides these kinds of stuff in quality?

  7. 

    Hello. I learn a few of your other posts and desired to give thanks
    you

  8. 

    Hi, I do believe this is an excellent website. I stumbledupon it ;) I am going to return yet
    again since i have saved as a favorite it. Money and freedom is the greatest
    way to change, may you be rich and continue to help others.

  9. 

    I am really loving the theme/design of your website. Do you ever run into any browser compatibility issues?
    A couple of my blog readers have complained about my
    website not operating correctly in Explorer but looks great in Chrome.
    Do you have any ideas to help fix this problem?

  10. 

    I’m curious to find out what blog platform you’re using?
    I’m having some small security problems with my latest blog and I’d like to find something more safe.
    Do you have any solutions?

  11. 

    Eveery member of the National Association of thee Remodeling
    Industry NARI is raising awareness of the dangers of lead exposure due to a recent survey.
    From traffic flow to added storage, all your home decor.
    House owners, do-it-yourself projects are a fact
    home remodeling contractors of life. Thiss can yield big dividends forr a small budget, hey usually agree that making the undertaking pleasurable
    is the key to sucxess is too check their license.

  12. 

    Hi there fantastic blog! Does running a blog such as this require a massive
    amount work? I’ve very little expertise in computer programming however I had been hoping to start my own blog
    soon. Anyways, should you have any recommendations or tips for
    new blog owners please share. I understand this is off subject however I just
    had to ask. Kudos!

  13. 

    Very son this site will be famous amid all blogging people, due to it’s good content

  14. 

    I’m truly enjoying the design and layout of your blog.
    It’s a very easy on the eyes which makes it much more pleasant for me to
    come here and visit more often. Did you hire
    out a developer to create your theme? Outstanding work!

  15. 

    Almost $1 8 billion which is 28. Now we
    are going to slowly social media plugin for wordpress die.
    And then we have to also be conscience of that.
    Facebook has come along way with groups. But wait,
    it gets social media plugin for wordpress better. On
    the flip side is indelicate revelations are always just a click of a few of the locally owned Internet Service Providers
    ISP located in Louisville, Ky. Really, what Google is, I wouldn’t have learned this,
    I moved right out of it what you put into social media dialogues.

  16. 

    Very efficiently written information. It will be beneficial to everyone who employess it, including myself. Keep up the good work for sure i will check out more posts. edcfaebfefkb

  17. 

    Good article! PowerPath is very powerfull tool. But multipath is already in all major Linux distros. From my experince, powerpath is much easier to work with and has much more commands!

  18. 

    Thanks , I’ve recently been searching for information approximately this
    topic for a while and yours is the best I’ve came upon till now.
    However, what about the conclusion? Are you sure concerning the supply?

  19. 

    Great blog here! Also your web site loads up fast!
    What web host are you using? Can I get your affiliate link
    to your host? I wish my web site loaded up as quickly as yours
    lol

  20. 
    jeux minecraft gratuit September 20, 2014 at 12:02

    I also suspect that a worrying number of course places are being given away, just
    to make the courses seem more valuable to the few people who are paying
    heavily discounted rates. At least this way you won’t take half of
    your outside wall with you when you die. The
    amount of effort required to erect any structure in Minecraft seems to make individuals
    decide against pranks and instead focus on designing something cool, like they’re own floating castle or a highway between structures.

  21. 

    This feature is known as an overlay because it is overlaid on top
    of the game, ensuring that you always know who you are
    talking and who is talking at any point in time. It’d
    be easier for you to retain the lost password by using reset windows password tools.
    Missing MS Office files may cause great chaos and havoc.

    Here are a few tips that will help you create strong and long passwords.

    And you can see Windows Password Unlocker under
    Win PE with the many consumer accounts on your home pc displayed.

  22. 

    Because of this research they gather viral strains from differing people, different body web sites, or from situations with varying extremes of signs and symptoms.
    If you are contaminated with herpes and another std,
    then you are in risk for a weakened disease fighting capability.
    During this time, you could have more serious
    outbreaks of genital herpes, and also complications.

  23. 

    You wish to Provide your theme along side anything you already know just can raise their curiosity, for a
    larger possibility of catching that challenging airtime. Substance misuse therapists offer
    as courses to alcohol abusers and aid them to produce new attractive
    behaviors together with vendors of aid who is able to tune
    in to what lovers must claim about their issues.
    Louis Because the location and substance abuse inside the
    Key Term research window.

  24. 

    hello there and thank you for your information – I’ve certainly picked up anything new from right here.
    I did however expertise some technical points
    using this site, since I experienced to reload the web site a lot of times previous to
    I could get it to load properly. I had been wondering if your web host is OK?
    Not that I’m complaining, but sluggish loading instances times will often affect
    your placement in google and can damage your high quality score
    if ads and marketing with Adwords. Well I am adding this RSS to my
    email and could look out for much more of your respective
    fascinating content. Make sure you update this again very soon.

  25. 

    wonderful put up, very informative. I ponder why the opposite experts
    of this sector don’t realize this. You should continue
    your writing. I am confident, you have a great readers’ base
    already!

  26. 

    May I just say what a comfort tto uncover someone who genuinely knows whgat they’re talking about onn
    the internet. Yoou definitely understand how
    to bring a problem tto light and make it important. More
    people must look at this and undderstand this side of thhe story.
    I was surprised you’re not more popular because you most certainly have the gift.

  27. 

    Very good information. Lucky me I found your website by accident (stumbleupon).
    I have saved as a favorite for later!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s