<?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 fail to enable aux swap in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832859#M89308</link>
    <description>after a reboot, I had a FAIL on enable aux swap. swapon says all 3 are enabled, but rc.log reports the following: WHO do I believe??&lt;BR /&gt;&lt;BR /&gt;Enable auxiliary swap space&lt;BR /&gt;Output from "/sbin/rc1.d/S500swap_start start":&lt;BR /&gt;----------------------------&lt;BR /&gt;Enabling device paging on /dev/vg04/swap4.&lt;BR /&gt;Enabling device paging on /dev/vg00/lvol2.&lt;BR /&gt;/usr/sbin/swapon: /dev/vg00/lvol2 is already enabled for paging.&lt;BR /&gt;Enabling device paging on /dev/vg01/swap1.&lt;BR /&gt;Warning: swapon returned exit code: 1&lt;BR /&gt;"/sbin/rc1.d/S500swap_start start" FAILED&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 24 Oct 2002 16:06:47 GMT</pubDate>
    <dc:creator>Tina Waitherwerch</dc:creator>
    <dc:date>2002-10-24T16:06:47Z</dc:date>
    <item>
      <title>fail to enable aux swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832859#M89308</link>
      <description>after a reboot, I had a FAIL on enable aux swap. swapon says all 3 are enabled, but rc.log reports the following: WHO do I believe??&lt;BR /&gt;&lt;BR /&gt;Enable auxiliary swap space&lt;BR /&gt;Output from "/sbin/rc1.d/S500swap_start start":&lt;BR /&gt;----------------------------&lt;BR /&gt;Enabling device paging on /dev/vg04/swap4.&lt;BR /&gt;Enabling device paging on /dev/vg00/lvol2.&lt;BR /&gt;/usr/sbin/swapon: /dev/vg00/lvol2 is already enabled for paging.&lt;BR /&gt;Enabling device paging on /dev/vg01/swap1.&lt;BR /&gt;Warning: swapon returned exit code: 1&lt;BR /&gt;"/sbin/rc1.d/S500swap_start start" FAILED&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Oct 2002 16:06:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832859#M89308</guid>
      <dc:creator>Tina Waitherwerch</dc:creator>
      <dc:date>2002-10-24T16:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: fail to enable aux swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832860#M89309</link>
      <description>The error is with your primary swap I think. Take a look at /etc/fstab file and check if /dev/vg00/lvol2 is in that file. If it is, delete that entry. Primary swap should not be in /etc/fstab. What happened is swap_start is trying to enable an already-enabled swap (ie the primary swap /dev/vg00/lvol2).</description>
      <pubDate>Thu, 24 Oct 2002 16:14:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832860#M89309</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-10-24T16:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: fail to enable aux swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832861#M89310</link>
      <description>Yes, /dev/vg00/lvol2 was in /etc/fstab!  I removed it, but won't be able to reboot until this weekend.  Thank you for your help.</description>
      <pubDate>Thu, 24 Oct 2002 16:18:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832861#M89310</guid>
      <dc:creator>Tina Waitherwerch</dc:creator>
      <dc:date>2002-10-24T16:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: fail to enable aux swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832862#M89311</link>
      <description>Not a problem, you don't even have to reboot at all.</description>
      <pubDate>Thu, 24 Oct 2002 16:25:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832862#M89311</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-10-24T16:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: fail to enable aux swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832863#M89312</link>
      <description>Do a "lvlnboot -v". It should show swap on lvol2. This is your primary swap and is enabled during the boot. Your S500swap_start is trying to enable it again. Look at the script and see where it is getting the info for enabling swap. Delete the entry for lvol2.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Thu, 24 Oct 2002 16:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832863#M89312</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-10-24T16:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: fail to enable aux swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832864#M89313</link>
      <description>Hi Tina,&lt;BR /&gt;&lt;BR /&gt;SK's correct you shouldn't have to reboot.&lt;BR /&gt;Just run  swapinfo  and verify the lvol2 swap device is listed.&lt;BR /&gt;You just needed to edit /etc/fstab &amp;amp; remove it's entry to avoid the "error" message.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 24 Oct 2002 16:35:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832864#M89313</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-10-24T16:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: fail to enable aux swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832865#M89314</link>
      <description>Okay, the lvlnboot -v looked good, but when I do a dmesg, the size for swap is 2gb, but I have 3 swap spaces of 1024gb each = 3gb??? Please translate.&lt;BR /&gt;Swap device table:  (start &amp;amp; size given in 512-byte blocks)&lt;BR /&gt;     entry 0 - major is 64, minor is 0x2; start = 0, size = 2097152&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Oct 2002 16:50:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832865#M89314</guid>
      <dc:creator>Tina Waitherwerch</dc:creator>
      <dc:date>2002-10-24T16:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: fail to enable aux swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832866#M89315</link>
      <description>The "dmesg" output ONLY shows you the primary swap configured. Use ..&lt;BR /&gt;# swapinfo -ta&lt;BR /&gt;to see all of your swap configured. In your case the 2097152 you see in dmesg is actually 2097152/2=1048576 which should match the primary swap in ..&lt;BR /&gt;# swapinfo -ta&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Oct 2002 16:58:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fail-to-enable-aux-swap/m-p/2832866#M89315</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-10-24T16:58:04Z</dc:date>
    </item>
  </channel>
</rss>

