<?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: remove primary swap in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991783#M422452</link>
    <description>Hi Bantul,&lt;BR /&gt;&lt;BR /&gt;Good day to you !&lt;BR /&gt;It's better you perform the replacement with downtime; cause when you replace the c0t6d0 the system will looking for the swap and since the swap is not there, the problem might be raise when you replace this harddisk.&lt;BR /&gt;&lt;BR /&gt;Try get the latest Ignite/UX backup AND/OR do the Ignite/UX backup first. At least you have a backup on your OS if worse scenario happened.&lt;BR /&gt;&lt;BR /&gt;The last but not least, good luck and the force always be with you.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW</description>
    <pubDate>Wed, 19 Jul 2006 03:58:07 GMT</pubDate>
    <dc:creator>Adisuria Wangsadinata_1</dc:creator>
    <dc:date>2006-07-19T03:58:07Z</dc:date>
    <item>
      <title>remove primary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991773#M422442</link>
      <description>guys,&lt;BR /&gt;&lt;BR /&gt;I have primary disk stale (unavailable in vgdisplay -v vg00). all lvol is mirrored but there are 2 lvol (/dev/vg00/lvol2 &amp;amp; /dev/vg00/lvol2copy) that doesn't mirrored.&lt;BR /&gt;/dev/vg00/lvol2 use /dev/dsk/c0t6d0&lt;BR /&gt;/dev/vg00/lvol2copy use /dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;I want to replace primary disk (c0t6d0) online! can I remove (reduce) primary swap (/dev/vg00/lvol2) and reduce all volume from disk that stale and replace with new disk ??&lt;BR /&gt;&lt;BR /&gt;bash-2.04# 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                      9&lt;BR /&gt;Open LV                     9&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)            8&lt;BR /&gt;Total PE                    8680&lt;BR /&gt;Alloc PE                    8680&lt;BR /&gt;Free PE                     0&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/stale&lt;BR /&gt;   LV Size (Mbytes)            1000&lt;BR /&gt;   Current LE                  125&lt;BR /&gt;   Allocated PE                250&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)            10720&lt;BR /&gt;   Current LE                  1340&lt;BR /&gt;   Allocated PE                1340&lt;BR /&gt;   Used PV                     1&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol3&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            2000&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/lvol4&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            1000&lt;BR /&gt;   Current LE                  125&lt;BR /&gt;   Allocated PE                250&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol5&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            4000&lt;BR /&gt;   Current LE                  500&lt;BR /&gt;   Allocated PE                1000&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol6&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            4000&lt;BR /&gt;   Current LE                  500&lt;BR /&gt;   Allocated PE                1000&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol7&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            4000&lt;BR /&gt;   Current LE                  500&lt;BR /&gt;   Allocated PE                1000&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol8&lt;BR /&gt;   LV Status                   available/stale&lt;BR /&gt;   LV Size (Mbytes)            8000&lt;BR /&gt;   Current LE                  1000&lt;BR /&gt;   Allocated PE                2000&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol2copy&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            10720&lt;BR /&gt;   Current LE                  1340&lt;BR /&gt;   Allocated PE                1340&lt;BR /&gt;   Used PV                     1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c0t6d0&lt;BR /&gt;   PV Status                   unavailable&lt;BR /&gt;   Total PE                    4340&lt;BR /&gt;   Free PE                     0&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c2t6d0&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;</description>
      <pubDate>Wed, 19 Jul 2006 02:32:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991773#M422442</guid>
      <dc:creator>yulianto piyut</dc:creator>
      <dc:date>2006-07-19T02:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: remove primary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991774#M422443</link>
      <description>Bantul,&lt;BR /&gt;please see thread:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1037771" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1037771&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jul 2006 02:39:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991774#M422443</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-07-19T02:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: remove primary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991775#M422444</link>
      <description>Hi Bantul,&lt;BR /&gt;&lt;BR /&gt;First thing before you replace your harddisk online is to make sure that your system have patches for Enable Online LVM Disk Replacement. Beside that, your harddisk must hot plugable.&lt;BR /&gt;&lt;BR /&gt;Check the url below :&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf" target="_blank"&gt;http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;FYI, the mirror configuration on your boot disk is a bad example since didnt include the primary swap. Better you think how to solve it in the future.&lt;BR /&gt;&lt;BR /&gt;Meanwhile, you can try to create another swap space as secondary swap on c2t6d0 with high priority. After that you can safely to replace the unavailable harddisk.&lt;BR /&gt;&lt;BR /&gt;The recommended way is to use Ignite/UX to restore the system and to make lvol2 mirrored also in c2t6d0.&lt;BR /&gt;&lt;BR /&gt;Hope this information can help you.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW</description>
      <pubDate>Wed, 19 Jul 2006 02:44:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991775#M422444</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2006-07-19T02:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: remove primary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991776#M422445</link>
      <description>hmmm...&lt;BR /&gt;&lt;BR /&gt;I don't have OLR installed in my system. i already tested in my testing server that don't have OLR and success(all lvol is mirrored). for this case, my production server have swap that don't mirrored. i want to erase swap in primary disk ( bad disk) and replace with new disk ( disk is hot-swapable).  &lt;BR /&gt; can I do this ??</description>
      <pubDate>Wed, 19 Jul 2006 03:02:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991776#M422445</guid>
      <dc:creator>yulianto piyut</dc:creator>
      <dc:date>2006-07-19T03:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: remove primary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991777#M422446</link>
      <description>hello bantul&lt;BR /&gt;&lt;BR /&gt;i saw your vg00 configuration. what happen with your lvol2 or lvol2copy. This is not mirror disk. Please give me swapinfo output.&lt;BR /&gt;&lt;BR /&gt;if you want to remove lvol2 swap, i think if you have free space at alternate disk, you can mirror lvol2 to alternate disk and remove mirror at primary disk. &lt;BR /&gt;&lt;BR /&gt;to remove lvol2 i think you need restart for do that.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;freddy</description>
      <pubDate>Wed, 19 Jul 2006 03:03:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991777#M422446</guid>
      <dc:creator>freddy_21</dc:creator>
      <dc:date>2006-07-19T03:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: remove primary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991778#M422447</link>
      <description>freddy,&lt;BR /&gt;&lt;BR /&gt;lvol2 and lvol2copy are not mirrored and both use as swap. I have no free space in secondary disk. u can check in vgdisplay output.&lt;BR /&gt;&lt;BR /&gt;$ sudo /usr/sbin/lvlnboot -v&lt;BR /&gt;lvlnboot: LIF information corrupt or not present on  "/dev/dsk/c0t6d0".&lt;BR /&gt;Use the "mkboot" command to initialize the LIF area.&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 (0/0/0/2/0.6.0)&lt;BR /&gt;        /dev/dsk/c2t6d0 (0/0/0/3/0.6.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c0t6d0&lt;BR /&gt;                        /dev/dsk/c2t6d0&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c0t6d0&lt;BR /&gt;                        /dev/dsk/c2t6d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c0t6d0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c0t6d0, 0&lt;BR /&gt;&lt;BR /&gt;Current path "/dev/dsk/c10t0d0" is an alternate link, skip.&lt;BR /&gt;lvlnboot: Volume group not activated.&lt;BR /&gt;Cannot display volume group "/dev/vgs1".&lt;BR /&gt;lvlnboot: Volume group not activated.&lt;BR /&gt;Cannot display volume group "/dev/vgs2".&lt;BR /&gt;Current path "/dev/dsk/c8t0d3" is an alternate link, skip.&lt;BR /&gt;Current path "/dev/dsk/c10t0d4" is an alternate link, skip.&lt;BR /&gt;&lt;BR /&gt;$ sudo /usr/sbin/swapinfo -atm&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev       10720       0   10720    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev       10720       0   10720    0%       0       -    1  /dev/vg00/lvol2copy&lt;BR /&gt;reserve       -    6328   -6328&lt;BR /&gt;memory    13020    6435    6585   49%&lt;BR /&gt;total     34460   12763   21697   37%       -       0    -&lt;BR /&gt;&lt;BR /&gt;$ sudo strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c0t6d0&lt;BR /&gt;/dev/dsk/c2t6d0&lt;BR /&gt;/dev/vgs0&lt;BR /&gt;/dev/dsk/c8t0d0&lt;BR /&gt;/dev/dsk/c10t0d0&lt;BR /&gt;/dev/vgs1&lt;BR /&gt;/dev/dsk/c10t0d1&lt;BR /&gt;/dev/dsk/c8t0d1&lt;BR /&gt;/dev/vgs2&lt;BR /&gt;/dev/dsk/c8t0d2&lt;BR /&gt;/dev/dsk/c10t0d2&lt;BR /&gt;/dev/vg01&lt;BR /&gt;/dev/dsk/c10t0d3&lt;BR /&gt;/dev/dsk/c8t0d3&lt;BR /&gt;/dev/vg02&lt;BR /&gt;/dev/dsk/c8t0d4&lt;BR /&gt;/dev/dsk/c10t0d4</description>
      <pubDate>Wed, 19 Jul 2006 03:09:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991778#M422447</guid>
      <dc:creator>yulianto piyut</dc:creator>
      <dc:date>2006-07-19T03:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: remove primary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991779#M422448</link>
      <description>I think you need restart to remove the swap.&lt;BR /&gt;&lt;BR /&gt;Strange for your configuration why your lvol2 and lvol2copy not in mirror.&lt;BR /&gt;&lt;BR /&gt;I suggest you to restart the server replace the primary disk and fix your swap.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;freddy</description>
      <pubDate>Wed, 19 Jul 2006 03:19:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991779#M422448</guid>
      <dc:creator>freddy_21</dc:creator>
      <dc:date>2006-07-19T03:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: remove primary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991780#M422449</link>
      <description>hi fred,&lt;BR /&gt;&lt;BR /&gt;can you give me suggestions why we must restart this server to remove swap in primary disk?&lt;BR /&gt;if we remove lvol2, OS will panic or crash ? u know, system still have swap in lvol2copy if lvol2 is removed.&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jul 2006 03:27:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991780#M422449</guid>
      <dc:creator>yulianto piyut</dc:creator>
      <dc:date>2006-07-19T03:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: remove primary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991781#M422450</link>
      <description>Hi Bantul,&lt;BR /&gt;&lt;BR /&gt;Any other space on other VG that can allocate the lvol2 &amp;amp; lvol2copy ? If yes, you can create it first temporary on other VG.&lt;BR /&gt;&lt;BR /&gt;For me, put 2 big lvol on 1 disk is not good, since the load on particular disk will be more. And put 2 big swap lvols on 1 disk and not mirror this lvols makes a future headache :-). So it's better you solve this one once for all.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW&lt;BR /&gt;&lt;BR /&gt;PS : Bantul near Jogjakarta, isnt it ? :-)</description>
      <pubDate>Wed, 19 Jul 2006 03:28:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991781#M422450</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2006-07-19T03:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: remove primary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991782#M422451</link>
      <description>hi adi,&lt;BR /&gt;&lt;BR /&gt;bantul is near jogjakarta..;) remember earthquake last month ? :(&lt;BR /&gt;&lt;BR /&gt;we have no free space in other VG. i know, lvol2 and lvol2copy is strange, i think my friend do it for add swapspace.no, we got a problem coz of this.we want to replace bad disk online. is it possible to do this with existing environment?? with not mirrored swap??&lt;BR /&gt;&lt;BR /&gt;plz, give a best solution and good document to support it.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jul 2006 03:38:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991782#M422451</guid>
      <dc:creator>yulianto piyut</dc:creator>
      <dc:date>2006-07-19T03:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: remove primary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991783#M422452</link>
      <description>Hi Bantul,&lt;BR /&gt;&lt;BR /&gt;Good day to you !&lt;BR /&gt;It's better you perform the replacement with downtime; cause when you replace the c0t6d0 the system will looking for the swap and since the swap is not there, the problem might be raise when you replace this harddisk.&lt;BR /&gt;&lt;BR /&gt;Try get the latest Ignite/UX backup AND/OR do the Ignite/UX backup first. At least you have a backup on your OS if worse scenario happened.&lt;BR /&gt;&lt;BR /&gt;The last but not least, good luck and the force always be with you.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW</description>
      <pubDate>Wed, 19 Jul 2006 03:58:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991783#M422452</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2006-07-19T03:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: remove primary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991784#M422453</link>
      <description>I agree with adi surya. contact your technical support to replace your vg00 disk.&lt;BR /&gt;&lt;BR /&gt;To troubleshooting this case, you need downtime. And fix your swap problem.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jul 2006 04:08:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991784#M422453</guid>
      <dc:creator>freddy_21</dc:creator>
      <dc:date>2006-07-19T04:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: remove primary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991785#M422454</link>
      <description>hi adi and dear freddy,&lt;BR /&gt;&lt;BR /&gt;thx for your kindness give me  solutions and suggestions. finally, to replace bad disk, we must takes time to restart server and will be reschedule next time depend on applications.</description>
      <pubDate>Wed, 19 Jul 2006 05:00:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991785#M422454</guid>
      <dc:creator>yulianto piyut</dc:creator>
      <dc:date>2006-07-19T05:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: remove primary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991786#M422455</link>
      <description>need reboot</description>
      <pubDate>Wed, 19 Jul 2006 09:03:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-primary-swap/m-p/4991786#M422455</guid>
      <dc:creator>yulianto piyut</dc:creator>
      <dc:date>2006-07-19T09:03:19Z</dc:date>
    </item>
  </channel>
</rss>

