<?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 swap space (HPUX11.11) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626032#M553901</link>
    <description>Hi Mark,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Primary swap is on lvol2 which is mirrored (used PV = 2) with secondary swap on lvol9, lvol11, lvol12 and lvol13. Lvol9 and lvol12 are mirrored but lvol11 and lvol13 aren't. How do I get these two mirrored?&lt;BR /&gt;&lt;BR /&gt;your lvol12 is also not mirrored.&lt;BR /&gt;&lt;BR /&gt;LV Name /dev/vg00/lvol12&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;LV Size (Mbytes) 4500&lt;BR /&gt;Current LE 1125&lt;BR /&gt;Allocated PE 1125&lt;BR /&gt;Used PV 2&lt;BR /&gt;&lt;BR /&gt;Its showing used PV 2 bcoz it may possible that lv is spawn across the disk. If its mirrored allocated PE would be double of current LE.&lt;BR /&gt;&lt;BR /&gt;At present you don't have enough space in VG so you can't mirror these lv's.</description>
    <pubDate>Fri, 07 May 2010 12:25:05 GMT</pubDate>
    <dc:creator>atul2701</dc:creator>
    <dc:date>2010-05-07T12:25:05Z</dc:date>
    <item>
      <title>Mirroring swap space (HPUX11.11)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626023#M553892</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have created some additional swap devices on my machine and I am now trying to mirror them. The output for the volume group vg00 is as follows:&lt;BR /&gt;&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                      12&lt;BR /&gt;Open LV                     12&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               4350&lt;BR /&gt;VGDA                        4&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    8680&lt;BR /&gt;Alloc PE                    8598&lt;BR /&gt;Free PE                     82&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)            300&lt;BR /&gt;   Current LE                  75&lt;BR /&gt;   Allocated PE                150&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol2&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            2048&lt;BR /&gt;   Current LE                  512&lt;BR /&gt;   Allocated PE                1024&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol3&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            300&lt;BR /&gt;   Current LE                  75&lt;BR /&gt;   Allocated PE                150&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol4&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            1500&lt;BR /&gt;   Current LE                  375&lt;BR /&gt;   Allocated PE                750&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol5&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            3000&lt;BR /&gt;   Current LE                  750&lt;BR /&gt;   Allocated PE                1500&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol6&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            1000&lt;BR /&gt;   Current LE                  250&lt;BR /&gt;   Allocated PE                500&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol7&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            1500&lt;BR /&gt;   Current LE                  375&lt;BR /&gt;   Allocated PE                750&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol8&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            2548&lt;BR /&gt;   Current LE                  637&lt;BR /&gt;   Allocated PE                1274&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol9&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            1500&lt;BR /&gt;   Current LE                  375&lt;BR /&gt;   Allocated PE                750&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol11&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            2000&lt;BR /&gt;   Current LE                  500&lt;BR /&gt;   Allocated PE                500&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)            4500&lt;BR /&gt;   Current LE                  1125&lt;BR /&gt;   Allocated PE                1125&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol13&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            500&lt;BR /&gt;   Current LE                  125&lt;BR /&gt;   Allocated PE                125&lt;BR /&gt;   Used PV                     1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c1t2d0&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    4340&lt;BR /&gt;   Free PE                     0&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;   Proactive Polling           On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c2t2d0&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    4340&lt;BR /&gt;   Free PE                     82&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;   Proactive Polling           On&lt;BR /&gt;&lt;BR /&gt;Primary swap is on lvol2 which is mirrored (used PV = 2) with secondary swap on lvol9, lvol11, lvol12 and lvol13. Lvol9 and lvol12 are mirrored but lvol11 and lvol13 aren't. How do I get these two mirrored?&lt;BR /&gt;&lt;BR /&gt;Many thanks - Mark P.&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Apr 2010 10:13:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626023#M553892</guid>
      <dc:creator>Mark Parsons</dc:creator>
      <dc:date>2010-04-29T10:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring swap space (HPUX11.11)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626024#M553893</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I should be: &lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol11 /dev/dsk/c2t2d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol13 /dev/dsk/c2t2d0&lt;BR /&gt;&lt;BR /&gt;BUT you seem have no enough space in your "/dev/dsk/c2t2d0" disk : Free PE 82.&lt;BR /&gt;&lt;BR /&gt;You need 500 + 125 Free PE....&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Thu, 29 Apr 2010 10:22:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626024#M553893</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2010-04-29T10:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring swap space (HPUX11.11)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626025#M553894</link>
      <description>At the moment you cannot.&lt;BR /&gt;&lt;BR /&gt;Your disks are full.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;However, why creating up to 4 different swap spaces on the same disk???</description>
      <pubDate>Thu, 29 Apr 2010 10:27:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626025#M553894</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-04-29T10:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring swap space (HPUX11.11)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626026#M553895</link>
      <description>Swapinfo looks like this:&lt;BR /&gt;&lt;BR /&gt;# swapinfo&lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev     2097152       0 2097152    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev     1536000   56964 1479036    4%       0       -    0  /dev/vg00/lvol9&lt;BR /&gt;dev     2048000       0 2048000    0%       0       -    2  /dev/vg00/lvol11&lt;BR /&gt;dev     4608000       0 4608000    0%       0       -    3  /dev/vg00/lvol12&lt;BR /&gt;dev      512000   58456  453544   11%       0       -    0  /dev/vg00/lvol13&lt;BR /&gt;reserve       - 5739608 -5739608&lt;BR /&gt;memory  4952788  338620 4614168    7%&lt;BR /&gt;&lt;BR /&gt;If I was to delete the swap on lvol11, lvol12 and lvol13 how do I add this to secondary swap on lvol9.&lt;BR /&gt;Can you also let me know if my current priorities are correct.&lt;BR /&gt;&lt;BR /&gt;Many thanks - Mark P.</description>
      <pubDate>Thu, 29 Apr 2010 10:48:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626026#M553895</guid>
      <dc:creator>Mark Parsons</dc:creator>
      <dc:date>2010-04-29T10:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring swap space (HPUX11.11)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626027#M553896</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;remove "lvol11", "lvol12" and "lvol13" and create new unique lvol.&lt;BR /&gt;rgs,</description>
      <pubDate>Thu, 29 Apr 2010 10:51:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626027#M553896</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2010-04-29T10:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring swap space (HPUX11.11)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626028#M553897</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You have to comment out the lines in "/etc/fstab" for the logical volumes you want to stop acting as swap devices.(11-12-13-9) &lt;BR /&gt;Then you have to reboot the server to release these logical volumes from swap. Once it has be done, you can remove the logicals volumes 11-12-13-9. Then you can create the new lvol9 with the desired size and the needed options for swapping:&lt;BR /&gt;&lt;BR /&gt;(better if you create on differnt disk than primary swap disk)&lt;BR /&gt;# lvcreate -L "xxM" -n lvol9 -C y -r n /dev/vg00&lt;BR /&gt;# swapon -p "same_priority_as_primary_swap" /dev/vg00/lvol9&lt;BR /&gt;&lt;BR /&gt;It is better to have the same priority than the primary swap, because it gives advantage of round robin swapping and it is helpful&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Thu, 29 Apr 2010 10:58:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626028#M553897</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2010-04-29T10:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring swap space (HPUX11.11)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626029#M553898</link>
      <description>Hi R.O.&lt;BR /&gt;&lt;BR /&gt;I will still need to do an lvextend as well?&lt;BR /&gt;&lt;BR /&gt;Mark P.</description>
      <pubDate>Thu, 29 Apr 2010 11:40:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626029#M553898</guid>
      <dc:creator>Mark Parsons</dc:creator>
      <dc:date>2010-04-29T11:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring swap space (HPUX11.11)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626030#M553899</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;To do the mirror at the time of creating the new lvol, add the "-m 1" option:&lt;BR /&gt;&lt;BR /&gt;# lvcreate -L "xxM" -n lvol9 -m 1 -C y -r n /dev/vg00&lt;BR /&gt;&lt;BR /&gt;Or you can do the lvextend -m 1 if you did not mirrored when created.&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Thu, 29 Apr 2010 11:54:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626030#M553899</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2010-04-29T11:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring swap space (HPUX11.11)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626031#M553900</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 &lt;BR /&gt;&lt;BR /&gt;that command creates the mirror copies of the logical volume&lt;BR /&gt;m stands for mirror, the number stands for the number of copies.&lt;BR /&gt;&lt;BR /&gt;Without that step there is no mirror copy.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 29 Apr 2010 12:04:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626031#M553900</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-04-29T12:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring swap space (HPUX11.11)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626032#M553901</link>
      <description>Hi Mark,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Primary swap is on lvol2 which is mirrored (used PV = 2) with secondary swap on lvol9, lvol11, lvol12 and lvol13. Lvol9 and lvol12 are mirrored but lvol11 and lvol13 aren't. How do I get these two mirrored?&lt;BR /&gt;&lt;BR /&gt;your lvol12 is also not mirrored.&lt;BR /&gt;&lt;BR /&gt;LV Name /dev/vg00/lvol12&lt;BR /&gt;LV Status available/syncd&lt;BR /&gt;LV Size (Mbytes) 4500&lt;BR /&gt;Current LE 1125&lt;BR /&gt;Allocated PE 1125&lt;BR /&gt;Used PV 2&lt;BR /&gt;&lt;BR /&gt;Its showing used PV 2 bcoz it may possible that lv is spawn across the disk. If its mirrored allocated PE would be double of current LE.&lt;BR /&gt;&lt;BR /&gt;At present you don't have enough space in VG so you can't mirror these lv's.</description>
      <pubDate>Fri, 07 May 2010 12:25:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626032#M553901</guid>
      <dc:creator>atul2701</dc:creator>
      <dc:date>2010-05-07T12:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring swap space (HPUX11.11)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626033#M553902</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How does the 'swapon -p "same_priority_as_primary_swap" /dev/vg00/lvol9'&lt;BR /&gt;&lt;BR /&gt;Looking at the swapon /swapinfo man pages it says that the option after the '-p' should be a number.&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;&lt;BR /&gt;Mark P.&lt;BR /&gt;</description>
      <pubDate>Thu, 27 May 2010 08:39:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626033#M553902</guid>
      <dc:creator>Mark Parsons</dc:creator>
      <dc:date>2010-05-27T08:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring swap space (HPUX11.11)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626034#M553903</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;"How does the 'swapon -p "same_priority_as_primary_swap" /dev/vg00/lvol9'&lt;BR /&gt;&lt;BR /&gt;Looking at the swapon /swapinfo man pages it says that the option after the '-p' should be a number."&lt;BR /&gt;&lt;BR /&gt;Yes, that is a number. Replace "same_priority_as_primary_swap" by "1":&lt;BR /&gt;&lt;BR /&gt;'swapon -p 1 /dev/vg00/lvol9'&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Thu, 27 May 2010 08:54:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-swap-space-hpux11-11/m-p/4626034#M553903</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2010-05-27T08:54:25Z</dc:date>
    </item>
  </channel>
</rss>

