GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- adding swap error
Operating System - HP-UX
1845947
Members
3870
Online
110250
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
09-30-2002 11:26 PM
09-30-2002 11:26 PM
I added a new swap area to my server but got the following error when I ran swapon -a;
enabling device paging on /dev/vg00/lvol10.
swapon: /dev/vg00/lvol10 is already enabled for paging.
Enabling device paging on /dev/vg00/lvol9.
swapon: Device /dev/vg00/lvol9 contains a file system.
The system will page in the space after the end of the file system.
Add `end' to the options field in /etc/fstab to turn off this warning.
What happened and how do I fix ?
enabling device paging on /dev/vg00/lvol10.
swapon: /dev/vg00/lvol10 is already enabled for paging.
Enabling device paging on /dev/vg00/lvol9.
swapon: Device /dev/vg00/lvol9 contains a file system.
The system will page in the space after the end of the file system.
Add `end' to the options field in /etc/fstab to turn off this warning.
What happened and how do I fix ?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 11:32 PM
09-30-2002 11:32 PM
SolutionAt some point youve used lvol10 as a filesystem and then lvremoved it, so when you now try to add it as swap swapon detects an LVM header on lvol10. What you need to do is 'blast' or remove the header. Do a simple dd;
dd if=/stand/vmunix of=/dev/vg00/rlvol10 bs=1024k
This will then output;
I/O Error
13+1 blocks in
13+1 blocks out
Now if youve already added the swap area to /etc/fstab just reboot and when the server comes up and swapon runs it will not see the LVM header and now add the whole lvol in as swap.
Im from Palmerston North, New Zealand, but somehow ended up in London...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2002 12:03 AM
10-01-2002 12:03 AM
Re: adding swap error
try swapon -f /dev/vg00/lvol9 once and then try rebooting the machine.
-balaji
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP