<?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: Root volume group Mirror in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6965086#M490189</link>
    <description>the lvm adminitrator guide will provide you all the steps needed to mirror vg00 - including create the partitions 1,2 and 3.</description>
    <pubDate>Wed, 17 May 2017 20:48:13 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2017-05-17T20:48:13Z</dc:date>
    <item>
      <title>Root volume group Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6965042#M490187</link>
      <description>&lt;P&gt;I am planning to migrate the data from one storage to another due to end of support. With data volume groups, I was able to migrate fine however, with the root volume group, I see the settings different and I inherited this environment recently.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(root) @/&amp;gt; vgdisplay -v vg00&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name /dev/vg00&lt;BR /&gt;VG Write Access read/write&lt;BR /&gt;VG Status available&lt;BR /&gt;Max LV 255&lt;BR /&gt;Cur LV 10&lt;BR /&gt;Open LV 10&lt;BR /&gt;Max PV 16&lt;BR /&gt;Cur PV 1&lt;BR /&gt;Act PV 1&lt;BR /&gt;Max PE per PV 2500&lt;BR /&gt;VGDA 2&lt;BR /&gt;PE Size (Mbytes) 64&lt;BR /&gt;Total PE 1217&lt;BR /&gt;Alloc PE 743&lt;BR /&gt;Free PE 474&lt;BR /&gt;Total PVG 0&lt;BR /&gt;Total Spare PVs 0&lt;BR /&gt;Total Spare PVs in use 0&lt;BR /&gt;VG Version 1.0&lt;BR /&gt;VG Max Size 2500g&lt;BR /&gt;VG Max Extents 40000&lt;/P&gt;&lt;P&gt;--- Logical volumes ---&lt;BR /&gt;LV Name /dev/vg00/lvol1&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;LV Size (Mbytes) 1792&lt;BR /&gt;Current LE 28&lt;BR /&gt;Allocated PE 28&lt;BR /&gt;Used PV 1&lt;/P&gt;&lt;P&gt;LV Name /dev/vg00/lvol2&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;LV Size (Mbytes) 8192&lt;BR /&gt;Current LE 128&lt;BR /&gt;Allocated PE 128&lt;BR /&gt;Used PV 1&lt;/P&gt;&lt;P&gt;LV Name /dev/vg00/lvol3&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;LV Size (Mbytes) 1024&lt;BR /&gt;Current LE 16&lt;BR /&gt;Allocated PE 16&lt;BR /&gt;Used PV 1&lt;/P&gt;&lt;P&gt;LV Name /dev/vg00/lvol4&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;LV Size (Mbytes) 1024&lt;BR /&gt;Current LE 16&lt;BR /&gt;Allocated PE 16&lt;BR /&gt;Used PV 1&lt;/P&gt;&lt;P&gt;LV Name /dev/vg00/lvol5&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;LV Size (Mbytes) 512&lt;BR /&gt;Current LE 8&lt;BR /&gt;Allocated PE 8&lt;BR /&gt;Used PV 1&lt;/P&gt;&lt;P&gt;LV Name /dev/vg00/lvol6&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;LV Size (Mbytes) 10368&lt;BR /&gt;Current LE 162&lt;BR /&gt;Allocated PE 162&lt;BR /&gt;Used PV 1&lt;/P&gt;&lt;P&gt;LV Name /dev/vg00/lvol7&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;LV Size (Mbytes) 5696&lt;BR /&gt;Current LE 89&lt;BR /&gt;Allocated PE 89&lt;BR /&gt;Used PV 1&lt;/P&gt;&lt;P&gt;LV Name /dev/vg00/lvol8&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;LV Size (Mbytes) 8704&lt;BR /&gt;Current LE 136&lt;BR /&gt;Allocated PE 136&lt;BR /&gt;Used PV 1&lt;/P&gt;&lt;P&gt;LV Name /dev/vg00/lvdb04&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;LV Size (Mbytes) 0&lt;BR /&gt;Current LE 0&lt;BR /&gt;Allocated PE 0&lt;BR /&gt;Used PV 0&lt;/P&gt;&lt;P&gt;LV Name /dev/vg00/commvault&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;LV Size (Mbytes) 10240&lt;BR /&gt;Current LE 160&lt;BR /&gt;Allocated PE 160&lt;BR /&gt;Used PV 1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name /dev/disk/disk761_p2&lt;BR /&gt;PV Status available&lt;BR /&gt;Total PE 1217&lt;BR /&gt;Free PE 474&lt;BR /&gt;Autoswitch On&lt;BR /&gt;Proactive Polling On&lt;/P&gt;&lt;P&gt;(root)@/&amp;gt; lvdisplay -v /dev/vg00/lvol1|more&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name /dev/vg00/lvol1&lt;BR /&gt;VG Name /dev/vg00&lt;BR /&gt;LV Permission read/write&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;Mirror copies 0&lt;BR /&gt;Consistency Recovery MWC&lt;BR /&gt;Schedule parallel&lt;BR /&gt;LV Size (Mbytes) 1792&lt;BR /&gt;Current LE 28&lt;BR /&gt;Allocated PE 28&lt;BR /&gt;Stripes 0&lt;BR /&gt;Stripe Size (Kbytes) 0&lt;BR /&gt;Bad block off&lt;BR /&gt;Allocation strict/contiguous&lt;BR /&gt;IO Timeout (Seconds) default&lt;/P&gt;&lt;P&gt;--- Distribution of logical volume ---&lt;BR /&gt;PV Name LE on PV PE on PV&lt;BR /&gt;/dev/disk/disk761_p2 28 28&lt;/P&gt;&lt;P&gt;=================&lt;/P&gt;&lt;P&gt;Question is, what is this Allocation for logical volume as strict/contiguous? What are the steps and how can I do this? I am thinking of adding a new disk of the same size, mirror and while unmirroring, I do lvreduce with the old disk and should be all set.&lt;/P&gt;&lt;P&gt;Also, what is this layout?&lt;/P&gt;&lt;P&gt;/dev/rdisk/disk761 /dev/rdsk/c54t12d4&lt;BR /&gt;/dev/rdsk/c55t12d4&lt;BR /&gt;/dev/rdsk/c53t12d4&lt;BR /&gt;/dev/rdsk/c56t12d4&lt;BR /&gt;/dev/rdisk/disk761_p1 /dev/rdsk/c54t12d4s1&lt;BR /&gt;/dev/rdsk/c55t12d4s1&lt;BR /&gt;/dev/rdsk/c53t12d4s1&lt;BR /&gt;/dev/rdsk/c56t12d4s1&lt;BR /&gt;/dev/rdisk/disk761_p2 /dev/rdsk/c54t12d4s2&lt;BR /&gt;/dev/rdsk/c55t12d4s2&lt;BR /&gt;/dev/rdsk/c53t12d4s2&lt;BR /&gt;/dev/rdsk/c56t12d4s2&lt;BR /&gt;/dev/rdisk/disk761_p3 /dev/rdsk/c54t12d4s3&lt;BR /&gt;/dev/rdsk/c55t12d4s3&lt;BR /&gt;/dev/rdsk/c53t12d4s3&lt;BR /&gt;/dev/rdsk/c56t12d4s3&lt;/P&gt;&lt;P&gt;My goal is to move all the data from disk761. But not sure what is this disk761_p1, disk761p2 and disk761p3. Please help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 15:06:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6965042#M490187</guid>
      <dc:creator>rescuehp17</dc:creator>
      <dc:date>2017-05-17T15:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Root volume group Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6965086#M490189</link>
      <description>the lvm adminitrator guide will provide you all the steps needed to mirror vg00 - including create the partitions 1,2 and 3.</description>
      <pubDate>Wed, 17 May 2017 20:48:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6965086#M490189</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2017-05-17T20:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Root volume group Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6965099#M490190</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;EM&gt;&amp;nbsp;what is this Allocation for logical volume as strict/contiguous?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Strict allocation means that disk extents for mirroring must be allocated from different disks. This prevents using extra extents on the same disk for a mirror.&lt;/P&gt;&lt;P&gt;Based on the disk name in &lt;STRONG&gt;vg00&lt;/STRONG&gt;, this appears to be HP-UX 11.31 running on IA64 hardware. The two different disk device naming conventions are agile (ie, &lt;STRONG&gt;/dev/rdisk/disk761&lt;/STRONG&gt;) and legacy (ie,&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;/dev/rdsk/c55t12d4&lt;/STRONG&gt;). They point to the same physical disk but are handled differently for load balancing. Agile is preferred which is what you have. To see the mapping, use&lt;STRONG&gt; ioscan -m dsf&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The &lt;STRONG&gt;_p1 _p2 _p3&lt;/STRONG&gt; tags on the file names refer to EFI partitions that must be created for&amp;nbsp;the boot disk on Integrity (aka, IA64 or Itanium) servers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The first step is to&amp;nbsp;present a disk LUN from the new storage &amp;nbsp;where the size is&amp;nbsp;the same as the current boot disk. Run this command to see the size of the current disk:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; diskinfo /dev/rdisk/disk761&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Once presented to HP-UX, run &lt;STRONG&gt;insf&lt;/STRONG&gt; to create the new device files:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; insf -eC disk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You should see the new device names from &lt;STRONG&gt;insf&lt;/STRONG&gt;. This will be the new miror.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is an example of the steps needed. In this case, the old disk is &lt;STRONG&gt;disk11&lt;/STRONG&gt; and the new disk is &lt;STRONG&gt;disk41&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;Example:&lt;BR /&gt;&lt;BR /&gt;Mirror disk11 to disk41&lt;BR /&gt;&lt;BR /&gt;    Find the legacy paths for each disk:&lt;BR /&gt;      ioscan -m dsf | grep -e "disk11 " -e "disk41 "&lt;BR /&gt;         /dev/rdisk/disk11 /dev/rdsk/c0t4d0&lt;BR /&gt;         /dev/rdisk/disk41 /dev/rdsk/c0t3d0&lt;BR /&gt;&lt;BR /&gt;    Make note of the lunpath for each disk:&lt;BR /&gt;       lssf /dev/rdisk/disk41 /dev/rdsk/c0t3d0&lt;BR /&gt;          (address 64000/0xfa00/0x8 and address 0/1/1/0.0.0.3.0)&lt;BR /&gt;       lssf /dev/rdisk/disk11 /dev/rdsk/c0t4d0&lt;BR /&gt;          (address 64000/0xfa00/0x9 and address 0/1/1/0.0.0.4.0)&lt;BR /&gt;&lt;BR /&gt;    Create a temporary partition layout file:&lt;BR /&gt;      echo "3\nEFI 500MB\nHPUX 100%\nHPSP 400MB" &amp;gt; /tmp/EFItemp&lt;BR /&gt;
    Clear the partition table
      CMD: idisk -Rw /dev/rdisk/disk41

    Create the partitions
      CMD: idisk -qwf /tmp/EFItemp /dev/rdisk/disk41

    Validate the partitions
      CMD: idisk -v /dev/rdisk/disk41

    Create device files for new partitions
      CMD: insf -eH 0/1/1/0.0.0.3.0
      CMD: insf -eH 64000/0xfa00/0x8

    Initialize EFI partition 1
      CMD: efi_fsinit -d /dev/rdisk/disk41_p1

    Initialize EFI partition 3 (HPSP)
      CMD: efi_fsinit -d /dev/rdisk/disk41_p3

    LVM initialize partition 2
      CMD: pvcreate -f -B /dev/rdisk/disk41_p2

    Make the boot area
      CMD: mkboot -e -l /dev/rdisk/disk41

    Create the AUTO file on mirror
      CMD: mkboot -a boot vmunix /dev/rdisk/disk41

    Extend vg00
      CMD: vgextend vg00 /dev/disk/disk41_p2

    Mirror all lvols in vg00
      CMD: lvextend -m 1 /dev/vg00/lvol1 /dev/disk/disk41_p2
      CMD: lvextend -m 1 /dev/vg00/lvol2 /dev/disk/disk41_p2
      CMD: lvextend -m 1 /dev/vg00/lvol3 /dev/disk/disk41_p2
      CMD: lvextend -m 1 /dev/vg00/lvol4 /dev/disk/disk41_p2
      CMD: lvextend -m 1 /dev/vg00/lvol5 /dev/disk/disk41_p2
      CMD: lvextend -m 1 /dev/vg00/lvol6 /dev/disk/disk41_p2
      CMD: lvextend -m 1 /dev/vg00/lvol7 /dev/disk/disk41_p2
      CMD: lvextend -m 1 /dev/vg00/lvol8 /dev/disk/disk41_p2

    Backup vg00 LVM information
      CMD: vgcfgbackup vg00

    Create vg00 mapfile
      CMD: vgexport -m /etc/lvmconf/vg00.mapfile -s -p -v vg00

    Record the BDRA/LVM headers
      CMD: lvlnboot -b /dev/vg00/lvol1 /dev/vg00
      CMD: lvlnboot -s /dev/vg00/lvol2 /dev/vg00
      CMD: lvlnboot -d /dev/vg00/lvol2 /dev/vg00
      CMD: lvlnboot -r /dev/vg00/lvol3 /dev/vg00
      CMD: lvlnboot -R
      CMD: lvlnboot -v&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Be sure to include all the lvols for mirroring (ie,&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;lvdb04&lt;/STRONG&gt; and &lt;STRONG&gt;commvault&lt;/STRONG&gt;). Once mirrored, you can then go through each lvol and reduce the original &lt;STRONG&gt;disk761_p2&lt;/STRONG&gt;. Once the old &lt;STRONG&gt;disk761_p2&lt;/STRONG&gt; reports no extents are in use, you can use &lt;STRONG&gt;vgreduce&lt;/STRONG&gt; to take the disk out of &lt;STRONG&gt;vg00&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 23:57:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6965099#M490190</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2017-05-17T23:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Root volume group Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6965161#M490191</link>
      <description>&lt;P&gt;Thank you so much, Bill. I will implement these steps and keep you posted. Really appreciate for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 12:27:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6965161#M490191</guid>
      <dc:creator>rescuehp17</dc:creator>
      <dc:date>2017-05-18T12:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Root volume group Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6965874#M490199</link>
      <description>&lt;P&gt;Ok I thought to give an update on this. I was about to migrate rootvg and waiting for the disk from san team and guess what? they deleted by accident the rootvg lun. bhoom....gone! :-( so i have restore the server.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 14:03:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6965874#M490199</guid>
      <dc:creator>rescuehp17</dc:creator>
      <dc:date>2017-05-25T14:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Root volume group Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6969642#M490278</link>
      <description>&lt;P&gt;Hi Bill, Getting error on this command, please suggest. Since a rootvg, I am nervous to try anything.&lt;/P&gt;&lt;P&gt;(root) @/tmp&amp;gt; mkboot -a boot vmunix /dev/rdisk/disk186&lt;BR /&gt;Illegal number of arguments specified&lt;BR /&gt;usage: mkboot [ -b boot_file_path ] [-c [-u] | -f | -h | -u]&lt;BR /&gt;[-i included_lif_file] [-p preserved_lif_file]&lt;BR /&gt;[-l | -H | -W] [-v] device&lt;/P&gt;&lt;P&gt;or: mkboot -a auto_file_string [-v] device&lt;/P&gt;&lt;P&gt;or: mkboot -e [-s EFI_source_path] [-v] [-W] device&lt;/P&gt;&lt;P&gt;where: -b select a boot file path&lt;BR /&gt;-c check boot path for fit&lt;BR /&gt;-e create ia64 (EFI) boot disk&lt;BR /&gt;-f force an update of the boot programs&lt;BR /&gt;-h modify only the lif header&lt;BR /&gt;-u specifies update mode&lt;BR /&gt;-i include only specified file&lt;BR /&gt;-p preserve specified lif file on device&lt;BR /&gt;-l treat device as an LVM physical volume&lt;BR /&gt;-H treat device as 800 hard partition&lt;BR /&gt;-W treat device as whole disk&lt;BR /&gt;-s select an EFI source path&lt;BR /&gt;-v specifies verbose mode&lt;BR /&gt;-a modifies the autoboot file&lt;BR /&gt;device is special file for boot program installation&lt;BR /&gt;(root) @/tmp&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 14:02:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6969642#M490278</guid>
      <dc:creator>rescuehp17</dc:creator>
      <dc:date>2017-06-30T14:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Root volume group Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6969646#M490279</link>
      <description>&lt;P&gt;If you want your auto_file_string to be:&lt;/P&gt;&lt;P&gt;boot vmunix&lt;/P&gt;&lt;P&gt;then you'll need to put quotes around it:&lt;/P&gt;&lt;PRE&gt;mkboot -a "boot vmunix" /dev/rdisk/disk186&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Jun 2017 14:44:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6969646#M490279</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2017-06-30T14:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Root volume group Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6969653#M490280</link>
      <description>&lt;P&gt;Thank you very much, MK&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 15:42:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-volume-group-mirror/m-p/6969653#M490280</guid>
      <dc:creator>rescuehp17</dc:creator>
      <dc:date>2017-06-30T15:42:07Z</dc:date>
    </item>
  </channel>
</rss>

