If you are asking, “How do I clear fmadm faulty in Solaris 11?”, the key is to fix or verify the reported problem first. The Solaris Fault Management Architecture (FMA) records hardware and software faults so administrators can investigate them. Once the underlying issue has been addressed, the fmadm repair command can tell the Fault Manager that the affected resource has been repaired. Simply hiding or dismissing a fault without investigating it can leave a real problem unresolved.
This guide explains how to inspect fmadm faulty, identify the affected resource, choose the appropriate action, and confirm the result. It also covers common mistakes, including using the wrong FMRI or treating a historical error message as an active fault.
What Does fmadm Faulty Show in Solaris 11?
fmadm is the command-line interface to Solaris Fault Management. It communicates with the Fault Manager daemon, which receives error reports, evaluates them, and tracks diagnosed faults. The command fmadm faulty displays faults that the Fault Manager currently considers active or unresolved.
A fault report can include a fault class, a Universal Unique Identifier (UUID), a certainty value, and one or more affected resources. The resource is commonly represented by a Fault Management Resource Identifier, or FMRI. The report may also describe an affected component, such as a processor, memory module, disk, or service-related resource.
Keep in mind that fmadm faulty is not the same as a complete system log. An older error may remain in an event log even after the current fault has been resolved. Conversely, a fault listed as active should not be assumed harmless simply because the system appears to be running normally.
Before Clearing an fmadm Fault
Before running a command that changes fault state, identify what failed and determine whether it has actually been repaired. If the report points to hardware, inspect the device, review system alerts, and follow your hardware vendor’s replacement or diagnostic procedures. For a software-related diagnosis, review the fault details and any recommended recovery steps.
Run the commands with an account that has the required administrative privileges. Depending on how Solaris is configured, you may use a root shell or execute the command through an approved privilege mechanism, such as pfexec.
pfexec fmadm faulty
If your account does not use pfexec, run the command in an authorized administrative shell. Do not use a generic “clear everything” approach: FMA actions apply to specific resources or fault cases, and the correct target matters.
Step 1: Review the Active Fault Report
Start by listing the fault information:
fmadm faulty
Read the full output and note the UUID, fault class, resource FMRI, and any recommended action. If there is more than one fault, handle each diagnosis separately. Do not assume every entry refers to the same device or that fixing one resource will resolve all listed conditions.
For a detailed view of a particular fault, use its UUID with fmdump:
fmdump -v -u FAULT_UUID
Replace FAULT_UUID with the UUID shown in your report. The verbose event information can help explain when the diagnosis occurred and what evidence the Fault Manager used. Compare that information with current system status and any maintenance records before deciding what to do.
If the output is unclear, consult the Solaris 11 documentation for the relevant fault class and the manual pages for fmadm and fmdump. Fault classes and supported actions differ, so use the actual report rather than copying a command intended for a different system or component.
Step 2: Repair or Verify the Underlying Problem
Resolve the cause before marking the fault repaired. For example, if FMA reports a failed replaceable component, complete the approved replacement procedure and verify that the new component is recognized. If the diagnosis concerns a transient condition, investigate why it occurred and confirm that the condition is no longer present.
After taking corrective action, check the system again. Use appropriate platform tools to verify device status, service health, or hardware configuration. If the fault is still being reported, or if the hardware continues to show errors, do not clear the diagnosis merely to make the output disappear. Escalate the issue or continue troubleshooting.
Some Solaris problems are not FMA faults. If a service is degraded or unavailable, inspect it with Service Management Facility commands such as svcs -xv and svcs -l SERVICE_FMRI. Clearing an FMA fault will not, by itself, repair a broken SMF service or correct an unrelated configuration problem.
Step 3: Mark the Affected Resource as Repaired
When the underlying issue has been fixed, use fmadm repair with the resource FMRI shown in the fault report. The general form is:
fmadm repair RESOURCE_FMRI
Replace RESOURCE_FMRI with the exact FMRI for the affected resource. For example, if the report identifies a particular resource, use that complete identifier rather than the fault class name or a description copied from another server. FMRIs can be long and platform-specific; copying the value from the report reduces typing errors.
On some diagnoses, the Fault Manager may identify an affected ASRU (Authority, State, and Responsibility Unit) as well as the resource. Follow the instructions in the report and the Solaris 11 fmadm manual page if an ASRU argument is needed. Do not guess at an ASRU or substitute an unrelated device identifier.
The repair action tells FMA that the specified resource has been repaired. It is not a physical repair command: it does not replace hardware, fix software, or prove that the system is healthy. That is why the verification step must happen first.
When to Use Replaced, Acquit, or Reset
fmadm repair is the usual action after resolving a fault, but other FMA actions exist for different circumstances. Choose one only when it matches the situation and the diagnosis:
-
fmadm replaced RESOURCE_FMRIreports that a resource has been replaced. Use it when the component was physically replaced and the fault documentation or platform procedure calls for this action. -
fmadm acquit RESOURCE_FMRIindicates that a resource should not be held responsible for a diagnosis. This is not a routine way to erase an inconvenient fault; use it only when the evidence shows that the resource was incorrectly implicated. -
fmadm reset RESOURCE_FMRIresets state for a resource when appropriate. It is not a universal cleanup command, and its effect depends on the resource and fault-management configuration.
These actions are not interchangeable. In particular, do not use acquit just because a component looks normal, or reset as a substitute for diagnosing a recurring fault. Check the fault-specific guidance and the installed Solaris 11 manual page before using an action other than repair.
Step 4: Confirm That the Fault Is Cleared
After the repair action, run the fault listing again:
fmadm faulty
If the fault has been resolved, it should no longer appear as an active unresolved fault. If it remains, check that you used the correct resource FMRI and that the repair action completed successfully. Revisit the fault details and verify that the original condition is gone. A recurring fault may indicate that the component was not fully repaired, the wrong resource was selected, or a separate problem has been detected.
Depending on the fault and Solaris configuration, event records may still be available in diagnostic logs after the active fault is cleared. This is normal: clearing or repairing a fault does not mean deleting the system’s diagnostic history. Keeping that history can be valuable for audits, trend analysis, and investigating repeated failures.
Common Mistakes When Clearing Solaris 11 Faults
- Clearing before fixing: Marking a resource repaired while it still produces errors can conceal an ongoing issue and delay proper maintenance.
- Using the wrong identifier: A UUID identifies a fault case, while an FMRI identifies a resource. Use the identifier required by the command and follow the output carefully.
-
Assuming all messages are active faults: Old events in logs do not necessarily mean
fmadm faultystill considers a fault unresolved. - Applying commands from another platform: Resource identifiers and recommended actions can vary by hardware and Solaris release. Avoid copying example FMRIs blindly.
- Using acquit as a general clear command: Acquittal changes FMA’s view of responsibility; it is not the ordinary procedure for a repaired component.
- Ignoring repeat reports: If the same or a related fault returns, investigate the cause instead of repeatedly marking it repaired.
Quick Solaris 11 fmadm Fault-Clearing Checklist
- Run
fmadm faultyand record the fault UUID, class, and resource FMRI. - Use
fmdump -v -u FAULT_UUIDwhen you need more diagnostic detail. - Identify and correct the underlying hardware or software condition.
- Use
fmadm repair RESOURCE_FMRIonly after verifying the repair. - Run
fmadm faultyagain and investigate any fault that remains or returns. - Consult the Solaris 11 documentation or your system support provider when the diagnosis is unclear.
Conclusion
To clear an fmadm faulty report in Solaris 11, first investigate the diagnosis and resolve the underlying problem. Then use fmadm repair with the correct resource FMRI and check the fault listing again. Use replaced, acquit, or reset only when the fault-specific instructions call for them. This approach clears resolved faults without masking active failures, while preserving the diagnostic information needed to maintain a reliable Solaris system.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.