<?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 volume problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641217#M43705</link>
    <description />
    <pubDate>Wed, 09 Jan 2002 09:56:44 GMT</pubDate>
    <dc:creator>Manuel G</dc:creator>
    <dc:date>2002-01-09T09:56:44Z</dc:date>
    <item>
      <title>Swap volume problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641217#M43705</link>
      <description />
      <pubDate>Wed, 09 Jan 2002 09:56:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641217#M43705</guid>
      <dc:creator>Manuel G</dc:creator>
      <dc:date>2002-01-09T09:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Swap volume problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641218#M43706</link>
      <description>Hi &lt;BR /&gt;Firs of all increasing swap is hard to do because it have to be continious, so your firs swap is on 2nd lvol, so after lvol2 already exist lvol3. The best method is to add second swap.&lt;BR /&gt;To add second swap use SAM is the simplest method.&lt;BR /&gt;&lt;BR /&gt;hope it help You</description>
      <pubDate>Wed, 09 Jan 2002 10:06:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641218#M43706</guid>
      <dc:creator>Sebastian Galeski_1</dc:creator>
      <dc:date>2002-01-09T10:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Swap volume problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641219#M43707</link>
      <description>Just supply the -f flag to swapon.&lt;BR /&gt;&lt;BR /&gt;It's warning you that the diskspace that you intend to use contains a filesystem.&lt;BR /&gt;&lt;BR /&gt;See man 1m swapon fro details.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Wed, 09 Jan 2002 10:08:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641219#M43707</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-01-09T10:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Swap volume problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641220#M43708</link>
      <description>you once had a file system on this newly created logical volume&lt;BR /&gt;lvcreate does not!!  format you logical volume.&lt;BR /&gt;now swapon seen that there is an existing file system on this lvol.&lt;BR /&gt;No problem to use this as a swap volume if you are sure you created your lvol fine&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;rainer&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jan 2002 10:14:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641220#M43708</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2002-01-09T10:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Swap volume problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641221#M43709</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;swapon -e -f -p 1 -u /dev/vg00/swap2&lt;BR /&gt;should work.&lt;BR /&gt;After this make an entry in /etc/fstab</description>
      <pubDate>Wed, 09 Jan 2002 13:48:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641221#M43709</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-01-09T13:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Swap volume problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641222#M43710</link>
      <description>I also saw from your output of pvdisplay c2t5d0 that /dev/vg00/lvswap2 is not on that drive.&lt;BR /&gt;&lt;BR /&gt;From looking at you lvcreate command you did not specify a drive. It is possible that lvswap2 is on a different drive then c2t5d0.&lt;BR /&gt;&lt;BR /&gt;What do you get when you do a &lt;BR /&gt;lvdisplay -v /dev/vg00/lvswap2?&lt;BR /&gt;&lt;BR /&gt;In either case there once was a filesystem on the drive /dev/vg00/lvswap2 is on.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jan 2002 14:05:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641222#M43710</guid>
      <dc:creator>Krishna Prasad</dc:creator>
      <dc:date>2002-01-09T14:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Swap volume problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641223#M43711</link>
      <description>Just for clarifying:&lt;BR /&gt;&lt;BR /&gt;Ron:&lt;BR /&gt;&lt;BR /&gt;pvdisplay info. attached was reported before creating swap2 lvol.&lt;BR /&gt;&lt;BR /&gt;For all:&lt;BR /&gt;&lt;BR /&gt;If swap2 is a new lvol how could it any file system on it before???????&lt;BR /&gt;&lt;BR /&gt;Do you think is safe to use -f option?&lt;BR /&gt;&lt;BR /&gt;Thanks to all.</description>
      <pubDate>Wed, 09 Jan 2002 18:07:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641223#M43711</guid>
      <dc:creator>Manuel G</dc:creator>
      <dc:date>2002-01-09T18:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Swap volume problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641224#M43712</link>
      <description>Hello Manuel,&lt;BR /&gt;&lt;BR /&gt;just by creating a new LV you do actually NOT write that much to the disk drive(s) - and NOTHING to the place allocated to the new LV!&lt;BR /&gt;Hence, if those sectors were used by the (beginning) of another LV (which did contain a file-system), those sectors STILL contain it! And when "swapon" read the first block from that LV, it gets the former "super-block" of the previous file-system - and complains!&lt;BR /&gt;Exactly for those cases you have the force option (-f).&lt;BR /&gt;&lt;BR /&gt;The other problem is much more difficult - your kernel can only address as much space as given as the product of the kernel parameters "maxswapchunks" times "swchunksize" (usually 2MB each). You will have to generate a new kernel with those parameters increased - in m opinion it is always safer to have about 25% more swap space addressable as used. Only then you can add swap-space online without downtime (a new kernel needs a reboot to start working).&lt;BR /&gt;&lt;BR /&gt;Just my ???0.02,&lt;BR /&gt;Wodisc</description>
      <pubDate>Wed, 09 Jan 2002 18:42:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641224#M43712</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2002-01-09T18:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Swap volume problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641225#M43713</link>
      <description>The disk area that your new swap volume occupies must have held a filesystem at some time. lvcreate doesn't overwrite the contents of the volume in any way.&lt;BR /&gt;&lt;BR /&gt;Did you have another volume starting at the same point on the disk before?&lt;BR /&gt;&lt;BR /&gt;swapon is just being extra careful before overwriting what it thinks could be a valid filesystem. It's perfectly acceptable to use the -f option and quite safe.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Wed, 09 Jan 2002 18:46:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-volume-problem/m-p/2641225#M43713</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-01-09T18:46:20Z</dc:date>
    </item>
  </channel>
</rss>

