The -d flag of the diag command selects a specific device for testing, so diag -d < device > runs diagnostic tests directly against the suspected component and confirms whether it is faulty.
Technical Deep Dive: The diagnostics are delivered in the bos.diag.rte fileset and run in concurrent mode while AIX is up, which can test devices that are not in use; devices that are busy may require stand-alone diagnostics from the SMS or service-mode boot. Example: diag -d hdisk1 -c (non-interactive, no console prompts), then review the result with diag -a and errpt -a. Never run errclear 0 first: it deletes all error-log entries and destroys the evidence needed for fault isolation. Filtering errpt for the word diag is not a diagnostic test, and replacing parts without confirmation is poor practice and costly.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit