Solved

How to check internal disk in Managed system

Posted on 2010-09-08
3
989 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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

830 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