DIAG_ENCL(8)
β¨ 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 anxmloutput 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 timediag_enclwas run with the-soption.-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_encldoesnβ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 ispath.pg2, and read vital product data from the file whose pathname ispath.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
- opensuse-leap 16.0: ppc64-diag 2.7.10-160000.2.2 Β· GPL-2.0-or-later
- Copyright (C) 2012 IBM Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms