<?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 swap problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/2839676#M939097</link>
    <description>I have a server which give a strange message during startup&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/vg02/lvswap02.&lt;BR /&gt;/usr/sbin/swapon: Device /dev/vg02/lvswap02 contains a file system.&lt;BR /&gt;        The system will page in the space after the end of the file system.&lt;BR /&gt;        Add `end' to the options field in /etc/fstab to turn off this warning.&lt;BR /&gt;/usr/sbin/swapon: The kernel tunable parameter "maxswapchunks" needs to be increased to add&lt;BR /&gt;        paging on device /dev/vg02/lvswap02.&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;I have checked the maxswapchunk parameter, 8000 should be sufficient for 16GB of swap space.&lt;BR /&gt;&lt;BR /&gt;The primary lvol2 swap seem to be okay.  The only problem is the other swap in vg02 when I use swapon /dev/vg02/lvswap02, I will get this error&lt;BR /&gt;&lt;BR /&gt;swapon: Device /dev/vg02/lvswap02 contains a file system.&lt;BR /&gt;        Use -e to page after the end of the file system, or -f to overwrite&lt;BR /&gt;        the file system with paging.</description>
    <pubDate>Wed, 06 Nov 2002 08:37:21 GMT</pubDate>
    <dc:creator>kholikt</dc:creator>
    <dc:date>2002-11-06T08:37:21Z</dc:date>
    <item>
      <title>swap problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/2839676#M939097</link>
      <description>I have a server which give a strange message during startup&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/vg02/lvswap02.&lt;BR /&gt;/usr/sbin/swapon: Device /dev/vg02/lvswap02 contains a file system.&lt;BR /&gt;        The system will page in the space after the end of the file system.&lt;BR /&gt;        Add `end' to the options field in /etc/fstab to turn off this warning.&lt;BR /&gt;/usr/sbin/swapon: The kernel tunable parameter "maxswapchunks" needs to be increased to add&lt;BR /&gt;        paging on device /dev/vg02/lvswap02.&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;I have checked the maxswapchunk parameter, 8000 should be sufficient for 16GB of swap space.&lt;BR /&gt;&lt;BR /&gt;The primary lvol2 swap seem to be okay.  The only problem is the other swap in vg02 when I use swapon /dev/vg02/lvswap02, I will get this error&lt;BR /&gt;&lt;BR /&gt;swapon: Device /dev/vg02/lvswap02 contains a file system.&lt;BR /&gt;        Use -e to page after the end of the file system, or -f to overwrite&lt;BR /&gt;        the file system with paging.</description>
      <pubDate>Wed, 06 Nov 2002 08:37:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/2839676#M939097</guid>
      <dc:creator>kholikt</dc:creator>
      <dc:date>2002-11-06T08:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: swap problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/2839677#M939098</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;swapon has detected that the logical volume that you are trying to use used to contain a filesytem. This quite often happens when you reuse an area of disk.&lt;BR /&gt;&lt;BR /&gt;All you have to do to override this safety feature is to run swapon with the -f (force) flag (see man 1m swapon). This will overwrite the filesystem data and you won't get the error again.&lt;BR /&gt;&lt;BR /&gt;swapon -f /dev/vg02/lvswap02&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Wed, 06 Nov 2002 08:40:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/2839677#M939098</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-11-06T08:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: swap problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/2839678#M939099</link>
      <description>#swapon -f /dev/vg02/lvswap02 &lt;BR /&gt;&lt;BR /&gt;Then reboot the machine.&lt;BR /&gt;This should resolve it.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 06 Nov 2002 08:53:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/2839678#M939099</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-11-06T08:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: swap problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/2839679#M939100</link>
      <description>As to your maxswapchunk issue, maxswapchunk set to 8000 (with swchunk at the default 2048) allows up to 16384000 Mb of swap system wide. This is not a true 16Gb which requires maxswapchunk set to 8192, (16777216Mb).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Wed, 06 Nov 2002 08:54:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/2839679#M939100</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-11-06T08:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: swap problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/2839680#M939101</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can remove an create the lv again, to get rid of the filesystem on the lv. use lvremove and lvcreate. You do not have to go to runlevel 1 since the swapdevice is not in use.&lt;BR /&gt;&lt;BR /&gt;Goodluck,&lt;BR /&gt;Donald</description>
      <pubDate>Wed, 06 Nov 2002 08:56:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/2839680#M939101</guid>
      <dc:creator>Donald Kok</dc:creator>
      <dc:date>2002-11-06T08:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: swap problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/2839681#M939102</link>
      <description>There's no need to reboot the machine after swapon -f, you will if you want to increase maxswapchunks to 8192 though.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Wed, 06 Nov 2002 09:05:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/2839681#M939102</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-11-06T09:05:11Z</dc:date>
    </item>
  </channel>
</rss>

