Solved

How to check internal disk in Managed system

Posted on 2010-09-08
3
999 Views
Last Modified: 2013-11-17
Hi Experts,

I have Managed system , i need to know how many internal disk attached to it and there sizes.

Thanks

sivaji.
0
Comment
Question by:sivakumar_experts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Expert Comment

by:shajithchandran
ID: 33634816
i dont think thats possible... you will have to physically check the number of disk attached to the machine..
or create a lpar and assign all the hard disc adapters to it and run lspv from it.
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 250 total points
ID: 33635002
Hi sivaji,
this will most probably not be possible.
The managed system's firmware hypervisor is only aware of "slots" and doesn't know much about what the slot's devices might be.
In newer firmware versions (don't know the exact level, sorry) there is something like "hardware discovery" which you could try.
You can check if this feature is available by issuing as hscroot on your HMC (assuming your managed system is called mysys)
lshwres -m mysys -r io --rsubtype slotchildren
Should you get some output which seems meaningful, plase post part of it so I could have a look. My firmware is too old, so I can't check it here by myself.
If you get an answer like "The managed system does not support hardware discovery." you will not be able to see your internal disks.
You can only issue
lshwres -m msys -r io --rsubtype slot -F description
and search for "Storage controller" or "RAID Controller" (depends on the installed hardware) to check how many slots there are.
You cannot see the children (disks), unfortunately.
You can only look for unused controllers, attach them to an LPAR, run cfgmgr and see what you get.
Find unassigned slots with
lshwres -m msys -r io --rsubtype slot -F "phys_loc description lpar_id" | grep none
Good luck!
wmp

 
 
 
 
0
 

Author Closing Comment

by:sivakumar_experts
ID: 33663516
All ways good
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question