Solved

How to check internal disk in Managed system

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Vmware Vswitch  VS  Redhat  Bridge 1 106
Unix How to Bulk Remove Multiple Directories from FileSystem 10 77
Solaris 10.  Nmap installation fails 2 57
Martian Packets Unix 5 50
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

808 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