<?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: Urgent! Can  I allocate swap on other volume group besides root volume group? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539380#M649145</link>
    <description>Hi Zhao&lt;BR /&gt;&lt;BR /&gt;Please try using SAM , it will do the operation perfectly , if you are not confident doing it from the command line and it is very easy too. Incase you have ONLINE JFS installed then you can do it w/o rebooting the machine.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj</description>
    <pubDate>Tue, 12 Jun 2001 18:12:46 GMT</pubDate>
    <dc:creator>MANOJ SRIVASTAVA</dc:creator>
    <dc:date>2001-06-12T18:12:46Z</dc:date>
    <item>
      <title>Urgent! Can  I allocate swap on other volume group besides root volume group?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539374#M649139</link>
      <description>Anybody got an idea whether swap can be allocated on other volume group besides root volume group /dev/vg00?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Tue, 12 Jun 2001 08:15:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539374#M649139</guid>
      <dc:creator>Rashid Ali</dc:creator>
      <dc:date>2001-06-12T08:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent! Can  I allocate swap on other volume group besides root volume group?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539375#M649140</link>
      <description>yes,&lt;BR /&gt;make sure to create the lvol with&lt;BR /&gt;-C y -r n  &lt;BR /&gt;then swapon or add to /etc/fstab.&lt;BR /&gt;&lt;BR /&gt;The only problem you can possibly run into is booting into maintenance modes.  Apparently with systems with lots of mem, if pseudoswap id on and additional secondary swap is not activated. You cannot boot at all...&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Tue, 12 Jun 2001 08:22:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539375#M649140</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-06-12T08:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent! Can  I allocate swap on other volume group besides root volume group?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539376#M649141</link>
      <description>Hi there.&lt;BR /&gt;Yes, you can, if you set it as secondary swap.&lt;BR /&gt;/dev/vg00/lvol2 /swap   ignore sw,pri=1 0 1     # 2 GB Pri. Swap&lt;BR /&gt;/dev/vg09/lvol1 /swap   swap sw,pri=2 0 1       # 2 GB Sec. Swap&lt;BR /&gt;/dev/vg02/lvol6 ... swap pri=3 0 0&lt;BR /&gt;/dev/vg16/lvol1 ... swap pri=1 0 0&lt;BR /&gt;&lt;BR /&gt;This is an extract from /etc/fstab&lt;BR /&gt;Rgds&lt;BR /&gt;Alexander M. Ermes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jun 2001 08:24:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539376#M649141</guid>
      <dc:creator>Alexander M. Ermes</dc:creator>
      <dc:date>2001-06-12T08:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent! Can  I allocate swap on other volume group besides root volume group?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539377#M649142</link>
      <description>If you are using logical volumes, you may want to first attempt to extend the disk space allocated for the primary swap logical volume using the lvextend command or SAM. However, you will only succeed if disk space (physical extents) contiguous with the existing swap space is still available, which is unlikely. You must reboot the system for the changes to take effect.&lt;BR /&gt;&lt;BR /&gt;If contiguous disk space is not available, you will need to create a new contiguous logical volume for primary swap within the root volume group, the volume group that contains the root logical volume. You do not need to designate a specific disk. For example:&lt;BR /&gt;lvcreate -C y -L 48 -r n -n pswap /dev/vgroot&lt;BR /&gt;After creating a logical volume that will be used as primary swap, you will need to use lvlnboot (1M):&lt;BR /&gt;lvlnboot -s /dev/vgroot/pswap&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jun 2001 08:34:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539377#M649142</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-06-12T08:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent! Can  I allocate swap on other volume group besides root volume group?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539378#M649143</link>
      <description>A few tips:&lt;BR /&gt;&lt;BR /&gt;If you're going to create extra swap by hand (not via SAM), don't forget to increase the maxswapchunks kernel parameter as it determines how much swap space can actually be allocated by the system. If you add secondary swap via SAM, it will prompt you if you want to increase maxswapchunks as well.&lt;BR /&gt;&lt;BR /&gt;Also, it's advisable to make your secondary swap equally big as your primary swap and set the pri option in /etc/fstab to the same value. The OS will then alternately swap to your secondary and primary swap space, which is good for performance if the disks aren't connected to the same SCSI bus.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Vincent</description>
      <pubDate>Tue, 12 Jun 2001 08:53:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539378#M649143</guid>
      <dc:creator>Vincent Stedema</dc:creator>
      <dc:date>2001-06-12T08:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent! Can  I allocate swap on other volume group besides root volume group?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539379#M649144</link>
      <description>Yes You can set up "secondary" swap on volume groups other than vg00.&lt;BR /&gt;The only catch is that you will not be able to use this space as the "dump" space</description>
      <pubDate>Tue, 12 Jun 2001 18:00:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539379#M649144</guid>
      <dc:creator>Rasika Wije</dc:creator>
      <dc:date>2001-06-12T18:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent! Can  I allocate swap on other volume group besides root volume group?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539380#M649145</link>
      <description>Hi Zhao&lt;BR /&gt;&lt;BR /&gt;Please try using SAM , it will do the operation perfectly , if you are not confident doing it from the command line and it is very easy too. Incase you have ONLINE JFS installed then you can do it w/o rebooting the machine.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj</description>
      <pubDate>Tue, 12 Jun 2001 18:12:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539380#M649145</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2001-06-12T18:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent! Can  I allocate swap on other volume group besides root volume group?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539381#M649146</link>
      <description>Thank you so much for your advices.  I managed to create a secondary swap on volume group other than root VG. Here it is.&lt;BR /&gt;#swapinfo -tm&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev         704       0     704    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev         704       0     704    0%       0       -    1  /dev/vg13/lvol4&lt;BR /&gt;reserve       -     546    -546&lt;BR /&gt;memory      765     516     249   67%&lt;BR /&gt;total      2173    1062    1111   49%       -       0    -&lt;BR /&gt;But, From lvlnboot I noticed that this secondary swap was not assigned as dump.&lt;BR /&gt;Does it mean dump can only reside within root VG? There is some restriction such as swap/dump must be within first 2GB of physical volume.  Is that true?&lt;BR /&gt;&lt;BR /&gt;Regarding priority of swap, I run sam to check that the priority of both primary/secondary are set to 1.  But how come there is the difference in the following?&lt;BR /&gt;# grep swap /etc/fstab&lt;BR /&gt;/dev/vg00/lvol2 swap ignore sw 0 0&lt;BR /&gt;/dev/vg00/lvol2 ... swap pri=1 0 2  #why 2?&lt;BR /&gt;/dev/vg13/lvol4 ... swap pri=1 0 0&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jun 2001 00:04:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539381#M649146</guid>
      <dc:creator>Rashid Ali</dc:creator>
      <dc:date>2001-06-13T00:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent! Can  I allocate swap on other volume group besides root volume group?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539382#M649147</link>
      <description>&amp;gt; Does it mean dump can only reside within root VG?  &lt;BR /&gt;&lt;BR /&gt;In the shared design, that is correct.  Shared means that swap is also used as a dump area. The use of dump space is quite different on 11.0 however.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Regarding priority of swap, I run sam to check that the priority of both primary/secondary are set to 1. But how come there is the difference in the following? &lt;BR /&gt;&lt;BR /&gt;&amp;gt; # grep swap /etc/fstab &lt;BR /&gt;&amp;gt; /dev/vg00/lvol2 swap ignore sw 0 0 &lt;BR /&gt;&amp;gt; /dev/vg00/lvol2 ... swap pri=1 0 2 #why 2? &lt;BR /&gt;&amp;gt; /dev/vg13/lvol4 ... swap pri=1 0 0&lt;BR /&gt;&lt;BR /&gt;SAM has had an annying habit of creating meaningless backup and fsck pass numbers for swap areas. swap areas are normally raw partitions--there is no filesystem.  The pri=1 is all there is for swap areas. The rest of the numbers are ignored.</description>
      <pubDate>Wed, 13 Jun 2001 00:57:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539382#M649147</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-06-13T00:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent! Can  I allocate swap on other volume group besides root volume group?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539383#M649148</link>
      <description>The fact that dump cannot reside on other VG except Root VG  does not allow dump to share disk space with secondary swap when the swap is on VG other than root VG.  Thus I am getting the warning message  "WARNING: Insufficient space on dump device to sav&lt;BR /&gt;e full crashdump."  Previous, dump was sharing space with secondary swap(220MB) on root VG.  But the sufficient contiguous space is not available.   What can I do?   &lt;BR /&gt;Is there any way to move a disk from one VG into another VG such as root VG?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jun 2001 23:54:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-can-i-allocate-swap-on-other-volume-group-besides-root/m-p/2539383#M649148</guid>
      <dc:creator>Rashid Ali</dc:creator>
      <dc:date>2001-06-13T23:54:03Z</dc:date>
    </item>
  </channel>
</rss>

