Operating System - HP-UX
1831645 Members
2798 Online
110029 Solutions
New Discussion

Firmware and OS Information

 
SOLVED
Go to solution
Vinesh Dhevcharran
Occasional Advisor

Firmware and OS Information

Hi,

Can someone please assist with 2 questions:

1. Last week a HP engineer came in and did a firmware upgrade on our machine. How can I now tell what version of firmware we are running?

2. On Solaris I can run metastat and this will give me a listing of all the RAID devices. Is there an equivalent command for LVM so that I can grep for the status of each of the logical volumes? If I use lvdisplay I have to provide each logical volume!
3 REPLIES 3
Stefan Farrelly
Honored Contributor
Solution

Re: Firmware and OS Information

You need the OnlineDiag bundle installed (Online Diagnostics) then run;

cstm <sel all
il
Done
quit
EOF

And this will show the PDC firmware revision on your server.
Im from Palmerston North, New Zealand, but somehow ended up in London...
William Whiteford
Occasional Advisor

Re: Firmware and OS Information

Hi,

For number 2 you could use a for loop such as

for LV in `vgdisplay -v | grep "LV Name" | awk '{print $3}'`
do
lvdisplay $LV | grep -e "LV Name" -e "LV Status"
done

wchihi will give you l a list of lv's followed by their status.

Can't think of a single command which would do that.

For number 1, is it disk firmware? if so dependant on the type of disk diskinfo -v should give you that
T G Manikandan
Honored Contributor

Re: Firmware and OS Information

The equivalent of metastat

/usr/sbin/lvdisplay,
/usr/sbin/pvdisplay,
/usr/sbin/vgdisplay


you can find the firmware version using


YOu should have stm installed on the machine

# echo "selclass qualifier cpu;info;wait;infolog"|cstm > /tmp/firmware

#grep -i /tmp/firmware


Thanks