<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Transitional//EN">
<HTML>
<HEAD>
  <!--
    *************************************************************************************
    * Copyright (c) 2005 VERITAS Software Corporation. All rights reserved. *

      For third-party license citations, please see the bottom of this file.
    *************************************************************************************
  -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="TEMPLATEBASE" content="vx_vxhelp_2005c">
<meta name="LASTUPDATED" content="06/13/05 10:12:56">
<meta name="PRODUCTNAME" content="VERITAS Software Documentation">
<meta name="FILENAME" content="storagepools.fm">
     
<title>Creating a Storage Pool</title>

</HEAD>

<BODY bgcolor="#FFFFFF" link="#000066" vlink="#0000ff" marginheight="0" topmargin="0">
<basefont=1>

<a name="206385"></a>

<div align="left">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
 <tr>
   <td height="2" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#000000">
   </td>
 </tr>
 <tr>
   <td height="15" width="50%" border="0" cellspacing="0" cellpadding="0" bgcolor="#cccccc">
    <img src="images/vxsymbol.gif" height="20" width="31" border="0" cellspacing="0" cellpadding="0" align="left">
     
     
   </td>
   <td align="right" width="50%" bgcolor="#cccccc">

<!-- Header Breadcrumbs -->
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&lt;&nbsp;<a href="storagepools_vxsf109_211646.html" title="Previous - Organizing Storage Pools in a Disk Group">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="storagepools_vxsf111_206642.html" title="Next - Using Disk Group Split and Join with Storage Pools">Next</a>
&nbsp;&gt;&nbsp;&nbsp;</font>
   </td>
 </tr>

 <tr>
  <td bgcolor="#CCCCCC" colspan="2" height="15" align="right">
  <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Product:  
<a href="vxsf_splashpage_docCD_vxsf1_103036.vxhd" title="Storage Foundation Guides title page ">Storage Foundation Guides</a>
  &nbsp;&nbsp;
  </font>
  </td>
 </tr>
 <tr>
  <td bgcolor="#CCCCCC" colspan="2" height="15" align="right">
  <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Manual:  
<a href="stalag_titlepage_docCD_vxsf91_73700.vxhd" title="Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide title page ">Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide</a>
  &nbsp;&nbsp;
  </font>
  </td>
 </tr>


</table>
</div>

<div align="left">
 <table border="0" width="100%" bgcolor="#FFFFFF">
  <tr>
   <td width="100%" valign="top" bgcolor="#FFFFFF">

<!-- Start Main Topic Content -->
        <a name="startcontent"></a>
	
<h1><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="+1" color="#000000"><a name="206385"></a> Creating a Storage Pool</font>
</h1>
         
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="202002"></a>As a alternative to the <font face="Courier New, Courier, sansserif, sans serif" size="2">vxpool</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">organize</font> command described in <a href="storagepools_vxsf109_211646.html#211646">Organizing Storage Pools in a Disk Group</a>, you can use the <font face="Courier New, Courier, sansserif, sans serif" size="2">vxpool</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">create</font> command to define and create a storage pool, as shown here:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="202003"></a>#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxpool&nbsp;[-g&nbsp;</b></font><em>diskgroup</em><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>]&nbsp;create&nbsp;</b></font><em>storage_pool</em><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;[dm=</b></font><em>dm1</em><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>[,</b></font><em>dm2</em><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>...]&nbsp;\</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="202447"></a><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;&nbsp;[description=&quot;description&quot;]&nbsp;[autogrow={1|pool}|{2|diskgroup}]&nbsp;\</b></font>
</font>
<a name="202463"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2"><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>		[selfsufficient={1|pool}|{2|diskgroup}|{3|host}] \<br>		[rules=</b></font><em>rule </em><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>[ </b></font><em>rule </em><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>...]] [pooldefinition=</b></font><em>storage_pool_definition</em><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>]</b></font></font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="202004"></a>For example, the following command creates the storage pool, <font face="Courier New, Courier, sansserif, sans serif" size="2">mypool</font>, that contains disks <font face="Courier New, Courier, sansserif, sans serif" size="2">mydg02</font> and <font face="Courier New, Courier, sansserif, sans serif" size="2">mydg03</font>, and associates it with the disk group, <font face="Courier New, Courier, sansserif, sans serif" size="2">mydg</font>.</font>
</p>

<a name="202005"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2"># <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxpool -g mydg create mypool dm=mydg02,mydg03 \<br>		autogrow=diskgroup selfsufficient=pool</b></font></font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="202006"></a>The <font face="Courier New, Courier, sansserif, sans serif" size="2">autogrow</font> policy level is set to <font face="Courier New, Courier, sansserif, sans serif" size="2">diskgroup</font> so the pool can use any storage within the disk group. The <font face="Courier New, Courier, sansserif, sans serif" size="2">selfsufficient</font> policy level of <font face="Courier New, Courier, sansserif, sans serif" size="2">pool</font> only allows the use of templates that have been manually assigned to the storage pool.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="205529"></a>To simplify pool creation, you can also create a storage pool from a storage pool definition that is known to the system, as shown here:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="205563"></a>#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxpool&nbsp;-g&nbsp;mydg&nbsp;create&nbsp;mypool&nbsp;pooldefinition=mirrored_volumes</b></font>
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="210282"></a>Such definitions standardize storage pool policies and the templates that are to be associated with storage pools. See <a href="storagepools_vxsf110_206385.html#211185">Listing Available Storage Pool Definitions</a> for details of how to find out the storage pool definitions that are known to the system, and <a href="storagepools_vxsf110_206385.html#211197">Displaying Storage Pool Definitions</a> for information on how to display a storage pool definition.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="205619"></a>See <a href="objects_vxsf195_116035.html#116035">Storage Pools</a> for a list of pre-defined storage pool types. These definitions include default policy values, and a set of volume templates that are installed. You can add disks to such a storage pool as described in <a href="storagepools_vxsf112_202007.html#202007">Adding Disks to a Storage Pool.</a></font>
</p>

<hr noshade size="2" width="100%" color="#000000">
<img src="images/note.gif" alt="Note " height="16" width="16">&nbsp;
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="205620"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">The disks that you assign to a storage pool must have already been initialized for use, and must belong to the disk group in which you are creating the storage pool.<br><br>The first storage pool that you create in a disk group is a data storage pool that contains application volumes. Any storage pools that you subsequently create in the disk group are clone storage pools that can be used to hold full-sized instant snapshots of the volumes in the data storage pool. You need only place such snapshots in a separate clone storage pool if they need to be created using different templates from their parent volumes, or if they are to be moved into a different disk group.
</font>
<hr noshade size="2" width="100%" color="#000000">
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="208301"></a>See <a href="avol_snap_vxsf148_175955.html#175955">Administering Instant Snapshots</a> for more information about creating and using full-sized instant snapshots with clone storage pools.</font>
</p>




<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="211185"></a>Listing Available Storage Pool Definitions</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="211186"></a>To list all the available storage pool definitions, use the following command:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="211187"></a>#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxpool&nbsp;listpooldefinitions</b></font>
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="211191"></a>For a list of supported storage pool definitions, see <a href="objects_vxsf195_116035.html#116035">Storage Pools</a>.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="211194"></a>To display the details of a storage pool definition, see <a href="storagepools_vxsf110_206385.html#211197">Displaying Storage Pool Definitions</a>.</font>
</p>




<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="211197"></a>Displaying Storage Pool Definitions</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="211198"></a>To display the details of one or more storage pool definitions, use the following command:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="211199"></a>#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxpool&nbsp;printpooldefinitions&nbsp;[</b></font><em>storage_pool_definition</em><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>]&nbsp;...</b></font>
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="211200"></a>If no storage pool definitions are named, the definitions for all storage pools are displayed.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="211201"></a>For example, the following command displays the definition of the storage pool, <font face="Courier New, Courier, sansserif, sans serif" size="2">mirrored_volumes</font>:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="211202"></a>#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>vxpool&nbsp;printpooldefinitions&nbsp;mirrored_volumes</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="213918"></a>storage_pool&nbsp;mirrored_volumes&nbsp;{
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="213919"></a>&nbsp;&nbsp;&nbsp;description&nbsp;&quot;Volume&nbsp;has&nbsp;multiple&nbsp;copies&nbsp;of&nbsp;data.&quot;
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="213920"></a>&nbsp;&nbsp;&nbsp;descriptionid&nbsp;&quot;{b84f1c64-1dd1-11b2-8b42-080020feef8b}&quot;,&nbsp;117
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="213921"></a>&nbsp;&nbsp;&nbsp;display_name&nbsp;&quot;Data&nbsp;Mirroring&quot;
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="213922"></a>&nbsp;&nbsp;&nbsp;display_name_id&nbsp;&quot;{b84f1c64-1dd1-11b2-8b42-080020feef8b}&quot;,&nbsp;116
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="213923"></a>&nbsp;&nbsp;&nbsp;volume_templates&nbsp;ArrayProductId,&nbsp;ConfineLogsToSimilarStorage,
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="213924"></a>&nbsp;&nbsp;&nbsp;ConfineMirrorsToSimilarStorage,&nbsp;ConfineToSimilarStorage,
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="213925"></a>&nbsp;&nbsp;&nbsp;ConfineToSpecificStorage,&nbsp;DCOLogMirroring,&nbsp;DCOLogStriping,
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="213926"></a>&nbsp;&nbsp;&nbsp;DataMirroring,&nbsp;ExcludeSpecificStorage,
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="213927"></a>&nbsp;&nbsp;&nbsp;InstantSnapshottable,&nbsp;LogsOnSeparateComponents,
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="213928"></a>&nbsp;&nbsp;&nbsp;MirrorsOnSeparateComponents,&nbsp;MultipathingThroughMultiplePaths
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="213929"></a>&nbsp;&nbsp;&nbsp;autogrow&nbsp;2
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="213930"></a>&nbsp;&nbsp;&nbsp;selfsufficient&nbsp;1
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="213931"></a>};
</font>

<!-- End Main Topic Content -->

   </td>
  </tr>
 </table>
</div>

<div>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
 <tr>
  <td height="18" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#FFFFFF">
  </td>
 </tr>
  <td align="left"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&nbsp;&#94;&nbsp;<a href="storagepools_vxsf110_206385.html" title="Creating a Storage Pool">Return to Top</a></font>

  </td>
  <td align="right"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&lt;&nbsp;<a href="storagepools_vxsf109_211646.html" title="Previous - Organizing Storage Pools in a Disk Group">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="storagepools_vxsf111_206642.html" title="Next - Using Disk Group Split and Join with Storage Pools">Next</a>
&nbsp;&gt;&nbsp;&nbsp;</font>
  </td>
 <tr>
   <td height="9" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#FFFFFF">
   </td>
 </tr>

<!-- Footer Breadcrumbs -->
<tr>
<td bgcolor="#FFFFFF" colspan="2" height="15" align="right">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Product:  
<a href="vxsf_splashpage_docCD_vxsf1_103036.vxhd" title="Storage Foundation Guides title page ">Storage Foundation Guides</a>&nbsp;&nbsp;</font></td>
</tr>

<tr>
<td bgcolor="#FFFFFF" colspan="2" height="15" align="right">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Manual:  
<a href="stalag_titlepage_docCD_vxsf91_73700.vxhd" title="Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide title page ">Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide</a>&nbsp;&nbsp;</font></td>
</tr>


 <tr>
  <td colspan="2" align="left"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" color="#000000" align="right" size="-2">
<em>VERITAS Software Corporation
</em></font><br>

<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">www.veritas.com</font><br>
  </td>
 </tr>
</table>
</div>

</BODY>
  <!--
    *************************************************************************************
    * Copyright (c) 2005 VERITAS Software Corporation. All rights reserved. *

    VERITAS, VERITAS SOFTWARE, the VERITAS Logo, and VERITAS Software Documentation 
    are trademarks or registered trademarks of VERITAS Software Corporation 
    or its affiliates in the U.S. and other countries. Other names may be 
    trademarks of their respective owners. 

    Apache Jakarta Lucene:
    Apache Software License
    Version 1.1

    Copyright (c) 2000 The Apache Software Foundation. All rights reserved.

    Redistribution and use in source and binary forms, with or without modification, 
    are permitted provided that the following conditions are met:

    1. Redistributions of source code must retain the above copyright notice, this 
    list of conditions and the following disclaimer.

    2. Redistributions in binary form must reproduce the above copyright notice, this 
    list of conditions and the following disclaimer in the documentation and/or other 
    materials provided with the distribution.

    3. The end-user documentation included with the redistribution, if any, must include 
    the following acknowledgment: "This product includes software developed by the Apache 
    Software Foundation (http://www.apache.org/)." Alternately, this acknowledgment may 
    appear in the software itself, if and wherever such third-party acknowledgments 
    normally appear.

    4. The names "Apache" and "Apache Software Foundation" must not be used to endorse or 
    promote products derived from this software without prior written permission. For 
    written permission, please contact apache@apache.org.

    5. Products derived from this software may not be called "Apache", nor may "Apache" 
    appear in their name, without prior written permission of the Apache Software Foundation.

    THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, 
    BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
    PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION 
    OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 
    OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 
    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
    ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

    This software consists of voluntary contributions made by many individuals on behalf 
    of the Apache Software Foundation. For more information on the Apache Software Foundation, 
    please see <http://www.apache.org/>. Portions of this software are based upon public domain 
    software originally written at the National Center for Supercomputing Applications, University 
    of Illinois, Urbana-Champaign.
    
    This product includes WebWindow Software developed by Horst Heistermann.
    *************************************************************************************
  -->
</HTML>
