<?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 Device swap in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap/m-p/3806340#M267423</link>
    <description>I want to add one hard disk to my servr. and want to use it as swap device.  I need to procedure to do that could anyone help me on this.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 15 Jun 2006 08:10:29 GMT</pubDate>
    <dc:creator>shruti_1</dc:creator>
    <dc:date>2006-06-15T08:10:29Z</dc:date>
    <item>
      <title>Device swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap/m-p/3806340#M267423</link>
      <description>I want to add one hard disk to my servr. and want to use it as swap device.  I need to procedure to do that could anyone help me on this.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jun 2006 08:10:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap/m-p/3806340#M267423</guid>
      <dc:creator>shruti_1</dc:creator>
      <dc:date>2006-06-15T08:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Device swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap/m-p/3806341#M267424</link>
      <description>The whole disc? Seems a bit extravagant.&lt;BR /&gt;&lt;BR /&gt;The easiest way is via SAM. Set up a new logical volume and set the use to swap rather than filesystem. But given that the smallest discs currently available are 36 Gb I would rethink - that is an awful lot of swap and potentially wasted disc space.&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Thu, 15 Jun 2006 08:17:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap/m-p/3806341#M267424</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2006-06-15T08:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Device swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap/m-p/3806342#M267425</link>
      <description>You really should add 2 disks and mirror them.  You REALLY need to have your swap space mirrored.  If the disk you add goes bad, there is a chance that your system could have severe problems.</description>
      <pubDate>Thu, 15 Jun 2006 08:25:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap/m-p/3806342#M267425</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-06-15T08:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Device swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap/m-p/3806343#M267426</link>
      <description>Shruti,&lt;BR /&gt;&lt;BR /&gt;As already advised by Patrick, you should look at adding 2 disks as swap should be mirrored so as to cater against failure of disk used by swap in which case there is high probability that the system will crash.&lt;BR /&gt;The steps would be&lt;BR /&gt;&lt;BR /&gt;Add the disks to the VG (Need not be vg00 can be any existing vg or a new VG. Assuming adding to new VG)&lt;BR /&gt;1. Create a VG&lt;BR /&gt; mkdir /dev/vgnew&lt;BR /&gt; mknod /dev/vgnew/group c 64 0xnn0000&lt;BR /&gt; (nn should be unique no. - check using ll /dev/*/group)&lt;BR /&gt; pvcreate /dev/rdsk/c?t?d? (pvcreate both disks)&lt;BR /&gt; vgcreate /dev/vgnew /dev/dsk/c?t?d? /dev/dsk/c?t?d?&lt;BR /&gt;2. create volume for swap&lt;BR /&gt;  lvcreate -L 1024 -n swapvol2 -C y -r n /dev/vgnew -s y -m 1 &lt;BR /&gt;3. add following line to /etc/fstab&lt;BR /&gt;/dev/vgnew/swapvol2 swap swap defaults 0 0&lt;BR /&gt;4. swapon -a &lt;BR /&gt;&lt;BR /&gt;Please let us know more details if your requirement is anything else.&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jun 2006 08:36:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap/m-p/3806343#M267426</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2006-06-15T08:36:07Z</dc:date>
    </item>
  </channel>
</rss>

