Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Solaris Volume Manager Administration Guide
Previous Next

Creating RAID-5 Volumes

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.

How to Create a RAID-5 Volume

Before You Begin

Check Prerequisites for Creating Solaris Volume Manager Components and Background Information for Creating RAID-5 Volumes.

  • To create a RAID-5 volume, use one of the following methods:
    • 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 512 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 18, Creating UFS, TMPFS, and LOFS 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.

Previous Next

  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire