<?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: Creating secondary swap on 11.31 - swapon errors in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277311#M549261</link>
    <description>Patrick-&lt;BR /&gt;&lt;BR /&gt;Omitting the "-t" option gives same error message.</description>
    <pubDate>Tue, 22 Mar 2011 09:02:05 GMT</pubDate>
    <dc:creator>Eric Yruegas</dc:creator>
    <dc:date>2011-03-22T09:02:05Z</dc:date>
    <item>
      <title>Creating secondary swap on 11.31 - swapon errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277305#M549255</link>
      <description>&lt;!--!*#--&gt;This procedure has been used many times in my environment on 11.31 servers - but I have to newer ones that are giving me bizarre errors.&lt;BR /&gt;&lt;BR /&gt;Below is a capture of the session... swapon error is at the bottom.  &lt;BR /&gt;&lt;BR /&gt;Any input is welcomed - I've got to be missing something here... this has worked on many other 11.31 machines...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01/group c 64 0x010000&lt;BR /&gt;# pvcreate -f /dev/rdsk/c6t8d5&lt;BR /&gt;Physical volume "/dev/rdsk/c6t8d5" has been successfully created.&lt;BR /&gt;# vgcreate -s 64 /dev/vg01 /dev/dsk/c6t8d5&lt;BR /&gt;Volume group "/dev/vg01" has been successfully created.&lt;BR /&gt;Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf&lt;BR /&gt;# lvcreate -C y -D n -s y -r n -L 32768 /dev/vg01 &lt;BR /&gt;Logical volume "/dev/vg01/lvol1" has been successfully created with&lt;BR /&gt;character device "/dev/vg01/rlvol1".&lt;BR /&gt;Logical volume "/dev/vg01/lvol1" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf&lt;BR /&gt;# swapon -p 1 -t dev /dev/vg01/lvol1&lt;BR /&gt;swapon: The device /dev/vg01/lvol1 is a VxVM or LVM disk,&lt;BR /&gt;        which prevents paging there.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Mar 2011 16:33:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277305#M549255</guid>
      <dc:creator>Eric Yruegas</dc:creator>
      <dc:date>2011-03-21T16:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating secondary swap on 11.31 - swapon errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277306#M549256</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;lvcreate -C y -D n -s y -r n -L 32768 /dev/vg01 &lt;BR /&gt;&lt;BR /&gt;This command did not specify a disk. That should not be a problem so long as there is only one disk in vg01.&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vg01&lt;BR /&gt;&lt;BR /&gt;lvdisplay -v /dev/vg1/lvol1&lt;BR /&gt;&lt;BR /&gt;Looks like you used lvm striping. You can not if I am correct do that for swap. device swap is better than file system swap.&lt;BR /&gt;&lt;BR /&gt;The problem is the lvcreate options.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 21 Mar 2011 18:47:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277306#M549256</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2011-03-21T18:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating secondary swap on 11.31 - swapon errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277307#M549257</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;@ SEP:  Looks like you used lvm striping.&lt;BR /&gt;&lt;BR /&gt;No, he didn't.  Re-read the manpages for 'lvcreate" and you will see that he specified (C)ontiguous allocation, _no_ (D)istributed allocation, (s)trict alloction and no (r)elocation of bad blocks.  This is correct for device swap.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 21 Mar 2011 18:54:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277307#M549257</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-03-21T18:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating secondary swap on 11.31 - swapon errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277308#M549258</link>
      <description>What happens if you omit the '-t' option to your swapon command?&lt;BR /&gt;&lt;BR /&gt;swapon -p 1 /dev/vg01/lvol1</description>
      <pubDate>Mon, 21 Mar 2011 19:14:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277308#M549258</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2011-03-21T19:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating secondary swap on 11.31 - swapon errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277309#M549259</link>
      <description>Your steps are seems to be right which I evaluated on my test server and found worked out.&lt;BR /&gt;&lt;BR /&gt;I could suggest, if you destroy the VG, rmsf the device file of disk and recreate the same and test.&lt;BR /&gt;&lt;BR /&gt;Rgds...</description>
      <pubDate>Tue, 22 Mar 2011 05:13:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277309#M549259</guid>
      <dc:creator>P Arumugavel</dc:creator>
      <dc:date>2011-03-22T05:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating secondary swap on 11.31 - swapon errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277310#M549260</link>
      <description>Steven:  per your request-&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;VG Write Access             read/write     &lt;BR /&gt;VG Status                   available                 &lt;BR /&gt;Max LV                      255    &lt;BR /&gt;Cur LV                      1      &lt;BR /&gt;Open LV                     1      &lt;BR /&gt;Max PV                      16     &lt;BR /&gt;Cur PV                      1      &lt;BR /&gt;Act PV                      1      &lt;BR /&gt;Max PE per PV               1016         &lt;BR /&gt;VGDA                        2   &lt;BR /&gt;PE Size (Mbytes)            64              &lt;BR /&gt;Total PE                    544     &lt;BR /&gt;Alloc PE                    512     &lt;BR /&gt;Free PE                     32      &lt;BR /&gt;Total PVG                   0        &lt;BR /&gt;Total Spare PVs             0              &lt;BR /&gt;Total Spare PVs in use      0                     &lt;BR /&gt;VG Version                  1.0       &lt;BR /&gt;VG Max Size                 1016g      &lt;BR /&gt;VG Max Extents              16256         &lt;BR /&gt;&lt;BR /&gt;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vg01/lvol1&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            32768           &lt;BR /&gt;   Current LE                  512       &lt;BR /&gt;   Allocated PE                512         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c6t8d5&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    544     &lt;BR /&gt;   Free PE                     32      &lt;BR /&gt;   Autoswitch                  On        &lt;BR /&gt;   Proactive Polling           On               &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# lvdisplay -v /dev/vg01/lvol1&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg01/lvol1&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;LV Permission               read/write       &lt;BR /&gt;LV Status                   available/syncd           &lt;BR /&gt;Mirror copies               0            &lt;BR /&gt;Consistency Recovery        MWC                 &lt;BR /&gt;Schedule                    parallel      &lt;BR /&gt;LV Size (Mbytes)            32768           &lt;BR /&gt;Current LE                  512       &lt;BR /&gt;Allocated PE                512         &lt;BR /&gt;Stripes                     0       &lt;BR /&gt;Stripe Size (Kbytes)        0                   &lt;BR /&gt;Bad block                   off          &lt;BR /&gt;Allocation                  strict/contiguous         &lt;BR /&gt;IO Timeout (Seconds)        default             &lt;BR /&gt;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name                 LE on PV  PE on PV  &lt;BR /&gt;   /dev/dsk/c6t8d5         512       512       &lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                     PE1   Status 1 &lt;BR /&gt;   00000 /dev/dsk/c6t8d5         00000 current  &lt;BR /&gt;   00001 /dev/dsk/c6t8d5         00001 current  &lt;BR /&gt;   00002 /dev/dsk/c6t8d5         00002 current  &lt;BR /&gt;   00003 /dev/dsk/c6t8d5         00003 current  &lt;BR /&gt;   00004 /dev/dsk/c6t8d5         00004 current  &lt;BR /&gt;{snip}&lt;BR /&gt;   00509 /dev/dsk/c6t8d5         00509 current  &lt;BR /&gt;   00510 /dev/dsk/c6t8d5         00510 current  &lt;BR /&gt;   00511 /dev/dsk/c6t8d5         00511 current  &lt;BR /&gt;</description>
      <pubDate>Tue, 22 Mar 2011 09:01:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277310#M549260</guid>
      <dc:creator>Eric Yruegas</dc:creator>
      <dc:date>2011-03-22T09:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating secondary swap on 11.31 - swapon errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277311#M549261</link>
      <description>Patrick-&lt;BR /&gt;&lt;BR /&gt;Omitting the "-t" option gives same error message.</description>
      <pubDate>Tue, 22 Mar 2011 09:02:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277311#M549261</guid>
      <dc:creator>Eric Yruegas</dc:creator>
      <dc:date>2011-03-22T09:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating secondary swap on 11.31 - swapon errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277312#M549262</link>
      <description>Mr Arumugavel-&lt;BR /&gt;&lt;BR /&gt;Removal of device files/VG and recreating have no effect.</description>
      <pubDate>Tue, 22 Mar 2011 09:07:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277312#M549262</guid>
      <dc:creator>Eric Yruegas</dc:creator>
      <dc:date>2011-03-22T09:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating secondary swap on 11.31 - swapon errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277313#M549263</link>
      <description>To followup - one point I didn't mention (and turns out to be relevant) was that the disks were SAN LUNs... not local-attached SCSI disks.&lt;BR /&gt;&lt;BR /&gt;Turns out there were some HBA flags that were not set when the mapping/masking of the LUNs to the server.&lt;BR /&gt;&lt;BR /&gt;Once that was fixed, all was well.</description>
      <pubDate>Wed, 30 Mar 2011 13:52:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277313#M549263</guid>
      <dc:creator>Eric Yruegas</dc:creator>
      <dc:date>2011-03-30T13:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Creating secondary swap on 11.31 - swapon errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277314#M549264</link>
      <description>SAN HBA mapping/masking flags not properly set during allocation of SAN LUNs used.</description>
      <pubDate>Wed, 30 Mar 2011 13:54:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-secondary-swap-on-11-31-swapon-errors/m-p/5277314#M549264</guid>
      <dc:creator>Eric Yruegas</dc:creator>
      <dc:date>2011-03-30T13:54:28Z</dc:date>
    </item>
  </channel>
</rss>

