<chapter id="svm-scenario-1"><title>Configuring and Using Solaris Volume Manager (Scenario)</title><highlights><para>Throughout the <citetitle>Solaris Volume Manager Administration Guide</citetitle>, the examples generally
relate to a single storage configuration, whenever that is possible. This
chapter describes the scenario used in the examples. The chapter provides
details about the initial storage configuration that is used in subsequent
chapters.</para><para>This chapter contains the following information:</para><itemizedlist><listitem><para><olink targetptr="svm-scenario-2" remap="internal">Scenario Background Information</olink></para>
</listitem><listitem><para><olink targetptr="svm-scenario-9" remap="internal">Final Solaris Volume Manager
Configuration</olink></para>
</listitem>
</itemizedlist>
</highlights><sect1 id="svm-scenario-2"><title>Scenario Background Information</title><para>Throughout this book, the scenarios and many of the examples relate
to a single configuration. Although this configuration is small (to simplify
the documentation), the conceptsl scale to much larger storage environments.</para><sect2 id="svm-scenario-5"><title>Hardware Configuration</title><para>The hardware system is configured as follows:</para><itemizedlist><listitem><para>There are three physically separate controllers (<literal>c0</literal> &ndash; IDE, <literal>c1</literal> &ndash; SCSI, and <literal>c2</literal> &ndash; SCSI).</para>
</listitem><listitem><para>Each SCSI controller connects to a MultiPack that contains
six internal 9-Gbyte disks (<literal>c1t1</literal> through <literal>c1t6</literal> and <literal>c2t1</literal> through <literal>c2t6</literal>). This
creates a mirror configuration.</para>
</listitem><listitem><para>Each controller/terminator pair (<literal>c</literal><replaceable>n</replaceable><literal>t</literal><replaceable>n</replaceable><literal></literal>)
has 8.49 Gbytes of usable storage space.</para>
</listitem><listitem><para>Storage space on the root (<literal>/</literal>) drive <literal>c0t0d0</literal> is split into six partitions.</para>
</listitem>
</itemizedlist><para>An alternative way to understand this configuration is shown in the
following diagram.</para><figure id="svm-scenario-fig-3"><title>Basic Hardware Diagram Storage Scenario</title><mediaobject><imageobject><imagedata entityref="svm-hw-config"/>
</imageobject><textobject><simpara>Diagram shows system with three controllers and attached
disks. Two controllers have six disks and the third has a single disk with
the root slice. </simpara>
</textobject>
</mediaobject>
</figure>
</sect2><sect2 id="svm-scenario-7"><title>Initial Physical Storage Configuration</title><para>Here is the storage configuration before Solaris Volume Manager is configured:</para><itemizedlist><listitem><para>The SCSI controller/terminator pairs (<literal>c</literal><replaceable>n</replaceable><literal>t</literal><replaceable>n</replaceable><literal></literal>)
have approximately 20 Gbytes of storage space.</para>
</listitem><listitem><para>Storage space on each disk (for example, <literal>c1t1d0</literal>)
is split into seven partitions (<literal>c</literal><replaceable>n</replaceable><literal>t</literal><replaceable>n</replaceable><literal>d0s0</literal> through <literal>c</literal><replaceable>n</replaceable><literal>t</literal><replaceable>n</replaceable><literal>d0s6</literal>). </para><para>To partition a disk,
follow the procedures explained in <olink targetdoc="sagdfs" targetptr="disksprep-10" remap="external"><citetitle remap="section">Formatting a Disk</citetitle> in <citetitle remap="book">System Administration Guide: Devices and File Systems</citetitle></olink>.</para>
</listitem>
</itemizedlist>
</sect2>
</sect1><sect1 id="svm-scenario-9"><title>Final Solaris Volume Manager Configuration</title><para>Throughout this book, specific scenarios are provided with specific
tasks. However, so that you can better understand the examples throughout
the book, the final configuration is approximately as follows, as displayed
by the <command>metastat</command> <option>p</option> command:</para><screen>[root@lexicon:/]$ <userinput>metastat -p</userinput>
d50 -r c1t4d0s5 c1t5d0s5 c2t4d0s5 c2t5d0s5 c1t1d0s5 c2t1d0s5 -k -i 32b
d1 1 1 c1t2d0s3
d2 1 1 c2t2d0s3
d12 1 1 c1t1d0s0
d13 1 1 c2t1d0s0
d16 1 1 c1t1d0s1
d17 1 1 c2t1d0s1
d25 2 2 c1t1d0s3 c2t1d0s3 -i 32b \
         1 c0t0d0s3
d31 1 2 c1t4d0s4 c2t4d0s4 -i 8192b
d80 -p d70 -o 1 -b 2097152 
d81 -p d70 -o 2097154 -b 2097152 
d82 -p d70 -o 4194307 -b 2097152 
d83 -p d70 -o 6291460 -b 2097152 
d84 -p d70 -o 8388613 -b 2097152 
d85 -p d70 -o 10485766 -b 2097152 
d70 -m d71 d72 1
d71 3 1 c1t3d0s3 \
         1 c1t3d0s4 \
         1 c1t3d0s5
d72 3 1 c2t3d0s3 \
         1 c2t3d0s4 \
         1 c2t3d0s5
d123 -p c1t3d0s6 -o 1 -b 204800 
d124 -p c1t3d0s6 -o 204802 -b 204800 
d125 -p c1t3d0s6 -o 409603 -b 204800 
d126 -p c1t3d0s7 -o 3592 -b 20480 
d127 -p c2t3d0s7 -o 3592 -b 1433600 
hsp010
hsp014 c1t2d0s1 c2t2d0s1
hsp050 c1t2d0s5 c2t2d0s5
hsp070 c1t2d0s4 c2t2d0s4</screen><para>See the <olink targetdoc="refman1m" targetptr="metastat-1m" remap="external"><citerefentry><refentrytitle>metastat</refentrytitle><manvolnum>1M</manvolnum></citerefentry></olink> command
for more information on the <command><option>p</option></command> option.</para>
</sect1>
</chapter>