<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Mirror and Striping in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-and-striping/m-p/2424603#M788</link>
    <description>There are some points of interest about the script...just remember I used this to create a striped Logical Volume at a particular size and over 3 particular disks.  It would be easier to explain and coach in its use through e-mail so don't hesitate to ask (GT@maa-tpa.com).&lt;BR /&gt;&lt;BR /&gt;Chow,&lt;BR /&gt;Garrin</description>
    <pubDate>Wed, 07 Jun 2000 15:20:25 GMT</pubDate>
    <dc:creator>Garrin Thompson</dc:creator>
    <dc:date>2000-06-07T15:20:25Z</dc:date>
    <item>
      <title>Mirror and Striping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-and-striping/m-p/2424599#M784</link>
      <description>Are there some way for use Mirror and Striping in the same LV ?</description>
      <pubDate>Thu, 01 Jun 2000 23:02:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-and-striping/m-p/2424599#M784</guid>
      <dc:creator>Germán Orozco</dc:creator>
      <dc:date>2000-06-01T23:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror and Striping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-and-striping/m-p/2424600#M785</link>
      <description>HP-UX and the mirroring software do not allow you to stripe and mirror (RAID 10 (or 1+0)) at the same time.  I don't think the software allows RAID 5, you have to get one of the RAID hardware units.&lt;BR /&gt;&lt;BR /&gt;Also, you can't mirror to the same LV.  You would use use one LV to mirror another LV on the same VG.&lt;BR /&gt;&lt;BR /&gt;mp</description>
      <pubDate>Thu, 01 Jun 2000 23:44:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-and-striping/m-p/2424600#M785</guid>
      <dc:creator>Mike Plunkett</dc:creator>
      <dc:date>2000-06-01T23:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror and Striping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-and-striping/m-p/2424601#M786</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;A possible workaround is via using lvcreate -D together with the -m option for distributed allocation policy with mirroring enabled. This policy allows you to distribute logical extents across multiple physical volumes. The distributed allocation policy requires the PVG-strict allocation policy ( -s g ) to ensure that mirrors of distributed extents do not overlap (for maximum availability).&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim.</description>
      <pubDate>Fri, 02 Jun 2000 05:12:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-and-striping/m-p/2424601#M786</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2000-06-02T05:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror and Striping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-and-striping/m-p/2424602#M787</link>
      <description>The following is a script I used to create a "striped" VG (by mapping extents sequentially to separate PV's) that I later mirrored.  I hope it shows up correctly...I attached it as a text document as well.  This has proved to work very effectively in the arena of performance since we are spreading I/O access over 3 PV's instead of letting only 1 handle all of the reads and writes.&lt;BR /&gt;&lt;BR /&gt;vextend -l 2 /dev/vg01/rims /dev/dsk/c1t1d0 /dev/dsk/c2t1d0&lt;BR /&gt;lvextend -l 3 /dev/vg01/rims /dev/dsk/c1t2d0 /dev/dsk/c2t2d0&lt;BR /&gt;lvextend -l 4 /dev/vg01/rims /dev/dsk/c1t3d0 /dev/dsk/c2t3d0&lt;BR /&gt;a=1&lt;BR /&gt;while&lt;BR /&gt;        a=`expr $a + 4`&lt;BR /&gt;        [ $a -lt 8700 ]&lt;BR /&gt;do&lt;BR /&gt;        lvextend -A n -l $a /dev/vg01/rims /dev/dsk/c1t0d0 /dev/dsk/c2t0d0&lt;BR /&gt;        lvextend -A n -l `expr $a + 1` /dev/vg01/rims /dev/dsk/c1t1d0 /dev/dsk/c&lt;BR /&gt;2t1d0&lt;BR /&gt;        lvextend -A n -l `expr $a + 2` /dev/vg01/rims /dev/dsk/c1t2d0 /dev/dsk/c&lt;BR /&gt;2t2d0&lt;BR /&gt;        lvextend -A n -l `expr $a + 3` /dev/vg01/rims /dev/dsk/c1t3d0 /dev/dsk/c&lt;BR /&gt;2t3d0&lt;BR /&gt;done&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2000 15:14:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-and-striping/m-p/2424602#M787</guid>
      <dc:creator>Garrin Thompson</dc:creator>
      <dc:date>2000-06-07T15:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror and Striping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-and-striping/m-p/2424603#M788</link>
      <description>There are some points of interest about the script...just remember I used this to create a striped Logical Volume at a particular size and over 3 particular disks.  It would be easier to explain and coach in its use through e-mail so don't hesitate to ask (GT@maa-tpa.com).&lt;BR /&gt;&lt;BR /&gt;Chow,&lt;BR /&gt;Garrin</description>
      <pubDate>Wed, 07 Jun 2000 15:20:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-and-striping/m-p/2424603#M788</guid>
      <dc:creator>Garrin Thompson</dc:creator>
      <dc:date>2000-06-07T15:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror and Striping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-and-striping/m-p/2424604#M789</link>
      <description>The methods Steven and Garrin gave do essentially the same thing.  It is called extent stripping.&lt;BR /&gt;Something to watch when doing this.  If you make any changes to the defaults when you create your volume group, the lvcreates will run very slowly using Garrin's method, which used to be the only way to do this.  When I created my volume group I changed Max PV to some number greater than the default of 16.  I did this in case down the road my volume group needed more than 16 disk devices.  The only way to change it is when you create the volume group.  I also changed Max PE.  By default it is set to the size of the largest disk you add when you create the volume group.  Next year I may want to add a larger disk, which I could.  However, if I started with 9GB disks and added an 18GB later, I would only be able to use 9GB of that 18GB - the Max PE.  I wanted to avoid these types of problems later so I changed the defaults.&lt;BR /&gt;The further I got away from the default values, the slower lvcreate ran.  I had to go back to the defaults to create my LV's in a reasonable amount of time.&lt;BR /&gt;Later I found a post in the forum asking the same question you have.  A reply was posted on 4/11/2000, check back it may still be there.  It described the method Steven gave, using the distributed option.  It works much faster and easier than the old way of mulitple lvextends.  To me it should win some Enhancement of the Year Award.  It works great.  Read up on lvcreate using the distributed option or look for that earlier post.  It has all the details.&lt;BR /&gt;&lt;BR /&gt;Extent stripped volumes can be mirrored.&lt;BR /&gt;Remember, mirroring slows down writes because the data needs to be written twice.  It can speed up reads as the reads will be serviced form the copy with the shorter queue.  Consider how you use the data before mirroring.  You can pay a big performance penalty on systems that do a lot of writes.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jun 2000 20:05:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-and-striping/m-p/2424604#M789</guid>
      <dc:creator>Dave Wherry</dc:creator>
      <dc:date>2000-06-09T20:05:43Z</dc:date>
    </item>
  </channel>
</rss>

