<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536710#M222422</link>
    <description>My predecessor at my last job, did use SAM to do mirroring. The problem was he had to be careful that there was free space on only one disk when he mirrored logical volumes, otherwise there was no control of what disk the mirror copy went to.&lt;BR /&gt;&lt;BR /&gt;There were still a few steps, noted well above that had to be done manually.&lt;BR /&gt;&lt;BR /&gt;When I took over the shop, I took the time to use the steps above, which allowed me to personally choose which disk the mirror copy went on.&lt;BR /&gt;&lt;BR /&gt;The manual procedure above is the way to go. Mirror/ux is a must, though you can mirror the rootvg with vxvm without additional licensing.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Tue, 03 May 2005 09:46:27 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2005-05-03T09:46:27Z</dc:date>
    <item>
      <title>mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536706#M222418</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I have a basic question about mirroring. Is mirroring a disk possible through SAM. Also, could someone tell how much time would it take to mirror a 18 gb disk ? I can give more detail if you need. Thanks in advance.</description>
      <pubDate>Tue, 03 May 2005 08:42:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536706#M222418</guid>
      <dc:creator>Sunil_47</dc:creator>
      <dc:date>2005-05-03T08:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536707#M222419</link>
      <description>Never did it through SAM. following is the procedure that I follow.&lt;BR /&gt;&lt;BR /&gt;Note the following example is using the disk c1t6d0 as the&lt;BR /&gt;&lt;BR /&gt;mirrored boot disk and c0t6d0 as the boot disk. &lt;BR /&gt;&lt;BR /&gt;1) Initialize the disk and make it bootable&lt;BR /&gt;&lt;BR /&gt; pvcreate -B /dev/rdsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;Note: the -B parameter tell pvcreate that this will be a&lt;BR /&gt;&lt;BR /&gt;bootable disk.&lt;BR /&gt;&lt;BR /&gt;2) Add the physical volume to the volume group&lt;BR /&gt;&lt;BR /&gt;vgextend /dev/vg01 /dev/dsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;3) Use mkboot to place the boot utilities in the boot area and add&lt;BR /&gt;&lt;BR /&gt;the AUTO file.&lt;BR /&gt;&lt;BR /&gt;mkboot /dev/dsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;4) Use mkboot to update the AUTO file on the primary boot&lt;BR /&gt;&lt;BR /&gt;disk.&lt;BR /&gt;&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/c0t6d0&lt;BR /&gt;&lt;BR /&gt;5) Mirror the stand, root and swap logical volumes&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol2&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol3&lt;BR /&gt;&lt;BR /&gt;Note: LVM will resynchronize the new mirror copies. This step will&lt;BR /&gt;&lt;BR /&gt;takes several minutes &lt;BR /&gt;&lt;BR /&gt;Repeat the lvextend for all other logical volumes on the boot&lt;BR /&gt;&lt;BR /&gt;mirror.&lt;BR /&gt;&lt;BR /&gt;6) Modify your alternate boot path to point to the mirror copy of the&lt;BR /&gt;&lt;BR /&gt;boot disk.&lt;BR /&gt;&lt;BR /&gt;setboot -a 8/8.6.0 # Use the Hardware path for your new&lt;BR /&gt;&lt;BR /&gt;boot disk. &lt;BR /&gt;</description>
      <pubDate>Tue, 03 May 2005 08:46:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536707#M222419</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-05-03T08:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536708#M222420</link>
      <description>As far as time, anywhere from 5 to 30 minutes...&lt;BR /&gt;&lt;BR /&gt;If not a boot disk, then mirroring is simply using the lvextend command:&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg10/lvol1 /dev/dsk/c3t6d0&lt;BR /&gt;&lt;BR /&gt;man lvextend for more info&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 03 May 2005 08:58:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536708#M222420</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-05-03T08:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536709#M222421</link>
      <description>sunil,&lt;BR /&gt;&lt;BR /&gt;first you need to purchase the mirroring software/licence it doesn't come as standard on HP (for reasons best known to HP).&lt;BR /&gt;&lt;BR /&gt;e.g. for HP-UX 11.0/11.11/11iv2 you would need &lt;BR /&gt;&lt;BR /&gt;B2491BA Mirrordisk/UX &lt;BR /&gt;&lt;BR /&gt;which is around $1000</description>
      <pubDate>Tue, 03 May 2005 08:59:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536709#M222421</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-05-03T08:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536710#M222422</link>
      <description>My predecessor at my last job, did use SAM to do mirroring. The problem was he had to be careful that there was free space on only one disk when he mirrored logical volumes, otherwise there was no control of what disk the mirror copy went to.&lt;BR /&gt;&lt;BR /&gt;There were still a few steps, noted well above that had to be done manually.&lt;BR /&gt;&lt;BR /&gt;When I took over the shop, I took the time to use the steps above, which allowed me to personally choose which disk the mirror copy went on.&lt;BR /&gt;&lt;BR /&gt;The manual procedure above is the way to go. Mirror/ux is a must, though you can mirror the rootvg with vxvm without additional licensing.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 03 May 2005 09:46:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536710#M222422</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-05-03T09:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536711#M222423</link>
      <description>Mirror can be made on logical volume level not disk level, that mean if you want to mirror a complete disk then you have to mirror all logical volumes on that disk. You can do it using SAM but only when you create the logical volume. The time to mirror the complete disk depend of several factors, but consider between 15 to 30 min.</description>
      <pubDate>Wed, 04 May 2005 11:13:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536711#M222423</guid>
      <dc:creator>Gerardo Mora</dc:creator>
      <dc:date>2005-05-04T11:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536712#M222424</link>
      <description>Thanks for all replies ... This system boots from a flash card ... And I am not sure if the root disk should be bootable ... Although I know this boots from a flashcard, I still want to check if the current root disk is bootable. How can I check that? If I find this root disk is not necessary to be bootable, can I just use &lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg10/lvol1 /dev/dsk/c1t0d0&lt;BR /&gt;&lt;BR /&gt;to create the mirror. vg00 has lvol1 to lvol10. In that case, should I do lvextend 10 times?&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg10/lvol2 /dev/dsk/c1t0d0&lt;BR /&gt;lvextend -m 1 /dev/vg10/lvol3 /dev/dsk/c1t0d0&lt;BR /&gt;...&lt;BR /&gt;lvextend -m  /dev/vg10/lvol10 /dev/dsk/c1t0d0&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Sun, 08 May 2005 19:06:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536712#M222424</guid>
      <dc:creator>Sunil_47</dc:creator>
      <dc:date>2005-05-08T19:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536713#M222425</link>
      <description>Hi Sunil.&lt;BR /&gt;&lt;BR /&gt;Use lvlnboot -v  to check which disk is bootable.&lt;BR /&gt;&lt;BR /&gt;Yes, you need to lvextend each lvol from 1 to 10. Otherwise use a script like this...&lt;BR /&gt;&lt;BR /&gt;#for i in 1 2 3 4 5 6 7 8 9 10&lt;BR /&gt;do&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol$i /dev/rdsk/c0t3d0&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;I assume you understand /dev/rdsk/c0t3d0 is the new disk added where you want to create mirror.&lt;BR /&gt;&lt;BR /&gt;Hope this helps you.&lt;BR /&gt;&lt;BR /&gt;Sudeesh</description>
      <pubDate>Sun, 08 May 2005 22:55:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536713#M222425</guid>
      <dc:creator>Sudeesh</dc:creator>
      <dc:date>2005-05-08T22:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536714#M222426</link>
      <description>Hi Sunil,&lt;BR /&gt;&lt;BR /&gt;To find out whether your current boot fisk is mirrored, use&lt;BR /&gt;# lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;If the o/p of this command shows more than one disk (/dev/dsk/c?t?d?), then the root disk is mirrored.&lt;BR /&gt;&lt;BR /&gt;In case it is not mirrored, and you have MirrorUX license, then you can go ahead and mirror the root disk as per the procedure laid by RAC above.&lt;BR /&gt;&lt;BR /&gt;To mirror disk, or rather LVs to be more precise, you just need to lvextend with -m option.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Sun, 08 May 2005 23:01:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536714#M222426</guid>
      <dc:creator>Suraj Singh_1</dc:creator>
      <dc:date>2005-05-08T23:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536715#M222427</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;# lvlnboot -v&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/c0t0d0 (14/0/0.0.0) -- Boot Disk&lt;BR /&gt;        /dev/dsk/c1t0d0 (14/0/1.0.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c0t0d0&lt;BR /&gt;                        /dev/dsk/c1t0d0&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c0t0d0&lt;BR /&gt;                        /dev/dsk/c1t0d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c0t0d0&lt;BR /&gt;                        /dev/dsk/c1t0d0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c0t0d0, 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Looks like the root disk is bootable disk. So, this is the procedure I will follow to mirror root disk (as explained by RAC earlier in this thread).&lt;BR /&gt;&lt;BR /&gt;Just wanted to tell you that mirroring the root disk will be done after a cold installation. Please let me know if that is OK. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1) pvcreate -B /dev/rdsk/c1t0d0&lt;BR /&gt;2) vgextend /dev/vg00 /dev/dsk/c1t6d0   (slight change ... RAC said it is /dev/vg01)&lt;BR /&gt;3) mkboot /dev/dsk/c1t0d0&lt;BR /&gt;&lt;BR /&gt;   mkboot -a "hpux -lq" /dev/rdsk/c1t0d0&lt;BR /&gt;&lt;BR /&gt;4) Mirror the stand, root and swap logical volumes&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol2&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol3&lt;BR /&gt;&lt;BR /&gt;Repeat the lvextend for all other logical volumes on the boot mirror. In my case, it is lvol1 ... lvol10.&lt;BR /&gt;&lt;BR /&gt;5) Modify your alternate boot path to point to the mirror copy of the boot disk.&lt;BR /&gt;&lt;BR /&gt;setboot -a 8/8.6.0 # Use the Hardware path for your new boot disk. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Am I missing something? Please let me know.</description>
      <pubDate>Mon, 09 May 2005 07:19:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror/m-p/3536715#M222427</guid>
      <dc:creator>Sunil_47</dc:creator>
      <dc:date>2005-05-09T07:19:46Z</dc:date>
    </item>
  </channel>
</rss>

