<?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 Mirroring an Array in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-an-array/m-p/2545250#M649232</link>
    <description>Hi All:&lt;BR /&gt;&lt;BR /&gt;I'm sure this is probably a simple question, however, being in a position of not having done it before and only having one chance to do it right, I thought it best to ask to be sure.&lt;BR /&gt;&lt;BR /&gt;I have an VA 7100 currently configured at RAID 0 on the first controller.  Tomorrow I will be mirroring everything over to the second controller, and I want to make sure that goes very smooth (I actually have two of them to configure).  What's the best and/or recommended method of doing so?  I'd prefer to have a direct script to do it instead of via SAM, as that way it's something that I have on file for future use (every now and then these types of situations come up).&lt;BR /&gt;&lt;BR /&gt;Looking at another script I have (which is used to mirror a boot drive), I'm guessing the following should be pretty close, but as I said, I want to be sure.&lt;BR /&gt;&lt;BR /&gt;pvcreate -B /dev/rdsk/c0t8d0 &lt;BR /&gt;vgextend /dev/vg01 /dev/dsk/c0t8d0 &lt;BR /&gt;lvextend -m 1 /dev/vg01/lvol1 &lt;BR /&gt;lvextend -m 1 /dev/vg01/lvol2 &lt;BR /&gt;lvextend -m 1 /dev/vg01/lvol3 &lt;BR /&gt;&lt;BR /&gt;Obviously updating this with the correct device and volume groups/logical volumes.&lt;BR /&gt;&lt;BR /&gt;I appreciate your assistance and guidance!&lt;BR /&gt;&lt;BR /&gt;Harvey&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 26 Jun 2001 14:57:56 GMT</pubDate>
    <dc:creator>Harvey Beliveau</dc:creator>
    <dc:date>2001-06-26T14:57:56Z</dc:date>
    <item>
      <title>Mirroring an Array</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-an-array/m-p/2545250#M649232</link>
      <description>Hi All:&lt;BR /&gt;&lt;BR /&gt;I'm sure this is probably a simple question, however, being in a position of not having done it before and only having one chance to do it right, I thought it best to ask to be sure.&lt;BR /&gt;&lt;BR /&gt;I have an VA 7100 currently configured at RAID 0 on the first controller.  Tomorrow I will be mirroring everything over to the second controller, and I want to make sure that goes very smooth (I actually have two of them to configure).  What's the best and/or recommended method of doing so?  I'd prefer to have a direct script to do it instead of via SAM, as that way it's something that I have on file for future use (every now and then these types of situations come up).&lt;BR /&gt;&lt;BR /&gt;Looking at another script I have (which is used to mirror a boot drive), I'm guessing the following should be pretty close, but as I said, I want to be sure.&lt;BR /&gt;&lt;BR /&gt;pvcreate -B /dev/rdsk/c0t8d0 &lt;BR /&gt;vgextend /dev/vg01 /dev/dsk/c0t8d0 &lt;BR /&gt;lvextend -m 1 /dev/vg01/lvol1 &lt;BR /&gt;lvextend -m 1 /dev/vg01/lvol2 &lt;BR /&gt;lvextend -m 1 /dev/vg01/lvol3 &lt;BR /&gt;&lt;BR /&gt;Obviously updating this with the correct device and volume groups/logical volumes.&lt;BR /&gt;&lt;BR /&gt;I appreciate your assistance and guidance!&lt;BR /&gt;&lt;BR /&gt;Harvey&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Jun 2001 14:57:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-an-array/m-p/2545250#M649232</guid>
      <dc:creator>Harvey Beliveau</dc:creator>
      <dc:date>2001-06-26T14:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring an Array</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-an-array/m-p/2545251#M649233</link>
      <description>Pretty much right apart from the fact that you don't need the -b flag on pvcreate as the disk will not be bootable.&lt;BR /&gt;&lt;BR /&gt;Depending on what disks you have in your volume group, you may want to ensure that the mirrors go where you expect by explicitly naming the disk(s) to lvextend:-&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg??/lvol? /dev/dsk/?????&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Tue, 26 Jun 2001 15:06:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-an-array/m-p/2545251#M649233</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2001-06-26T15:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring an Array</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-an-array/m-p/2545252#M649234</link>
      <description>It looks okay in principle..&lt;BR /&gt;You might want to look at physical volume groups if you have lots of luns to mirror.&lt;BR /&gt;See the man on vgcreate section PVGs.&lt;BR /&gt;Physical volume groups allow you to make sure that your mirror is located accessing through a different controller so that you don't have to worry about mirroring through the same controller by accident or even mirroring across the same array introducing single points of failure.&lt;BR /&gt;&lt;BR /&gt;I'm not sure on the VA disk system and perhaps you'll get more input in hte storage forum but on an autoraid for example mirroring your lun on the same array wouldn't make sense since the lun is distrubuted across all disks in any case.. if your VA array is fixed disk approach raid mirroring across one VA to another using PVGs is fine.. mirroring within the same enclosure is just going to cost you disk space if it is already raid protected and accessable from the other controller via lvm alternate links.. vgextend vgname /dev/dsk/ctd alternate.&lt;BR /&gt;&lt;BR /&gt;Bill</description>
      <pubDate>Tue, 26 Jun 2001 15:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-an-array/m-p/2545252#M649234</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-06-26T15:10:22Z</dc:date>
    </item>
  </channel>
</rss>

