|
|||
1. Getting Started With Solaris Volume Manager 2. Storage Management Concepts 3. Solaris Volume Manager Overview 4. Solaris Volume Manager for Sun Cluster (Overview) 5. Configuring and Using Solaris Volume Manager (Scenario) 8. RAID-0 (Stripe and Concatenation) Volumes (Overview) 9. RAID-0 (Stripe and Concatenation) Volumes (Tasks) 10. RAID-1 (Mirror) Volumes (Overview) 11. RAID-1 (Mirror) Volumes (Tasks) 12. Soft Partitions (Overview) 16. Hot Spare Pools (Overview) 20. Maintaining Solaris Volume Manager (Tasks) Solaris Volume Manager Maintenance (Task Map) Viewing the Solaris Volume Manager Configuration How to View the Solaris Volume Manager Volume Configuration Working With Configuration Files How to Create Configuration Files How to Initialize Solaris Volume Manager From a Configuration File Changing Solaris Volume Manager Default Values Expanding a File System Using the growfs Command 21. Best Practices for Solaris Volume Manager 22. Top-Down Volume Creation (Overview) 23. Top-Down Volume Creation (Tasks) 24. Monitoring and Error Reporting (Tasks) 25. Troubleshooting Solaris Volume Manager (Tasks) A. Important Solaris Volume Manager Files B. Solaris Volume Manager Quick Reference |
Overview of Replacing and Enabling Components in RAID-1 and RAID-5 VolumesSolaris Volume Manager can replace and enable components within RAID-1 (mirror) and RAID-5 volumes. In Solaris Volume Manager terminology, replacing a component is a way to substitute an available component on the system for a selected component in a submirror or RAID-5 volume. You can think of this process as logical replacement, as opposed to physically replacing the component. For more information see Replacing a Component With Another Available Component. Enabling a component means to “activate” or substitute a component with itself (that is, the component name is the same). For more information, see Enabling a Component. Note - When recovering from disk errors, scan /var/adm/messages to see what kind of errors occurred. If the errors are transitory and the disks themselves do not have problems, try enabling the failed components. You can also use the format command to test a disk. Enabling a ComponentYou can enable a component when any of the following conditions exist:
Note - Always check for state database replicas and hot spares on the disk that is being replaced. Any state database replica in an erred state should be deleted before you replace the disk. Then, after you enable the component, recreate the state database replicas using the same size. You should treat hot spares in the same manner. Replacing a Component With Another Available ComponentYou use the metareplace command when you replace or swap an existing component with a different component that is available and not in use on the system. You can use this command when any of the following conditions exist:
Maintenance and Last Erred StatesWhen a component in a RAID-1 or RAID-5 volume experiences errors, Solaris Volume Manager puts the component in the “Maintenance” state. No further reads or writes are performed to a component in the “Maintenance” state. Sometimes a component goes into a “Last Erred” state. For a RAID-1 volume, this usually occurs with a one-sided mirror. The volume experiences errors. However, there are no redundant components to read from. For a RAID-5 volume this occurs after one component goes into “Maintenance” state, and another component fails. The second component to fail goes into the “Last Erred” state. When either a RAID-1 volume or a RAID-5 volume has a component in the “Last Erred” state, I/O is still attempted to the component marked “Last Erred.” This I/O attempt occurs because a “Last Erred” component contains the last good copy of data from Solaris Volume Manager's point of view. With a component in the “Last Erred” state, the volume behaves like a normal device (disk) and returns I/O errors to an application. Usually, at this point, some data has been lost. The subsequent errors on other components in the same volume are handled differently, depending on the type of volume.
Always replace components in the “Maintenance” state first, followed by those in the “Last Erred” state. After a component is replaced and resynchronized, use the metastat command to verify its state. Then, validate the data. Background Information for Replacing and Enabling Components in RAID-1 and RAID-5 VolumesWhen you replace components in a RAID-1 volume or a RAID-5 volume, follow these guidelines:
|
||
|