Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hpux] Disk Firmware Collect with Device Files #3

Closed
lgielen1 opened this issue Mar 22, 2013 · 3 comments
Closed

[hpux] Disk Firmware Collect with Device Files #3

lgielen1 opened this issue Mar 22, 2013 · 3 comments

Comments

@lgielen1
Copy link

Which level of firmware is this disk firmware in the end?

./hpux/plugins/get_diskfirmware.sh
$Id: get_diskfirmware.sh,v 5.16 2012-02-28 15:11:33 ralproth Exp $

Device    Vendor/Product     SCSI  LUN Cap/GB  FWVer  Paths Usage/VG/Owner/ID            
---------------------------------------------------------------------------------------
disk3     HP/DH072ABAA6      !LDSF --  68.4    HPD9   0     LVM/vg00/v1.0/partition
disk7     HP/DG072A9BB7      !LDSF --  68.4    HPD0   0     LVM/vg_p2/v1.0/lvm
disk8     TEAC/DV-28E-N      !LDSF --  0.4     C.6B   0     Filesystem/cdfs/cdfs   
disk9     HP/OPEN-V-CM       !LDSF --  1.0     5001   0     LVM/vg_p2/v1.0/lvm
disk10    HP/OPEN-V-CM       !LDSF --  1.0     5001   0     LVM/vg_p2/v1.0/lvm
disk11    HP/OPEN-V-CM       !LDSF --  1.0     5001   0     LVM/vg_p2/v1.0/lvm
disk16    HP/OPEN-V-CM       !LDSF --  1.0     5001   0     /none            
disk17    HP/OPEN-V          !LDSF --  30.0    5001   0     LVM/vgtest/v2.2/lvm
---------------------------------------------------------------------------------------
Note: Raw device usage is not shown in the usage column.
@ghost ghost assigned gdha Mar 22, 2013
@gdha
Copy link
Contributor

gdha commented Jun 25, 2013

not sure what you mean?

#-> diskinfo -v /dev/rdisk/disk7 | grep rev
          rev level: HPD0

is above not showing the firmware level of disk7?

gdha pushed a commit that referenced this issue Jun 25, 2013
- get_qlan.sh for an overview of LAN interface (incl. IP address)
- get_qlan_details.sh for an in-depth LAN overview
==> both scripts will only return output for HP-UX 11.31. Did not
bother for older versions (yet)
- plugins/get_lan_desc.sh: comment out the nwmgr call as it is now
  redundant
--> linked to issue #1

plugins/firmware_collect.sh: make it work for HP-UX 11.31 (issue #3)
@roseswe
Copy link
Member

roseswe commented Jun 28, 2013

The script is more than 13 years old, maybe we should remove it and use get_diskfirmware.sh

@gdha
Copy link
Contributor

gdha commented Jul 2, 2013

#-> hpux/plugins/get_diskfirmware.sh
$Id: get_diskfirmware.sh,v 5.16 2012-02-28 15:11:33 ralproth Exp $

Device    Vendor/Product     SCSI  LUN Cap/GB  FWVer  Paths Usage/VG/Owner/ID
---------------------------------------------------------------------------------------
disk4     HP/OPEN-V          !LDSF --  10.0    5001   0     /none
disk3     HP/DH072ABAA6      !LDSF --  68.4    HPD9   0     LVM/vg00/v1.0/partition
disk7     HP/DG072A9BB7      !LDSF --  68.4    HPD0   0     /lvm
disk8     TEAC/DV-28E-N      !LDSF --  0.4     C.6B   0     Filesystem/cdfs/cdfs
disk17    HP/OPEN-V          !LDSF --  30.0    5001   0     LVM/vg_testcluster,inactive/lvm
---------------------------------------------------------------------------------------
Note: Raw device usage is not shown in the usage column.

#-> hpux/plugins/firmware_collect.sh

Hardwarepath                   Device    Vendor/Product        Cap/GB Firm.  QD IR
-----------------------------------------------------------------------------------
64000/0xfa00/0x0               disk4     HP/OPEN-V             10.0   5001   8  0
64000/0xfa00/0x3               disk3     HP/DH072ABAA6         68.4   HPD9   8  0
64000/0xfa00/0x3               disk3_p1  HP/DH072ABAA6         0.5    HPD9   8  0
64000/0xfa00/0x4               disk7     HP/DG072A9BB7         68.4   HPD0   8  0
64000/0xfa00/0x8               disk8     TEAC/DV-28E-N         0.4    C.6B   1
64000/0xfa00/0x10              disk17    HP/OPEN-V             30.0   5001   8  0
-----------------------------------------------------------------------------------
QD = SCSI queue depth (0=no hw/medium), IR = immediate reporting (0=off, 1=on)

I guess you're right, both scripts are doing basically the same. Does anyone have an objection to retire script hpux/plugins/firmware_collect.sh ?

@gdha gdha closed this as completed in d41d646 Oct 7, 2013
roseswe added a commit that referenced this issue Feb 22, 2018
 -  Tweak/beautified the VCS collector for issue #111 - roseswe
 -  should fix one part of issue #124 - roseswe
 -  Add comments about issue #38 - roseswe
 -  Hopefully the next fix for issue #35
    Regression from OBS build:
    [   79s] dpkg-source: warning: extracting unsigned source package
    (/usr/src/packages/SOURCES.DEB/cfg2html_6.33_8_gfed2d16-0git201802082250.dsc)
    [   79s] dpkg-source: error: version number contains illegal character `_'
            roseswe
 -  enhanced the issue tracker section - roseswe
 -  Experimental build nummer using git describe - roseswe
 -  Successfully builds on a standalone Debian 8 box => cfg2html_6.33-3_all.deb - Ralph Roth
 -  Hopefully a bug fix for issue #35 - roseswe
 -  Delete gitupdate.sh
    Not related to be project
            GitHub
 -  GPG sign test v2, bumped version number - roseswe
 -  Fixed Vim modeline, test for signed GPG commits #3 (GPG2) - roseswe
 -  Fixed Vim modeline, test for signed GPG commits - roseswe
 -  remove the empty line from debian/compat - Gratien D'haese
 -  Bumped package file to 6.33 - Ralph Roth
 -  try to fix issue #35 - roseswe
 -  tabs -> spaces
    small reformatting
            roseswe
 -  TODO added.
    Spelling fixes.
            roseswe
 -  bumped release date - roseswe
 -  CVS keyword bumped to major version 6.33 - roseswe
 -  Small changes, mainly spelling errors - Ralph Roth
 -  fixes for wrong URL - Ralph Roth
 -  Added an comment about pre-build releases. - Ralph Roth
 -  Improved the README, also adding more MD formatting - Ralph Roth
 -  Fixes (hopefully for which commands)
    Source beautified
    Changed CVS header & Year
    Signed-off-by: Ralph Roth <rroth>
            Ralph Roth
 -  	modified:   linux/cfg2html-linux.sh - Ralph Roth
 -  	modified:   linux/cfg2html-linux.sh - Ralph Roth
 -  	modified:   cfg2html-linux.sh - Ralph Roth
 -  	modified:   linux/cfg2html-linux.sh - Ralph Roth
 -  added zypper patch log
    fixes for vim
    merged into CVS stream
            Ralph Roth
 -  Reference to Issue #6 added - Ralph Roth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants