<?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 problem? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037729#M604501</link>
    <description>/dev/dsk/c2t0d0 is already a member of volume group vg00.&lt;BR /&gt;&lt;BR /&gt;The problem is: when /dev/rdsk/c2t0d0 was pvcreate'd the first time, it was done with "pvcreate /dev/rdsk/c2t0d0", not "pvcreate -B /dev/rdsk/c2t0d0". So there is no space for boot area in the beginning of c2t0d0, and mkboot cannot do anything about it.&lt;BR /&gt;&lt;BR /&gt;The PV status of c2t0d0 shows it's still not used, i.e. Total PE and Free PE are equal:&lt;BR /&gt;PV Name /dev/dsk/c2t0d0&lt;BR /&gt;PV Status available&lt;BR /&gt;Total PE 4374&lt;BR /&gt;Free PE 4374&lt;BR /&gt;Autoswitch On&lt;BR /&gt;&lt;BR /&gt;This means you can undo everything that's done to /dev/dsk/c2t0d0 so far without losing any data.&lt;BR /&gt;&lt;BR /&gt;vgreduce /dev/vg00 /dev/dsk/c2t0d0&lt;BR /&gt;pvremove /dev/rdsk/c2t0d0&lt;BR /&gt;&lt;BR /&gt;Now you can start over using your procedure.</description>
    <pubDate>Mon, 02 Apr 2007 02:16:43 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2007-04-02T02:16:43Z</dc:date>
    <item>
      <title>mirror problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037727#M604499</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have created mirror my physical boot disk, my systems info rp3440 &amp;amp; OS EOE ver. 11.23. Please see the below command what I have done:&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;root@wctdibkp [/]&lt;BR /&gt;# bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     589824  320304  267496   54% /&lt;BR /&gt;/dev/vg00/lvol1     314736   78272  204984   28% /stand&lt;BR /&gt;/dev/vg00/lvol8    4718592 2010856 2686640   43% /var&lt;BR /&gt;/dev/vg00/lvol11    131072   64985   61961   51% /var/opt/perf/datafiles&lt;BR /&gt;/dev/vg00/lvol10   4194304 2457983 1627819   60% /var/opt/omni&lt;BR /&gt;/dev/vg00/lvol9    2097152   16982 1950167    1% /var/adm/crash&lt;BR /&gt;/dev/vg00/lvol7    4194304 1705240 2469648   41% /usr&lt;BR /&gt;/dev/vg00/lvol4     524288  108352  412760   21% /tmp&lt;BR /&gt;/dev/vg00/lvol6    4194304 2614544 1567424   63% /opt&lt;BR /&gt;/dev/vg00/lvol12   2097152  843935 1174899   42% /opt/omni&lt;BR /&gt;/dev/vg00/lvol5     229376    8744  218968    4% /home&lt;BR /&gt;/dev/vg00/lvolappl 52428800 12469662 37461695   25% /appl&lt;BR /&gt;&lt;BR /&gt;root@wctdibkp [/]&lt;BR /&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                      13     &lt;BR /&gt;Open LV                     13     &lt;BR /&gt;Max PV                      16     &lt;BR /&gt;Cur PV                      2      &lt;BR /&gt;Act PV                      2      &lt;BR /&gt;Max PE per PV               4384         &lt;BR /&gt;VGDA                        4   &lt;BR /&gt;PE Size (Mbytes)            32              &lt;BR /&gt;Total PE                    8748    &lt;BR /&gt;Alloc PE                    2823    &lt;BR /&gt;Free PE                     5925    &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;&lt;BR /&gt;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vg00/lvol1&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            320             &lt;BR /&gt;   Current LE                  10        &lt;BR /&gt;   Allocated PE                10          &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol2&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            16384           &lt;BR /&gt;   Current LE                  512       &lt;BR /&gt;   Allocated PE                512         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol3&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            576             &lt;BR /&gt;   Current LE                  18        &lt;BR /&gt;   Allocated PE                18          &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol4&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            512             &lt;BR /&gt;   Current LE                  16        &lt;BR /&gt;   Allocated PE                16          &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol5&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            224             &lt;BR /&gt;   Current LE                  7         &lt;BR /&gt;   Allocated PE                7           &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol6&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            4096            &lt;BR /&gt;   Current LE                  128       &lt;BR /&gt;   Allocated PE                128         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol7&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            4096            &lt;BR /&gt;   Current LE                  128       &lt;BR /&gt;   Allocated PE                128         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol8&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            4608            &lt;BR /&gt;   Current LE                  144       &lt;BR /&gt;   Allocated PE                144         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol9&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            2048            &lt;BR /&gt;   Current LE                  64        &lt;BR /&gt;   Allocated PE                64          &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol10&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            4096            &lt;BR /&gt;   Current LE                  128       &lt;BR /&gt;   Allocated PE                128         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol11&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            128             &lt;BR /&gt;   Current LE                  4         &lt;BR /&gt;   Allocated PE                4           &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol12&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            2048            &lt;BR /&gt;   Current LE                  64        &lt;BR /&gt;   Allocated PE                64          &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvolappl&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            51200           &lt;BR /&gt;   Current LE                  1600      &lt;BR /&gt;   Allocated PE                1600        &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c2t1d0&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    4374    &lt;BR /&gt;   Free PE                     1551    &lt;BR /&gt;   Autoswitch                  On        &lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c2t0d0&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    4374    &lt;BR /&gt;   Free PE                     4374    &lt;BR /&gt;   Autoswitch                  On        &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@wctdibkp [/]&lt;BR /&gt;# ioscan -fnC disk&lt;BR /&gt;Class     I  H/W Path       Driver     S/W State   H/W Type     Description&lt;BR /&gt;============================================================================&lt;BR /&gt;disk      0  0/0/2/0.0.0.0  sdisk      CLAIMED     DEVICE       TEAC    DV-28E-N&lt;BR /&gt;                           /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0&lt;BR /&gt;disk      1  0/1/1/0.0.0    sdisk      CLAIMED     DEVICE       HP 146 GST3146707LC&lt;BR /&gt;                           /dev/dsk/c2t0d0   /dev/rdsk/c2t0d0&lt;BR /&gt;disk      2  0/1/1/0.1.0    sdisk      CLAIMED     DEVICE       HP 146 GST3146707LC&lt;BR /&gt;                           /dev/dsk/c2t1d0   /dev/rdsk/c2t1d0&lt;BR /&gt;&lt;BR /&gt;root@wctdibkp [/]&lt;BR /&gt;# strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c2t1d0&lt;BR /&gt;/dev/dsk/c2t0d0&lt;BR /&gt;&lt;BR /&gt;root@wctdibkp [/]&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/c2t1d0 (0/1/1/0.1.0) -- Boot Disk&lt;BR /&gt; /dev/dsk/c2t0d0 (0/1/1/0.0.0)&lt;BR /&gt;Boot: lvol1 on:  /dev/dsk/c2t1d0&lt;BR /&gt;Root: lvol3 on:  /dev/dsk/c2t1d0&lt;BR /&gt;Swap: lvol2 on:  /dev/dsk/c2t1d0&lt;BR /&gt;Dump: lvol2 on:  /dev/dsk/c2t1d0, 0&lt;BR /&gt;&lt;BR /&gt;root@wctdibkp [/]&lt;BR /&gt;# pvcreate -B /dev/rdsk/c2t0d0&lt;BR /&gt;pvcreate: The physical volume already belongs to a volume group&lt;BR /&gt;&lt;BR /&gt;root@wctdibkp [/]&lt;BR /&gt;# vgextend /dev/vg00 /dev/dsk/c2t0d0&lt;BR /&gt;vgextend: The physical volume "/dev/dsk/c2t0d0" is already recorded in the "/etc/lvmtab" file.&lt;BR /&gt;&lt;BR /&gt;root@wctdibkp [/]&lt;BR /&gt;# mkboot -a "hpux -lq (0/1/1/0.1.0;0)/stand/vmunix" /dev/rdsk/c2t1d0&lt;BR /&gt;&lt;BR /&gt;root@wctdibkp [/]&lt;BR /&gt;# mkboot -a "hpux -lq (0/1/1/0.0.0;0)/stand/vmunix" /dev/rdsk/c2t0d0&lt;BR /&gt;-a specified but no current boot area on /dev/rdsk/c2t0d0&lt;BR /&gt;&lt;BR /&gt;root@wctdibkp [/]&lt;BR /&gt;#&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Can you any one help me, how can I resolve above problem. &lt;BR /&gt;&lt;BR /&gt;Thanks--Yaqub.&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Apr 2007 01:29:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037727#M604499</guid>
      <dc:creator>YAQUB_1</dc:creator>
      <dc:date>2007-04-02T01:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037728#M604500</link>
      <description>Hi, &lt;BR /&gt;Your both the disk's are used for vg00 in this case you can't create a mirror disk.&lt;BR /&gt;confirm first what is the space you required for your logical volumes and try to create all the logical volume in the same disk then you can proceed to create a mirror disk.&lt;BR /&gt;&lt;BR /&gt;Your step's are right to create a mirror disk .</description>
      <pubDate>Mon, 02 Apr 2007 01:46:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037728#M604500</guid>
      <dc:creator>Jollyjet</dc:creator>
      <dc:date>2007-04-02T01:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037729#M604501</link>
      <description>/dev/dsk/c2t0d0 is already a member of volume group vg00.&lt;BR /&gt;&lt;BR /&gt;The problem is: when /dev/rdsk/c2t0d0 was pvcreate'd the first time, it was done with "pvcreate /dev/rdsk/c2t0d0", not "pvcreate -B /dev/rdsk/c2t0d0". So there is no space for boot area in the beginning of c2t0d0, and mkboot cannot do anything about it.&lt;BR /&gt;&lt;BR /&gt;The PV status of c2t0d0 shows it's still not used, i.e. Total PE and Free PE are equal:&lt;BR /&gt;PV Name /dev/dsk/c2t0d0&lt;BR /&gt;PV Status available&lt;BR /&gt;Total PE 4374&lt;BR /&gt;Free PE 4374&lt;BR /&gt;Autoswitch On&lt;BR /&gt;&lt;BR /&gt;This means you can undo everything that's done to /dev/dsk/c2t0d0 so far without losing any data.&lt;BR /&gt;&lt;BR /&gt;vgreduce /dev/vg00 /dev/dsk/c2t0d0&lt;BR /&gt;pvremove /dev/rdsk/c2t0d0&lt;BR /&gt;&lt;BR /&gt;Now you can start over using your procedure.</description>
      <pubDate>Mon, 02 Apr 2007 02:16:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037729#M604501</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2007-04-02T02:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037730#M604502</link>
      <description>Assalam-O-Alaiakum Yaqub,&lt;BR /&gt;&lt;BR /&gt;I agreed with matti,&lt;BR /&gt;&lt;BR /&gt;this is "/dev/dsk/c2t1d0" having your OS, but the disk"/dev/dsk/c2t0d0" is still free.&lt;BR /&gt; --- Physical volumes ---&lt;BR /&gt;PV Name /dev/dsk/c2t1d0&lt;BR /&gt;PV Status available&lt;BR /&gt;Total PE 4374&lt;BR /&gt;Free PE 1551&lt;BR /&gt;Autoswitch On&lt;BR /&gt;&lt;BR /&gt;PV Name /dev/dsk/c2t0d0&lt;BR /&gt;PV Status available&lt;BR /&gt;Total PE 4374&lt;BR /&gt;Free PE 4374&lt;BR /&gt;Autoswitch On &lt;BR /&gt;&lt;BR /&gt;So you can use vgreduce,pvremove commands to free this from VG00 and then add it according to what you are doing.&lt;BR /&gt;&lt;BR /&gt;Thanks and regards,&lt;BR /&gt;Asif Sharif</description>
      <pubDate>Mon, 02 Apr 2007 02:49:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037730#M604502</guid>
      <dc:creator>Asif Sharif</dc:creator>
      <dc:date>2007-04-02T02:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037731#M604503</link>
      <description># vgreduce /dev/vg00 /dev/dsk/c2t0d0&lt;BR /&gt;# pvcreate -fB /dev/rdsk/c2t0d0&lt;BR /&gt;# vgextend /dev/vg00 /dev/dsk/c2t0d0&lt;BR /&gt;# mkboot "hpux -lq" /dev/dsk/c2t0d0&lt;BR /&gt;&lt;BR /&gt;This will do.</description>
      <pubDate>Mon, 02 Apr 2007 03:26:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037731#M604503</guid>
      <dc:creator>Akram Shaik</dc:creator>
      <dc:date>2007-04-02T03:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037732#M604504</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Thanks all of your reply, I have resolve this issue following this command:&lt;BR /&gt;&lt;BR /&gt;# mkboot /dev/rdsk/c2t0d0&lt;BR /&gt;&lt;BR /&gt;# mkboot -a "hpux (0/1/1/0.1.0.0.0.0;0)/stand/vmunix" /dev/rdsk/c2t0d0&lt;BR /&gt;&lt;BR /&gt;But, now I am facing another problem, when I have executed below this command show the error massage:&lt;BR /&gt;&lt;BR /&gt;# lifcp /dev/dsk/c2t0d0&lt;BR /&gt;lifcp: AUTO       does not exist.&lt;BR /&gt;&lt;BR /&gt;Many thanks; I appreciate if anyone can answer my question.&lt;BR /&gt;&lt;BR /&gt;Regards-Yaqub.</description>
      <pubDate>Mon, 02 Apr 2007 04:10:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037732#M604504</guid>
      <dc:creator>YAQUB_1</dc:creator>
      <dc:date>2007-04-02T04:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037733#M604505</link>
      <description>Hi,&lt;BR /&gt;what is the boot string of the boot disk?&lt;BR /&gt;&lt;BR /&gt;Check with the command:&lt;BR /&gt;&lt;BR /&gt;lifcp /dev/rdsk/cXtXdX:AUTO -&lt;BR /&gt;&lt;BR /&gt;Also post the output of command:&lt;BR /&gt;&lt;BR /&gt;lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;setboot &lt;BR /&gt;</description>
      <pubDate>Mon, 02 Apr 2007 05:12:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037733#M604505</guid>
      <dc:creator>Jollyjet</dc:creator>
      <dc:date>2007-04-02T05:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037734#M604506</link>
      <description>Don't forget to actually mirror your logical volumes too :-) with &lt;BR /&gt;&lt;BR /&gt;for i in (all lvols)&lt;BR /&gt;do &lt;BR /&gt;lvextend -m 1 ${i} /dev/dsk/c2t0d0&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Apr 2007 04:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037734#M604506</guid>
      <dc:creator>Jarle Bjorgeengen</dc:creator>
      <dc:date>2007-04-04T04:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037735#M604507</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Thanks for all of your's contribution.&lt;BR /&gt;&lt;BR /&gt;Have a Nice Time,&lt;BR /&gt;&lt;BR /&gt;Regards-Yaqub</description>
      <pubDate>Thu, 05 Apr 2007 06:32:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5037735#M604507</guid>
      <dc:creator>YAQUB_1</dc:creator>
      <dc:date>2007-04-05T06:32:14Z</dc:date>
    </item>
  </channel>
</rss>

