<?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: replace new disk with swap in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-new-disk-with-swap/m-p/2703969#M58723</link>
    <description>Yes running swapon will do .. for example ..&lt;BR /&gt;&lt;BR /&gt;# swapon -p 1 /dev/vg02/lvol2&lt;BR /&gt;==&amp;gt; assuming priority 1</description>
    <pubDate>Tue, 16 Apr 2002 04:45:44 GMT</pubDate>
    <dc:creator>S.K. Chan</dc:creator>
    <dc:date>2002-04-16T04:45:44Z</dc:date>
    <item>
      <title>replace new disk with swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-new-disk-with-swap/m-p/2703968#M58722</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I am going to replace a disk on a test system and I was after some advice.  The disk is not mirrored.  The old physical volume had the following structure:&lt;BR /&gt;&lt;BR /&gt;/dev/vg02/lvol1 - 75 (Data)&lt;BR /&gt;/dev/vg02/lvol2 - 100 (Secondary swap)&lt;BR /&gt;/dev/vg02/lvol3 - 125 (Data)&lt;BR /&gt;/dev/vg02/lvol4 - 208 (Data)&lt;BR /&gt;&lt;BR /&gt;I know that when I replace the disk I have to restore the LVM header (vgcfgrestore) to get the same structure on the new disk.  I will then have to newfs the data file systems to restore the data from my backups.  My question is how do I handle swap?  Executing a vgcfgrestore will show me that /dev/vg02/lvol2 appears on the disk, however is it a case of simply running swapon, or is there another step involved.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;AC&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Apr 2002 04:36:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-new-disk-with-swap/m-p/2703968#M58722</guid>
      <dc:creator>Achille Costabile</dc:creator>
      <dc:date>2002-04-16T04:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: replace new disk with swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-new-disk-with-swap/m-p/2703969#M58723</link>
      <description>Yes running swapon will do .. for example ..&lt;BR /&gt;&lt;BR /&gt;# swapon -p 1 /dev/vg02/lvol2&lt;BR /&gt;==&amp;gt; assuming priority 1</description>
      <pubDate>Tue, 16 Apr 2002 04:45:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-new-disk-with-swap/m-p/2703969#M58723</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-04-16T04:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: replace new disk with swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-new-disk-with-swap/m-p/2703970#M58724</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Running swapon will be sufficient.&lt;BR /&gt;No further steps required.&lt;BR /&gt;&lt;BR /&gt;C.</description>
      <pubDate>Tue, 16 Apr 2002 05:04:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-new-disk-with-swap/m-p/2703970#M58724</guid>
      <dc:creator>Clemens van Everdingen</dc:creator>
      <dc:date>2002-04-16T05:04:41Z</dc:date>
    </item>
  </channel>
</rss>

