Skip Navigation Links | |
Exit Print View | |
Solaris Volume Manager Administration Guide Oracle Solaris 10 1/13 Information Library |
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)
How to Check the Status of a RAID-5 Volume
How to Enable a Component in a RAID-5 Volume
How to Replace a Component in a RAID-5 Volume
16. Hot Spare Pools (Overview)
20. Maintaining Solaris Volume Manager (Tasks)
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
Caution - Do not create volumes larger than 1 Tbyte if you expect to run the Solaris software with a 32-bit kernel or if you expect to use a version of the Solaris OS prior to the Solaris 9 4/03 release. See Overview of Multi-Terabyte Support in Solaris Volume Manager for more information about large volume support in Solaris Volume Manager. |
Before You Begin
Check Prerequisites for Creating Solaris Volume Manager Components and Background Information for Creating RAID-5 Volumes.
From the Enhanced Storage tool within the Solaris Management Console, open the Volumes node. Choose Action⇒Create Volume. Then, follow the steps in the wizard. For more information, see the online help.
Use the following form of the metainit command:
# metainit wolume-name -r component component component -i interlace-value
Specifies the name of the volume to create.
Specifies to create a RAID-5 volume.
Specifies a slice or soft partition to include in the RAID-5 volume. At least 3 components are required.
Specifies an interlace value.
For more information, see the metainit(1M) man page.
Example 15-1 Creating a RAID-5 Volume of Three Slices
In this example, the RAID-5 volume d45 is created with the -r option from 3 slices. Because no interlace value is specified, d45 uses the default of 16 Kbytes. The system verifies that the RAID-5 volume has been set up and begins initializing the volume.
You must wait for the initialization to finish before you can use the RAID-5 volume.
# metainit d45 -r c2t3d0s2 c3t0d0s2 c4t0d0s2 d45: RAID is setup
See Also
To prepare the newly created RAID-5 volume for a file system, see Chapter 15, Creating and Mounting File Systems (Tasks), in System Administration Guide: Devices and File Systems. Some applications, such as a database, do not use a file system. These applications instead use the raw volume. The application must have its own way of recognizing the volume.
To associate a hot spare pool with a RAID-5 volume, see How to Associate a Hot Spare Pool With a Volume.