<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
              "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
 <svg width="100%" height="100%"
      viewBox="0 0 185 180" preserveAspectRatio="xMidyMid meet"
      xmlns="http://www.w3.org/2000/svg"
      xmlns:xlink="http://www.w3.org/1999/xlink">

   <desc> This graphic shows the relationship between PVs, VGs, and LVs,
          in the context of Linux/Unix Logical Volume Management.

          (C)2005 by Wayne Pollock, Tampa Florida USA.  All Rights Reserved.
   </desc>

   <defs>
      <g id="PV">
        <rect x="0" y="0" width="25" height="25"
              stroke="black" fill="red" />
          <text x="5" y="17" fill="black" font-size="12"> PV </text>
      </g>

      <g id="VG">
        <rect x="0" y="0" width="25" height="25"
              stroke="black" fill="lightGreen" />
          <text x="5" y="17" fill="black" font-size="12"> VG </text>
      </g>

      <g id="LV">
        <rect x="0" y="0" width="25" height="25"
              stroke="black" fill="cyan" />
          <text x="5" y="17" fill="black" font-size="12"> LV </text>
      </g>

     <marker  id="arrow"
              viewBox="0 0 10 10" refX="0" refY="5" 
              markerUnits="strokeWidth"
              markerWidth="8" markerHeight="6"
              orient="auto">
         <path d="M 0 0 L 10 5 L 0 10 z" />
      </marker>
   </defs>

   <g style="fill-opacity:1.0; stroke:black; stroke-width:1px;"
      transform="translate(5,5)">
     <use x="0" y="0" xlink:href="#PV" />
     <use x="50" y="0" xlink:href="#PV" />
     <use x="100" y="0" xlink:href="#PV" />
     <use x="150" y="0" xlink:href="#PV" />

     <line x1="12" y1="25" x2="67" y2="55" stroke-width="1" />
     <line x1="67" y1="55" x2="76" y2="66" stroke-width="1"
           marker-end="url(#arrow)" />

     <line x1="62" y1="25" x2="82" y2="66" stroke-width="1"
           marker-end="url(#arrow)" />

     <line x1="112" y1="25" x2="90" y2="66" stroke-width="1"
           marker-end="url(#arrow)" />

     <line x1="162" y1="25" x2="108" y2="55" stroke-width="1" />
     <line x1="108" y1="55" x2="97" y2="66" stroke-width="1"
           marker-end="url(#arrow)" />

     <use x="75" y="70" xlink:href="#VG"/>

     <line x1="82" y1="95" x2="50" y2="122" stroke-width="1" />
     <line x1="50" y1="122" x2="40" y2="136" stroke-width="1"
           marker-end="url(#arrow)" />

     <line x1="86" y1="95" x2="86" y2="136" stroke-width="1"
           marker-end="url(#arrow)" />

     <line x1="90" y1="95" x2="127" y2="122" stroke-width="1" />
     <line x1="127" y1="122" x2="137" y2="136" stroke-width="1"
           marker-end="url(#arrow)" />

     <use x="25" y="140" xlink:href="#LV"/>
     <use x="125" y="140" xlink:href="#LV"/>
     <line x1="60" y1="152" x2="115" y2="152"
           stroke-width="4" stroke-dasharray="4 12" />
   </g>
 </svg>

