<?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 strategy in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-strategy/m-p/3789972#M616147</link>
    <description>Well if you are going to mirror them (at least in a sensible way) then you need an even number of drives. With 3 drives, you could run more than 1 mirror but that's overkill. I would create a VG using 2 of your disks and mirror each LVOL. Mirroring a swap LVOL is no different from mirroring any other LVOL. You simply specify the number of mirror copies you want with the lvcreate and lvextend commands. Man lvcreate and lvextend for details.</description>
    <pubDate>Wed, 17 May 2006 14:07:33 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2006-05-17T14:07:33Z</dc:date>
    <item>
      <title>Mirroring strategy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-strategy/m-p/3789971#M616146</link>
      <description>&lt;BR /&gt;I have 3 72-GB SCSI disks.&lt;BR /&gt;I need 20+GB for swap. &lt;BR /&gt;&lt;BR /&gt;What's the best way to mirror them? I want to mirror swap also.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 May 2006 14:01:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-strategy/m-p/3789971#M616146</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2006-05-17T14:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring strategy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-strategy/m-p/3789972#M616147</link>
      <description>Well if you are going to mirror them (at least in a sensible way) then you need an even number of drives. With 3 drives, you could run more than 1 mirror but that's overkill. I would create a VG using 2 of your disks and mirror each LVOL. Mirroring a swap LVOL is no different from mirroring any other LVOL. You simply specify the number of mirror copies you want with the lvcreate and lvextend commands. Man lvcreate and lvextend for details.</description>
      <pubDate>Wed, 17 May 2006 14:07:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-strategy/m-p/3789972#M616147</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-05-17T14:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring strategy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-strategy/m-p/3789973#M616148</link>
      <description>It depends on you and what are your requirements and constraints. As advised above ideally you should mirror lvols from one disk to the 2nd. But if you want you can mirror the most important lvols from the 2 disks to the third disk as well.&lt;BR /&gt;Also note that while creating the swap lvol use the following&lt;BR /&gt;lvcreate -C y -r N -L size_in_MB -n swapvol_name /dev/vgname&lt;BR /&gt;&lt;BR /&gt;Because swap requires contiguous and need to disallow bad block reallocation.&lt;BR /&gt;Also first create the swap vols, Then mirror the swapvol using&lt;BR /&gt;lvextend -m 1 /dev/vgname/swapvol_name pv_name&lt;BR /&gt;&lt;BR /&gt;Then create the remaining vols and mirror them.&lt;BR /&gt;so that you know that you can get the contiguous blocks required from the disks for the swap vol.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Wed, 17 May 2006 14:24:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-strategy/m-p/3789973#M616148</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2006-05-17T14:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring strategy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-strategy/m-p/3789974#M616149</link>
      <description>One modification - I think the -r option should be used with n rather than N.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Wed, 17 May 2006 14:29:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-strategy/m-p/3789974#M616149</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2006-05-17T14:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring strategy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-strategy/m-p/3789975#M616150</link>
      <description>Well, it's a bit messy, but you can mirror 1.5 disks to 1.5 disks.  I used to do this back with the old D series, and they had 5 internal hot swap drives.  I used the first two to mirror root lv's and the last three as a large mirrored data drive. &lt;BR /&gt;&lt;BR /&gt;Just create an lv that spans 1 disk, and EXACTLY half ( or half -1 if the number of extents is an odd number) of the second disk.  Now lvextend -m 1 over to the third disk and the second disk (and keep them in that order in your command).  But, as long as the LV that you're creating has the "Strict" attribute on, it'll do this correctly for you anyway.&lt;BR /&gt;&lt;BR /&gt;Good luck!</description>
      <pubDate>Wed, 17 May 2006 17:58:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-strategy/m-p/3789975#M616150</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2006-05-17T17:58:35Z</dc:date>
    </item>
  </channel>
</rss>

