<?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: Mirroring and Striping? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421145#M655623</link>
    <description>Almost all of HP's internal Openmail servers worldwide use manual extent based striping &amp;amp; mirroring on Nike's. The whole point of using this is so that you can mix data and mirrorred data across all the SCSI controllers and devices. This was benchmarked against many other solutions and found to be the best.&lt;BR /&gt;&lt;BR /&gt;This has a few advantages over distributed extent based striping (lvcreate -D);&lt;BR /&gt;&lt;BR /&gt;1. doing it manually allows you to start each lvol on a different device for an even better stripe.&lt;BR /&gt;2. you can mix a data extent and a mirrored data extent on the same device (but of course for different lvols).&lt;BR /&gt;3. consequently you can balance much much better the load across all controllers and devices evenly whereas other solutions only tend to use the mirrored channels+devices when the primary gets too busy or drops.&lt;BR /&gt;&lt;BR /&gt;Stefan&lt;BR /&gt;HP OSD&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 19 May 2000 10:04:31 GMT</pubDate>
    <dc:creator>Stefan Farrelly</dc:creator>
    <dc:date>2000-05-19T10:04:31Z</dc:date>
    <item>
      <title>Mirroring and Striping?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421137#M655610</link>
      <description>I understand that you cannot do both mirroring and striping, using the built-in &lt;BR /&gt;LVM striping.  However, I heard that you could fake striping a mirrored LV by &lt;BR /&gt;extending it onto different physical volumes, one extent at at time.  That &lt;BR /&gt;would give you stripes the size of your extent size.&lt;BR /&gt;&lt;BR /&gt;Has anyone actually tried it, and is it worth trying?  If so, has anyone &lt;BR /&gt;written a script to do the loop of multiple lvextends?  I'm curious about &lt;BR /&gt;people's thoughts on it.&lt;BR /&gt;&lt;BR /&gt;- Alan</description>
      <pubDate>Fri, 07 Apr 2000 16:00:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421137#M655610</guid>
      <dc:creator>Millar Alan</dc:creator>
      <dc:date>2000-04-07T16:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring and Striping?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421138#M655611</link>
      <description>Lets separate the two things.&lt;BR /&gt;Mirroring is to protect you against HW failure, whereas striping  CAN give you &lt;BR /&gt;performance improvement.&lt;BR /&gt;&lt;BR /&gt;I you wish to stripe, be careful, as performance will depend greatly on the &lt;BR /&gt;sizes of the datafiles and how big are the queries. If you get the strip size &lt;BR /&gt;wrong, you may run x disks flat chat for each query made to them. With striping &lt;BR /&gt;you may also run the risk of disk&lt;BR /&gt;failure. If one fails, you then need to recover the &lt;BR /&gt;entire fiilesystem (unless mirrored) best rule of thumb &lt;BR /&gt;if the avg size of files is less than 4mb , stripe in 4 chunks,otherwise stripe &lt;BR /&gt;in the avareage size chuncks your files are in.&lt;BR /&gt;&lt;BR /&gt;To mirror the stripe identically, you will need to mirror as you do the &lt;BR /&gt;lvextend.</description>
      <pubDate>Tue, 11 Apr 2000 04:14:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421138#M655611</guid>
      <dc:creator>Terja Lange_1</dc:creator>
      <dc:date>2000-04-11T04:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring and Striping?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421139#M655612</link>
      <description>Alan,&lt;BR /&gt;We have done this and it does work.  We no longer do it because we moved to an &lt;BR /&gt;XP256 and do not need to mirror.  We are still doing psuedo, or extent striping &lt;BR /&gt;so that we can balance the I/O across our 4 controllers.  We created the &lt;BR /&gt;logical volumes and then did lvextends, 4MB at a time to each disk in a round &lt;BR /&gt;robin.  This was recomended to us by the XP256 development team out of &lt;BR /&gt;Roseville.  Performance has been very good and the load is balanced.&lt;BR /&gt;&lt;BR /&gt;Something to watch out for.  If when creating the volume group you change any &lt;BR /&gt;of the defaults, the lvextend round robin will be pathetically slow.  I've been &lt;BR /&gt;burned before by having a volume group which was created with say 4GB disks.  &lt;BR /&gt;By default the max PE per PV is set to the size of the largest disk.  Later I &lt;BR /&gt;wanted to add a 9GB drive to the volume group.  Only 4GB would be usable as &lt;BR /&gt;that was the max.  To avoid this again I increased the max PE per PV when &lt;BR /&gt;creating my new volume groups.  I also changed the Max PV to larger than the &lt;BR /&gt;default 16 in case I needed to add more than 16 disks in the future.  I was &lt;BR /&gt;trying to look ahead.  I then tried to create 6 logical volumes, each around &lt;BR /&gt;13GB using the extent striping method.  At the rate they were being created it &lt;BR /&gt;would have taken about 16 hours to create these 6 logical volumes.  The higher &lt;BR /&gt;we went with the max values, the slower the lvextends ran.  HP could not give &lt;BR /&gt;us a reason for this and we had to go back to or very close to the defaults.  &lt;BR /&gt;Watch out for th&lt;BR /&gt;at.&lt;BR /&gt;&lt;BR /&gt;There is another post in the forum about mirroring and striping, posted on &lt;BR /&gt;4/10.  There is a good reply on using physical volume groups to set up extent &lt;BR /&gt;striping.  Check it out.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Tue, 11 Apr 2000 07:31:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421139#M655612</guid>
      <dc:creator>Dave Wherry_1</dc:creator>
      <dc:date>2000-04-11T07:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring and Striping?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421140#M655613</link>
      <description>Thanks for the responses.  The other message on managing it using physical &lt;BR /&gt;groups looks good; I'll definitely look into the new lvcreate syntax.&lt;BR /&gt;&lt;BR /&gt;I never thought of using the striping to balance the array IO across multiple &lt;BR /&gt;channels.  That's a great idea.  Thanks!&lt;BR /&gt;&lt;BR /&gt;- Alan</description>
      <pubDate>Tue, 11 Apr 2000 09:44:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421140#M655613</guid>
      <dc:creator>Millar Alan</dc:creator>
      <dc:date>2000-04-11T09:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring and Striping?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421141#M655615</link>
      <description>We are using Fibre Channel interfaces and our load&lt;BR /&gt;should not come close to saturating a single interface.&lt;BR /&gt;You could saturate a SCSI interface so you should&lt;BR /&gt;consider it.  It also gives you redundancy and the&lt;BR /&gt;ability to use alternate paths in case an interface&lt;BR /&gt;fails.  &lt;BR /&gt;Life is getting easier from the old JBOD days.</description>
      <pubDate>Tue, 11 Apr 2000 12:57:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421141#M655615</guid>
      <dc:creator>Dave Wherry_1</dc:creator>
      <dc:date>2000-04-11T12:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring and Striping?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421142#M655617</link>
      <description>Back at 9.x, extent striping was the only thing available.  We used it and saw significant improvements in i/o throughput to our database apps.  The only issue that came out of it was a situation where a bad block appeared in the set.  I can't remember if it was on the primary or the mirror, but it caused an error message to appear every time we split and resynced mirrors.  I seem to remember that the configuration has some problem relocating the bad block.  Our solution was to swap out the drive (Jamaica) with an identical and recover the data back to the failing disk.  I'm not sure what it would have required if a new drive could not be had.&lt;BR /&gt;&lt;BR /&gt;These days we are using array technology (EMC) and the problem is somewhat of a moot point to us.  Striping drives on the EMC drastically improves throughput in a mostly read database but requires full mirroring to operate at peak efficiency.  I've also created some using raid 'S' but there are a variety of other issues that come into the picture and throughput is not nearly as good.</description>
      <pubDate>Thu, 18 May 2000 12:55:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421142#M655617</guid>
      <dc:creator>Tim Malnati</dc:creator>
      <dc:date>2000-05-18T12:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring and Striping?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421143#M655619</link>
      <description>if your using lvm striping and an array becareful, you don't stripe a stripe!.&lt;BR /&gt;&lt;BR /&gt;I've seen the following situation.&lt;BR /&gt;&lt;BR /&gt;Raid 5, with lvm striping and Oracle (which striped the data across the raw lvols). The end effect was poor performance.&lt;BR /&gt;&lt;BR /&gt;If your using striping using multiple technologies ensure you do some benchmarking to prove you are actually making things faster.</description>
      <pubDate>Thu, 18 May 2000 13:42:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421143#M655619</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-05-18T13:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring and Striping?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421144#M655621</link>
      <description>You will probably need to clean up the shell script but this is a start.&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;#mk_stripes lvol size ( in extents ) physical_volumes ...&lt;BR /&gt;#&lt;BR /&gt;lvol=$1&lt;BR /&gt;integer drive count=0 limit=$2&lt;BR /&gt;shift 2&lt;BR /&gt;integer ndisks=$#&lt;BR /&gt;&lt;BR /&gt;for i in $*&lt;BR /&gt;do&lt;BR /&gt;      disks[count]=$i&lt;BR /&gt;      let count=count+1&lt;BR /&gt;done&lt;BR /&gt;count=0&lt;BR /&gt;while [ $count -lt $limit ]&lt;BR /&gt;do&lt;BR /&gt;      let drive=count%ndisks&lt;BR /&gt;      let count=count+1&lt;BR /&gt;      lvextend -l $count $lvol ${disks[drive]}&lt;BR /&gt;done&lt;BR /&gt;# ./script1 /dev/vg00/lvol2 16 /dev/dsk/c[2345]dt0s0&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Thu, 18 May 2000 14:02:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421144#M655621</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2000-05-18T14:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring and Striping?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421145#M655623</link>
      <description>Almost all of HP's internal Openmail servers worldwide use manual extent based striping &amp;amp; mirroring on Nike's. The whole point of using this is so that you can mix data and mirrorred data across all the SCSI controllers and devices. This was benchmarked against many other solutions and found to be the best.&lt;BR /&gt;&lt;BR /&gt;This has a few advantages over distributed extent based striping (lvcreate -D);&lt;BR /&gt;&lt;BR /&gt;1. doing it manually allows you to start each lvol on a different device for an even better stripe.&lt;BR /&gt;2. you can mix a data extent and a mirrored data extent on the same device (but of course for different lvols).&lt;BR /&gt;3. consequently you can balance much much better the load across all controllers and devices evenly whereas other solutions only tend to use the mirrored channels+devices when the primary gets too busy or drops.&lt;BR /&gt;&lt;BR /&gt;Stefan&lt;BR /&gt;HP OSD&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 May 2000 10:04:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421145#M655623</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2000-05-19T10:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring and Striping?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421146#M655625</link>
      <description>You can use the lvcreate -D and still get the same effect that Stefan talked about in his first point, which I think is a good idea.  By simply editing the /etc/lvmpvg file and changing the order of the disks listed in the physical volume group, you can decide which is the first disk used.  That spreads your starting disk for you logical volumes around.&lt;BR /&gt;I really prefer the -D option because manually extent striping even with a script, can be very slow.  I went through it last year and was not aware of the -D option.  It would have saved me a day of work.&lt;BR /&gt;</description>
      <pubDate>Fri, 19 May 2000 19:21:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421146#M655625</guid>
      <dc:creator>Dave Wherry</dc:creator>
      <dc:date>2000-05-19T19:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring and Striping?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421147#M655627</link>
      <description>Extent Based Mirrored Stripes. That's what it is called. It has been introduced in LVM in a patch (in 10.20), thus it was not always there. It is now in the LVM command patch (the big cumulative patch).&lt;BR /&gt;&lt;BR /&gt;Before that time, we had to use a script, as shown before. Since then:&lt;BR /&gt; - you MUST use PVGs&lt;BR /&gt; - use option -D y of lvcreate&lt;BR /&gt; - everything is in the man pages&lt;BR /&gt;&lt;BR /&gt;Of course, using a disk array is much better... and more expensive :-(&lt;BR /&gt;&lt;BR /&gt;Have fun!</description>
      <pubDate>Tue, 23 May 2000 14:41:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-and-striping/m-p/2421147#M655627</guid>
      <dc:creator>Emmanuel Eyer</dc:creator>
      <dc:date>2000-05-23T14:41:56Z</dc:date>
    </item>
  </channel>
</rss>

