- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swapconf: no primary swap configured
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 03:16 AM
12-10-2001 03:16 AM
We've got a strange problem here. Well, it's self invited ofcourse due to sheer accident. Anyhow, the baseline is, I forgot to
lvlnboot and set up the primary swap before rebootting :( It was a mistake.. had been a long day, so please don't flame me!
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.
a few important observations:
disk is c0t5d0
swap is /dev/vg00/lvol2 in the lvm config
Thank you.
Mayank
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 03:22 AM
12-10-2001 03:22 AM
Re: swapconf: no primary swap configured
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 03:27 AM
12-10-2001 03:27 AM
Re: swapconf: no primary swap configured
you have to type:
hpux -aS (device_path)
This is used to override default devices in the kernel. you can specify root, console, swap or dump.
HTH,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 03:41 AM
12-10-2001 03:41 AM
Re: swapconf: no primary swap configured
Thanx for replying. I do know about the syntax. My real problem is what exactly is "devicefile". is it /dev/vg00/lvol6 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 03:53 AM
12-10-2001 03:53 AM
Re: swapconf: no primary swap configured
Basically it is the hardware path of the harddisk.
An example might me 44.5.0;0.
Do a sea to check the hardware path of the harddisk you wish.
HTH,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 03:56 AM
12-10-2001 03:56 AM
Re: swapconf: no primary swap configured
hpux -aS (;2)
i.e. swap is on section 2 of the boot disk. But his is just a guess.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 04:31 AM
12-10-2001 04:31 AM
SolutionI see that nobody is really sure about the device path untill now. Don't try and guess because you could overwrite your root filesystem.
Therfor, another way to solve this : Do you have your install & 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.
It's a longer procedure, but it's a little more sure to do no harm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 04:40 AM
12-10-2001 04:40 AM
Re: swapconf: no primary swap configured
ISL> hpux -lm
:
# vgchange -a y /dev/vg00
# lvlnboot -s
# reboot
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2001 01:44 AM
12-11-2001 01:44 AM
Re: swapconf: no primary swap configured
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:
http://aa11.cjb.net/hpux_admin/2001/03/0269.html
on this page Martin says:
Thanks to Tripathi Ashish, Donald Manley, Hari, Jean Borowczyk, Vinay and
Wolf-Dietrich (I hope I 'm not missing anyone).
Almost all agree (and it 's true!) that my problem was not doing :
lvlnboot -b /dev/vg00/lvol1
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -r /dev/vg00/lvol3
before the reboot. To solve it, Hari proposed interrupting the boot,
interact with the IPL and entering LVM maintenance mode by issuing: hpux -lm
but, at least in my case, it didn 't work: it made a panic and nothing more.
Finally, the solution was to boot from the installation CD, option 2 (Run a
Recovery Shell), then "Troubleshoot a non booting HP-UX" and there,
selecting option "c" (Reinstall the LIF). You must provide the hardware path
of the boot disk.
After that, the server did booted en maintenance mode (-lm). I 've done the
lvlboot stuff and the system came back to like.
Many thanks,
Martin
However, I do not have the install media. I am wondering if Ignite-UX could be any use?
Can ignite ux give me a recovery shell?
I am reading the manuals as i ask, so yes i am doing the homework (rtfm) as i seek help
once again, thanks
-mayank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2001 02:24 AM
12-11-2001 02:24 AM
Re: swapconf: no primary swap configured
No, Ignite won't run a recovery shell. You need the install media for that.
Sorry,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 09:36 AM
03-28-2006 09:36 AM