A Mirror object has two Status fields: one for the mirror device itself, and individual Status fields for each submirror. The Status field for a mirror, as explained in Table 3-3, gives a high-level status.
Table 3-3 Mirror Status Keywords
Keyword |
Meaning |
---|---|
OK |
The mirror has no errors and is functioning correctly. |
Attention |
A submirror has a problem, but there is no immediate danger of losing data. There are still two copies of the data (the mirror is three-way mirror and only one submirror failed), or a hot spare has kicked in. |
Urgent |
The mirror contains only a single good submirror, providing only one copy of the data. The mirror is only one failure away from losing data. |
Critical |
All submirrors have errors and data has potentially been corrupted. |
Table 3-4 shows the Status fields of submirrors, and possible actions to take.
Table 3-4 Submirror Status Keywords
Keyword |
Meaning |
Action |
---|---|---|
OK |
The submirror has no errors and is functioning correctly. |
None. |
Resyncing |
The submirror is actively being resynced. |
None. An error has occurred and been corrected, the submirror has just been brought back online, or a new submirror has been added. |
Component Resyncing |
A slice in the submirror is actively being resynced. |
None. Either a hot spare slice or another slice has replaced an errored slice in the submirror. |
Attaching |
The submirror is being attached. |
None. |
Attached (resyncing) |
The entire submirror is being resynced after the attach occurred. |
None. |
Online (scheduled) |
The submirror will be brought online the next time you click Commit. |
Click the Commit button to enable the submirror. |
Offline (scheduled) |
The submirror will be brought offline the next time you click Commit. |
Click the Commit button to offline the submirror. |
Offlined |
The submirror is offline. |
When appropriate, bring the submirror back online, for example, after performing maintenance. See "How to Place a Submirror Offline and Online (DiskSuite Tool)". |
Maintenance |
The submirror has an error. |
Repair the submirror. You can fix submirrors in the "Errored" state in any order. See "How to Enable a Slice in a Submirror (DiskSuite Tool)", or "How to Replace a Slice in a Submirror (DiskSuite Tool)". |
Last Erred |
The submirror has errors, and data for the mirror has potentially been corrupted. |
Fix submirrors in the "Maintenance" state first, then fix the submirror in the "Last Erred" state. See "How to Enable a Slice in a Submirror (DiskSuite Tool)", or "How to Replace a Slice in a Submirror (DiskSuite Tool)". After fixing the error, validate the data. |
DiskSuite does not retain state and hot spare information for simple metadevices that are not submirrors.