1833742 Members
2537 Online
110063 Solutions
New Discussion

cstm problem

 
SOLVED
Go to solution
iambluegary
Advisor

cstm problem

i use following command to check box serial num:
echo "sel path system;info;wait;infolog
>view
>done
>" |cstm >logfile

but when i look logfile,there are something wrong in it:
cstm>sel path system;info;wait;infolog
^-- Unknown device path. --
Device not found on path (system).


what's the problem?
help ,help,help :-)
9 REPLIES 9
S.K. Chan
Honored Contributor

Re: cstm problem

You got to give the correct "path" in the sel statement. Do this ..

# cstm
cstm> map
.... it'll show you a table of "device number", "path" and "product" ...
so if say you want choose memory .. look at 2nd column for it's "path" .. say it's 49 for example, then you would do ..

cstm> sel path 49

therefore

echo "sel path 49;info;wait;infolog
>view
>done
>" |cstm >logfile

..is how the whole thing should look like..
Now if ..
cstm> map
output does not show the path "system" the "sel path system" will failed. Typically on 800s it should work, not on 700s.
Michael Tully
Honored Contributor
Solution

Re: cstm problem

If what S.K. says doesn't work due to a CPU
being replaced, you probably can't do it.
I read in the attached post a similar problem.
Have a look at the comments by Patrick Wessel.

Only other place is in the print_manifest.
Anyone for a Mutiny ?
iambluegary
Advisor

Re: cstm problem

i saw the map,and i found there isnt system path in the box,and how can i add system path to the map?
help ,help,help :-)
Michael Tully
Honored Contributor

Re: cstm problem

S.K. Chan
Honored Contributor

Re: cstm problem

If it's not already in the "map" you can't. The only option you have is use "selall" instead of "sel path system", but I doubt you'll get info like the serial number.

Like what Michael said you can use print_manifest command for your purpose.
iambluegary
Advisor

Re: cstm problem

i cannot use print_manifest

and i use selall instead of sel system
but there isnt serial number of the box.

help ,help,help :-)
Michael Tully
Honored Contributor

Re: cstm problem

I'm not sure why you can't use 'print_manifest'. The first time you run it, it writes to a file called:
/var/opt/ignite/local/manifest/manifest.orig

On my system it contains the system serial number.
Anyone for a Mutiny ?
S.K. Chan
Honored Contributor

Re: cstm problem

Remember to assign points so that we know if we're solving your problem or not. Thanks ..
iambluegary
Advisor

Re: cstm problem

ok ,i can use print_manifest in /opt/ignite/bin

help ,help,help :-)