<?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 internal disks to array disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105140#M631591</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for info. I'm still a bit concerned about my mirror set-up.&lt;BR /&gt;Current set-up: vg00 comprises 2 internal disks 9Gb each.&lt;BR /&gt;planned Mirror set-up: lvextend vg00 onto 1 array disk 20 Gb? But the array disk will only use 9 Gb,&lt;BR /&gt;so does that mean that I would have to use a 2nd array disk for the 2nd internal disk? If so would&lt;BR /&gt;I have to make the 2nd array disk bootable as well?&lt;BR /&gt;In addition do I have to set-up a lvmpvg file &amp;amp; change the allocation policy to PVG-strict? And if so why?&lt;BR /&gt;What if I want to set-up the alternate boot path to be the array mirror disk, can the path be multiple disks?&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!</description>
    <pubDate>Thu, 30 Oct 2003 02:55:36 GMT</pubDate>
    <dc:creator>Edgar_8</dc:creator>
    <dc:date>2003-10-30T02:55:36Z</dc:date>
    <item>
      <title>mirroring internal disks to array disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105132#M631583</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have an L-class with 2x 9 Gb internal disks with vg00 spanning both internal disks. The only bootable disk though is &lt;BR /&gt;internal disk1. An array of 6x20 Gb has been connected to the server. What would the procedure be to mirror the &lt;BR /&gt;2 internal disks onto the array? Would the below work:&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f -B /dev/rdsk/array_disk1&lt;BR /&gt;# mkboot /dev/rdsk/array_disk1&lt;BR /&gt;# vgextend /dev/vg00 /dev/dsk/array_disk1&lt;BR /&gt;# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/array_disk1&lt;BR /&gt;  lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/array_disk1&lt;BR /&gt;  lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/array_disk1&lt;BR /&gt;# mkboot -a "hpux (0/0/2/1.6.0;0)/stand/vmunix" /dev/rdsk/array_disk1&lt;BR /&gt;# mkboot  -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/array_disk1&lt;BR /&gt;&lt;BR /&gt;Please advise!&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 29 Oct 2003 08:10:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105132#M631583</guid>
      <dc:creator>Edgar_8</dc:creator>
      <dc:date>2003-10-29T08:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring internal disks to array disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105133#M631584</link>
      <description>Edgar --&lt;BR /&gt;&lt;BR /&gt;That looks good to me.&lt;BR /&gt;&lt;BR /&gt;One thing I would add would be to check the lvlnboot information after you are done with:&lt;BR /&gt;&lt;BR /&gt;lvlnboot -v /dev/vg00 &lt;BR /&gt;&lt;BR /&gt;to ensure that it shows that both disks are bootable .&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Kent M. Ostby&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Oct 2003 08:17:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105133#M631584</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2003-10-29T08:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring internal disks to array disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105134#M631585</link>
      <description>vgextend .... &lt;BR /&gt;&lt;BR /&gt; lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/array_disk1&lt;BR /&gt;&lt;BR /&gt;I've used this method to move stuff off local disk onto array disks without downing production.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 29 Oct 2003 08:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105134#M631585</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-10-29T08:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring internal disks to array disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105135#M631586</link>
      <description>Edgar,&lt;BR /&gt;&lt;BR /&gt;   Yes you can mirror external drives just like the procedures you posted.  I would however put "hpux -lq" just in case, cause if you do lose your internal drives (hardly ever happens that you would lose more than one at a time but you never know), you'd want to boot even without quorum.  &lt;BR /&gt;&lt;BR /&gt;    I would also verify that my lvlnboot information is updated accordingly.</description>
      <pubDate>Wed, 29 Oct 2003 08:20:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105135#M631586</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2003-10-29T08:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring internal disks to array disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105136#M631587</link>
      <description>I would say change the sequence of the last two command's. &lt;BR /&gt;&lt;BR /&gt;mkboot -b first then mkboot -a.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Pramod</description>
      <pubDate>Wed, 29 Oct 2003 08:39:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105136#M631587</guid>
      <dc:creator>Pramod_4</dc:creator>
      <dc:date>2003-10-29T08:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring internal disks to array disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105137#M631588</link>
      <description>Here's a procedure I wrote:&lt;BR /&gt;&lt;BR /&gt;How to mirror the root disk&lt;BR /&gt;Say /dev/dsk/c0t6d0 is the root disk and /dev/dsk/c3t6d0 is the disk you want to make a mirror of.&lt;BR /&gt;&lt;BR /&gt;1. Create a bootable LVM disk to be used for the mirror.&lt;BR /&gt;pvcreate -B /dev/rdsk/c3t6d0&lt;BR /&gt;2. Add this disk to the current root volume group.&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c3t6d0&lt;BR /&gt;3. Make the new disk a boot disk.&lt;BR /&gt;mkboot -l /dev/rdsk/c3t6d0&lt;BR /&gt;4. Copy the correct AUTO file into the new LIF area.&lt;BR /&gt;mkboot -a "hpux -l q (;0)/vmunix" /dev/rdsk/c3t6d0&lt;BR /&gt;5. Mirror the boot, root and primary swap logical volumes to the new&lt;BR /&gt;bootable disk. Ensure that all devices in vg00, such as /usr, /swap,&lt;BR /&gt;etc., are mirrored.&lt;BR /&gt;The following is an example of mirroring the boot logical volume:&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t6d0&lt;BR /&gt;The following is an example of mirroring the primary swap logical&lt;BR /&gt;volume:&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c3t6d0&lt;BR /&gt;The following is an example of mirroring the root logical volume:&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c3t6d0&lt;BR /&gt;6. Update the boot information contained in the BDRA for the mirror&lt;BR /&gt;copies of boot, primary swap and root.&lt;BR /&gt;/usr/sbin/lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;/usr/sbin/lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt;/usr/sbin/lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt;7. Check if the BDRA is correct.&lt;BR /&gt;/usr/sbin/lvlnboot -R /dev/vg00&lt;BR /&gt;8. Verify that the mirrors were properly created.&lt;BR /&gt;lvlnboot -v /dev/vg00&lt;BR /&gt;The output of this command is shown in a display like the following:&lt;BR /&gt;Boot Definitions for Volume Group /dev/vg00:&lt;BR /&gt;Boot Definitions for Volume Group /dev/vg00:&lt;BR /&gt;Physical Volumes belonging in Root Volume Group:&lt;BR /&gt;/dev/dsk/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk&lt;BR /&gt;/dev/dsk/c3t6d0 (1/0/1/0/0/1/1.6.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1 on: /dev/dsk/c0t6d0&lt;BR /&gt;/dev/dsk/c3t6d0&lt;BR /&gt;Root: lvol3 on: /dev/dsk/c0t6d0&lt;BR /&gt;/dev/dsk/c3t6d0&lt;BR /&gt;Swap: lvol2 on: /dev/dsk/c0t6d0&lt;BR /&gt;/dev/dsk/c3t6d0&lt;BR /&gt;Dump: lvol2 on: /dev/dsk/c0t6d0, 0&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vg00&lt;BR /&gt;&lt;BR /&gt;Then lvextend for all other lvols:&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol9 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol10 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol11 /dev/dsk/c3t6d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 29 Oct 2003 12:25:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105137#M631588</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-10-29T12:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring internal disks to array disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105138#M631589</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for the info.I just have a last concern, as I said the 2 internal disks are part of vg00 but only 1 of the disks is bootable. Now when I mirror will the 2nd internal disk be automatically mirrored?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Thu, 30 Oct 2003 00:33:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105138#M631589</guid>
      <dc:creator>Edgar_8</dc:creator>
      <dc:date>2003-10-30T00:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring internal disks to array disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105139#M631590</link>
      <description>Yes, your second disk will also be mirrored as long as you mirror all logical volumes, and not only the ones on the first internal disk. Since you have enough diskspace on the external disk, this is A Good Thing (TM).</description>
      <pubDate>Thu, 30 Oct 2003 02:23:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105139#M631590</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2003-10-30T02:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring internal disks to array disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105140#M631591</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for info. I'm still a bit concerned about my mirror set-up.&lt;BR /&gt;Current set-up: vg00 comprises 2 internal disks 9Gb each.&lt;BR /&gt;planned Mirror set-up: lvextend vg00 onto 1 array disk 20 Gb? But the array disk will only use 9 Gb,&lt;BR /&gt;so does that mean that I would have to use a 2nd array disk for the 2nd internal disk? If so would&lt;BR /&gt;I have to make the 2nd array disk bootable as well?&lt;BR /&gt;In addition do I have to set-up a lvmpvg file &amp;amp; change the allocation policy to PVG-strict? And if so why?&lt;BR /&gt;What if I want to set-up the alternate boot path to be the array mirror disk, can the path be multiple disks?&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Thu, 30 Oct 2003 02:55:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105140#M631591</guid>
      <dc:creator>Edgar_8</dc:creator>
      <dc:date>2003-10-30T02:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring internal disks to array disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105141#M631592</link>
      <description>Ah, yes. I forgot the max PE per PV parameter.&lt;BR /&gt;&lt;BR /&gt;If possible, try to let the disk array export 2 9 Gb disks and add those instead of 1 20 Gb which is only used up to 9 Gb, because it will be impossible to mirror 18 Gb on 1 9Gb physical volume (even though it is really a 20 Gb disk).&lt;BR /&gt;&lt;BR /&gt;If the diskarray doesn't have this capability, you could always go for ignite and create the vg00 with the diskarray disk in the volumegroup, which will result in a new vg00 with a large enough PE per PV setting.</description>
      <pubDate>Thu, 30 Oct 2003 03:45:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-internal-disks-to-array-disk/m-p/3105141#M631592</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2003-10-30T03:45:24Z</dc:date>
    </item>
  </channel>
</rss>

