DIAG_ENCL(8)

πŸ“¦ version 2.7.10, in opensuse-leap 16.0

✨ NAME ✨

okay so bestie, meet diag_encl β€” manual section 8, from the PowerLinux Diagnostic Tools set. It’s literally the command that diagnoses SCSI enclosures. Not me saying it’s iconic, it just is. 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

diag_encl [-s [-c][-l]] [-v] [-f <path.pg2>] [sgn ...]
diag_encl -d
diag_encl --version
diag_encl --help

🌸 DESCRIPTION 🌸

The diag_encl command reports the status of the various components of the SCSI enclosure(s) specified by the sgn device name(s). If no enclosure is specified, all SCSI enclosures known to the system are reported.

diag_encl currently supports a limited number of enclosure types and reports an error if asked to diagnose an unrecognized type. no cap, it knows what it knows πŸ’…

πŸ’… OPTIONS πŸ’…

  • -d, --disk <sgN> β€” collects disk health information and populates it in an xml output file under the destination directory (/var/log/ppc64-diag/diag_disk/). πŸ“
  • -s, --serv_event β€” reports any faults to the servicelog database.
  • -c, --cmp_prev β€” reports only faults that are new (or have become more critical) since the last time diag_encl was run with the -s option.
  • -l, --leds β€” tries to turn on the fault indicator (typically an amber LED) for any failing component. Some components’ LED(s) may not be accessible to Linux. Some LEDs have independent fault and identify settings; that is, the LED may be in fault mode and identify mode at the same time (in which case both the fault setting and the identify setting bubble up to the enclosure, which may have separate fault and identify LEDs). diag_encl doesn’t affect the LED’s identify setting. this part is important, bestie ✨
  • -v, --verbose β€” produces more verbose output.
  • -V, --version β€” displays the version of the command and exits.
  • -f, --fake path.pg2 β€” a testing option. Instead of querying the device, read diagnostic information from the file whose pathname is path.pg2, and read vital product data from the file whose pathname is path.vpd. 🧚
  • -h, --help β€” prints a usage message and exits.

πŸ’œ SEE ALSO πŸ’œ

and that’s the whole page, bestie β€” no cap. This one’s from Linux, dated July 2012, and its manual tag is DIAG_ENCL(8). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from