<?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 swapconf: no primary swap configured in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628411#M40441</link>
    <description>Hello all!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;We've got a strange problem here. Well, it's self invited ofcourse due to sheer accident. Anyhow, the baseline is, I forgot to &lt;BR /&gt;lvlnboot  and set up the primary swap before rebootting :( It was a mistake.. had been a long day, so please don't flame me! &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;my question is: while in ISL , I believe there is a "-a" option in the hpux bootstrap command which can pass the kernel config for swap, boot console or root. Can anybody tell me how i can user this param to enable swap space at startup. &lt;BR /&gt;&lt;BR /&gt;a few important observations:&lt;BR /&gt;disk is c0t5d0&lt;BR /&gt;swap is /dev/vg00/lvol2 in the lvm config&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you. &lt;BR /&gt;&lt;BR /&gt;Mayank</description>
    <pubDate>Mon, 10 Dec 2001 11:16:55 GMT</pubDate>
    <dc:creator>Mayank_1</dc:creator>
    <dc:date>2001-12-10T11:16:55Z</dc:date>
    <item>
      <title>swapconf: no primary swap configured</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628411#M40441</link>
      <description>Hello all!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;We've got a strange problem here. Well, it's self invited ofcourse due to sheer accident. Anyhow, the baseline is, I forgot to &lt;BR /&gt;lvlnboot  and set up the primary swap before rebootting :( It was a mistake.. had been a long day, so please don't flame me! &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;my question is: while in ISL , I believe there is a "-a" option in the hpux bootstrap command which can pass the kernel config for swap, boot console or root. Can anybody tell me how i can user this param to enable swap space at startup. &lt;BR /&gt;&lt;BR /&gt;a few important observations:&lt;BR /&gt;disk is c0t5d0&lt;BR /&gt;swap is /dev/vg00/lvol2 in the lvm config&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you. &lt;BR /&gt;&lt;BR /&gt;Mayank</description>
      <pubDate>Mon, 10 Dec 2001 11:16:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628411#M40441</guid>
      <dc:creator>Mayank_1</dc:creator>
      <dc:date>2001-12-10T11:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: swapconf: no primary swap configured</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628412#M40442</link>
      <description>hpux -aS &lt;DEVICE file=""&gt;&lt;/DEVICE&gt;</description>
      <pubDate>Mon, 10 Dec 2001 11:22:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628412#M40442</guid>
      <dc:creator>Phil Daws_2</dc:creator>
      <dc:date>2001-12-10T11:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: swapconf: no primary swap configured</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628413#M40443</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;you have to type:&lt;BR /&gt;&lt;BR /&gt;hpux -aS (device_path)&lt;BR /&gt;&lt;BR /&gt;This is used to override default devices in the kernel.  you can specify root, console, swap or dump.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Vince</description>
      <pubDate>Mon, 10 Dec 2001 11:27:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628413#M40443</guid>
      <dc:creator>Vincent Farrugia</dc:creator>
      <dc:date>2001-12-10T11:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: swapconf: no primary swap configured</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628414#M40444</link>
      <description>Phil, Vince:&lt;BR /&gt;&lt;BR /&gt;Thanx for replying. I do know about the syntax. My real problem is what exactly is "devicefile". is it /dev/vg00/lvol6 ?</description>
      <pubDate>Mon, 10 Dec 2001 11:41:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628414#M40444</guid>
      <dc:creator>Mayank_1</dc:creator>
      <dc:date>2001-12-10T11:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: swapconf: no primary swap configured</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628415#M40445</link>
      <description>Hello again,&lt;BR /&gt;&lt;BR /&gt;Basically it is the hardware path of the harddisk.&lt;BR /&gt;&lt;BR /&gt;An example might me 44.5.0;0.&lt;BR /&gt;&lt;BR /&gt;Do a sea to check the hardware path of the harddisk you wish.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Vince</description>
      <pubDate>Mon, 10 Dec 2001 11:53:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628415#M40445</guid>
      <dc:creator>Vincent Farrugia</dc:creator>
      <dc:date>2001-12-10T11:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: swapconf: no primary swap configured</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628416#M40446</link>
      <description>This is only a guess, but I would say that its looking for the hardware path to the swap device.  E.g. I would try:&lt;BR /&gt;&lt;BR /&gt;hpux -aS (;2)&lt;BR /&gt;&lt;BR /&gt;i.e. swap is on section 2 of the boot disk.  But his is just a guess.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Mon, 10 Dec 2001 11:56:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628416#M40446</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-12-10T11:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: swapconf: no primary swap configured</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628417#M40447</link>
      <description>Hello there,&lt;BR /&gt;&lt;BR /&gt;I see that nobody is really sure about the device path untill now. Don't try and guess because you could overwrite your root filesystem.&lt;BR /&gt;&lt;BR /&gt;Therfor, another way to solve this : Do you have your install &amp;amp; recovery media ? If so, you can boot from it, and choose the option to start a recovery shell. From there, you can choose the option to "chroot to LVM disk" (option "c" I have on my documentation, then option "x" and follow the instructions). From that point on, you can activate your root volumegroup (vgchange -a y /dev/vg???) and then run lvlnboot -s /dev/vg??/??? to configure your swap.&lt;BR /&gt;&lt;BR /&gt;It's a longer procedure, but it's a little more sure to do no harm.</description>
      <pubDate>Mon, 10 Dec 2001 12:31:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628417#M40447</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2001-12-10T12:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: swapconf: no primary swap configured</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628418#M40448</link>
      <description>My suggestion is to boot into maintenance mode, perform the lvlnboot command, then reboot normally.  ie:&lt;BR /&gt;&lt;BR /&gt;ISL&amp;gt; hpux -lm&lt;BR /&gt;:&lt;BR /&gt;# vgchange -a y /dev/vg00&lt;BR /&gt;# lvlnboot -s &lt;SWAP lvol=""&gt; /dev/vg00&lt;BR /&gt;# reboot&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve&lt;BR /&gt;&lt;/SWAP&gt;</description>
      <pubDate>Mon, 10 Dec 2001 12:40:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628418#M40448</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2001-12-10T12:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: swapconf: no primary swap configured</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628419#M40449</link>
      <description>first of all, thank you all folks for replying.&lt;BR /&gt;&lt;BR /&gt;and here is the status: As Win notes, nobody is really sure and whatever guesses i've tried have not worked. a google search on this problem took me here:&lt;BR /&gt;&lt;A href="http://aa11.cjb.net/hpux_admin/2001/03/0269.html" target="_blank"&gt;http://aa11.cjb.net/hpux_admin/2001/03/0269.html&lt;/A&gt;&lt;BR /&gt;on this page Martin says: &lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;Thanks to Tripathi Ashish, Donald Manley, Hari, Jean Borowczyk, Vinay and&lt;BR /&gt;Wolf-Dietrich (I hope I 'm not missing anyone).&lt;BR /&gt;&lt;BR /&gt;Almost all agree (and it 's true!) that my problem was not doing :&lt;BR /&gt;&lt;BR /&gt; lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt; lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt; lvlnboot -d /dev/vg00/lvol2&lt;BR /&gt; lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt;&lt;BR /&gt;before the reboot. To solve it, Hari proposed interrupting the boot,&lt;BR /&gt;interact with the IPL and entering LVM maintenance mode by issuing: hpux -lm&lt;BR /&gt;but, at least in my case, it didn 't work: it made a panic and nothing more.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Finally, the solution was to boot from the installation CD, option 2 (Run a&lt;BR /&gt;Recovery Shell), then "Troubleshoot a non booting HP-UX" and there,&lt;BR /&gt;selecting option "c" (Reinstall the LIF). You must provide the hardware path&lt;BR /&gt;of the boot disk. &lt;BR /&gt;&lt;BR /&gt;After that, the server did booted en maintenance mode (-lm). I 've done the&lt;BR /&gt;lvlboot stuff and the system came back to like. &lt;BR /&gt;&lt;BR /&gt;Many thanks, &lt;BR /&gt;&lt;BR /&gt;Martin&lt;BR /&gt;&lt;/SNIP&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;However, I do not have the install media. I am wondering if Ignite-UX could be any use? &lt;BR /&gt;&lt;BR /&gt;Can ignite ux give me a recovery shell? &lt;BR /&gt;&lt;BR /&gt;I am reading the manuals as i ask, so yes i am doing the homework (rtfm) as i seek help&lt;BR /&gt;&lt;BR /&gt;once again, thanks &lt;BR /&gt;       -mayank&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Dec 2001 09:44:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628419#M40449</guid>
      <dc:creator>Mayank_1</dc:creator>
      <dc:date>2001-12-11T09:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: swapconf: no primary swap configured</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628420#M40450</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;No, Ignite won't run a recovery shell.  You need the install media for that.&lt;BR /&gt;&lt;BR /&gt;Sorry,&lt;BR /&gt;Vince</description>
      <pubDate>Tue, 11 Dec 2001 10:24:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628420#M40450</guid>
      <dc:creator>Vincent Farrugia</dc:creator>
      <dc:date>2001-12-11T10:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: swapconf: no primary swap configured</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628421#M40451</link>
      <description>I have got the same problem after I ignited the server using my igite tape. the ignite restore finished successfully, but when it boots up it complains of the swap space not configured and it crashs..</description>
      <pubDate>Tue, 28 Mar 2006 17:36:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapconf-no-primary-swap-configured/m-p/2628421#M40451</guid>
      <dc:creator>Nikki Holland</dc:creator>
      <dc:date>2006-03-28T17:36:16Z</dc:date>
    </item>
  </channel>
</rss>

