1834926 Members
2748 Online
110071 Solutions
New Discussion

cstm questions

 
SOLVED
Go to solution
Con O'Kelly
Honored Contributor

cstm questions

Hi
A couple of questions about cstm.
Firstly whats the best set of commands to use within cstm to search for any HW errors. I used "selall or sel dev ; info ; infolog". I had a disk failure the other day, which was easy to identify through lvm commands. However I was curious to see what cstm said. The above cstm command ignored the failed disk.
Secondly I???ve got an L Class system that when I run map from cstm it shows product as unknown. Normally it should display cpu, memory, SCSI disk etc. When I try a "sel dev 23 ; info", cstm reports that ???Information is currently disabled???. I have a feeling this could be something to do with codewords?

Any help appreciated

Cheers
Con
4 REPLIES 4
S.K. Chan
Honored Contributor

Re: cstm questions

First part of your question .. STM is best used as a diagnostic tool and hardware information collection tool. Thus when the disk failed it is expected to ignore the command you gave to it within cstm. However if say some sectors in your disk is failing, in other words the disk is showing signs of failing then STM can be used as a tool to further diagnose the disk (ie you run "exerciser" on the selected disk).
Second part ... does all of the components show "unknown" or just some. Unsupported hardware (example .. 3rd party memory) can show up as "unknown". If all of them are showing up as unknown you might want to check if diagmond is running or not. But then again if it's not running it should give you some warning messages just after you run cstm...so don't bother .. instead try to restart diagmond and see if it helps.
# /sbin/init.d/diagnostic stop
# /sbin/init.d/diagnostic start
The device that you have selected (ie dev 23), what is that ? What if you do ..
cstm> sel dev all
cstm> info
cstm> infolog
Does that do anything ? STM is not a codeword activated software so I don't think it's codeword related.
Con O'Kelly
Honored Contributor

Re: cstm questions

Thanks for the reply.
When examining the disk info provided by cstm, is there anything in particular to look for. I know for memory, it's probably a good idea to keep an eye on PDT.
Second part...All of the components are showing unknown. I can run "sel dev all ; info ; il" and I get the report. But I can't select individual devices (Dev 23 is a CPU). The other columns "Last Active Tool" and "Last Op Successful" are all blank, except for the first device - system. This is probably why the "sel dev all" command was successful.
Thanks for your help.
Con O'Kelly
Honored Contributor

Re: cstm questions

Hi SK
I just restarted diagnostics and that fixed the problem. Sorry should have done that before I posted the reply and should have awarded you the 10 points.

Thanks for your help.

Cheers
Con
S.K. Chan
Honored Contributor
Solution

Re: cstm questions

I'm glad it worked out for you ! To answer your question about what to look for in the disk info, the "info" and "infolog" command for select disk will show mostly information about the disk. For example if it's a LUN from an autoraid (eg: 12H) you would see the output as it would appear in "arraydsp" output. If it were disk problem you would see it appearing in syslog.log, in your dmesg and in your LVM command output (stale extents). You probably don't need STM if that were the case.