Solved

How to check internal disk in Managed system

Posted on 2010-09-08
3
966 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
3 Comments
 
LVL 5

Expert Comment

by:shajithchandran
Comment Utility
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
Comment Utility
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
Comment Utility
All ways good
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now