- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- error starting swap at boot
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
05-17-2001 11:50 PM
05-17-2001 11:50 PM
yesterday I tried to set swap priority to 0 to the 2 lvol of swap space in a L2000 system running hpux 11.00
At boot, I found this message
Enable auxiliary swap space.....FAIL *
What's wrong?
Now I reset the parameter to 1
Reboot and the message was the same as above.
Enybody can explain me??
Thanks all
Roberto
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2001 12:08 AM
05-18-2001 12:08 AM
Re: error starting swap at boot
To find out what the exact return (error) code was you can run the swap_start script manually;
/sbin/rc1.d/S500swap_start start
This will give you the error code which may better indicate the problem.
I think you should change your /etc/fstab entry for your swap areas back to the default;
/dev/vg00/lvol2 / swap defaults 0 0
/dev/vg00/lvolX / swap defaults 0 0
Then run the above swap_start script again, this should work fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2001 12:35 AM
05-18-2001 12:35 AM
Re: error starting swap at boot
What error message do you get when you issue:
swapon -a
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2001 03:06 AM
05-18-2001 03:06 AM
Re: error starting swap at boot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2001 04:04 AM
05-18-2001 04:04 AM
SolutionCheck your /etc/rc.log file or perform the test with /sbin/init.d/swap_start, as Stefan said, to get the output.
Your fstab should not include the default primary swap, normally /dev/vg00/lvol2, because it is automatically enabled when the system starts up, and if it stays in fstab, it will try to enable it again. Maybe this is generating that failure output.
check your swap devices with "swapinfo".
good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2001 04:28 AM
05-18-2001 04:28 AM
Re: error starting swap at boot
If the extra swap lvol is on the same disk as /dev/vg00/lvol2 then it is probably wise to give is a lower priority. If the priorities are equal the OS will round robin the two areas wich will fragment up your data and thrash your disk!!
Just a comment
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2001 05:09 AM
05-18-2001 05:09 AM
Re: error starting swap at boot
I found the problem.
Viewing /etc/rc.log:
Enable auxiliary swap space
Output from "/sbin/rc1.d/S500swap_start start":
----------------------------
Enabling device paging on /dev/vg00/lvol10.
Enabling device paging on /dev/vg00/lvol2.
/usr/sbin/swapon: /dev/vg00/lvol2 is already enabled for paging.
Warning: swapon returned exit code: 1
"/sbin/rc1.d/S500swap_start start" FAILED
And in file /etc/fstab at the bottom a new line was added after I changed the priority level of swap from sam
The new line was /dev/vg00/lvol2
So I took a look at fstab of other systems and I understand that lvol2 is never mentioned.
So I removed and the problem was solved at next boot
Now, let me the time to assign point!!!
I'd like to open another question on swap for the parameter
allocate_fs_swapmap
So, keep tuned!!!
Regards
Roberto