How to check hard drives info on HP-UX?

22,945

Solution 1

On HP-UX you can easily use the sam (System Administration Manager) utility to check all sorts of infos about hardware and software configuration. There is a GUI version and a cli one, sam is kind of a one-in-all thing.

For disk firmware status and upgrades and lower level info use the STM (Support Tools Manager) that you can DL from HP's nice and wonderful page.

Depending on the machine (Integrity or old PA-RISC based stuff) you can also go the EFI route, to place the disk image firmware on the EFI partition and hack things via the built-in EFI shell.

Solution 2

SAM is deprecated as of 11.31, use SMH (system management homepage) instead.

Using command line:

Disk available on a system:

ioscan -fnNkCdisk #11.31
ioscan -fnkCdisk #pre-11.31

Disk type and size info:

diskinfo /dev/rdsk/c?t?d? #pre-11.31
diskinfo /dev/rdisk/disk123 # 11.31
Share:
22,945

Related videos on Youtube

Spirit
Author by

Spirit

IT Specialist, Sysadmin and Tech Addict. Expertise: Cisco, VMware, Windows (all)

Updated on September 18, 2022

Comments

  • Spirit
    Spirit over 1 year

    I am new to UNIX systems and so far i know only basic shell commands.

    Can someone tell me how to check the available hard drives on my server and get an info on them? I am also searching for a command to check their firmware version as well?

  • Spirit
    Spirit over 12 years
    Thank you Pfo. I didn't knew about the SAM I guess I will try it now :)
  • Spirit
    Spirit over 12 years
    The system for which I asked was also deprecated, as it was HP-UX 11.00 ;) Thanks for answering thou, as I will keep this in mind for other versions. :)
  • Salvador P.
    Salvador P. about 12 years
    The pre-11.31 commands should work on 11.00.