HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- confused output of swapinfo
Operating System - HP-UX
1834285
Members
2362
Online
110066
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
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
08-22-2005 12:12 AM
08-22-2005 12:12 AM
Hi!
I was created a new pri-swap device /old was lvol10/,
using:
#lvcreate -l 400 -C y -r n -n lvol2 /dev/vg00
#lvrmboot -s vg00
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -d /dev/vg00/lvol2
#lvlnboot -v
... shutdown ...
After reboot I'm seeing:
#lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t1d0 (0/1/1/0.1.0) -- Boot Disk
/dev/dsk/c2t0d0 (0/1/1/0.0.0)
Boot: lvol1 on: /dev/dsk/c2t1d0
Root: lvol3 on: /dev/dsk/c2t1d0
Swap: lvol2 on: /dev/dsk/c2t1d0
Dump: lvol2 on: /dev/dsk/c2t1d0, 0
#swapinfo -tam
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 12800 0 4096 0% 0 - 1 /dev/vg00/lvol2
reserve - 83 -83
memory 12981 292 12689 2%
total 25781 375 16702 1% - 0 -
So as you see the output of last #swapinfo
is confused - used+free is not equal to all swap space on /dev/vgoo/lvol2.
What is the problem?
Regards.
I was created a new pri-swap device /old was lvol10/,
using:
#lvcreate -l 400 -C y -r n -n lvol2 /dev/vg00
#lvrmboot -s vg00
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -d /dev/vg00/lvol2
#lvlnboot -v
... shutdown ...
After reboot I'm seeing:
#lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t1d0 (0/1/1/0.1.0) -- Boot Disk
/dev/dsk/c2t0d0 (0/1/1/0.0.0)
Boot: lvol1 on: /dev/dsk/c2t1d0
Root: lvol3 on: /dev/dsk/c2t1d0
Swap: lvol2 on: /dev/dsk/c2t1d0
Dump: lvol2 on: /dev/dsk/c2t1d0, 0
#swapinfo -tam
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 12800 0 4096 0% 0 - 1 /dev/vg00/lvol2
reserve - 83 -83
memory 12981 292 12689 2%
total 25781 375 16702 1% - 0 -
So as you see the output of last #swapinfo
is confused - used+free is not equal to all swap space on /dev/vgoo/lvol2.
What is the problem?
Regards.
liana
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 01:20 AM
08-22-2005 01:20 AM
Solution
Check your syslog.log file for errors relating to the maxswapchunks kernel parameter. You pobably need to increase the value of the parameter.
The error in syslog.log should show how the value it needs to be increased by.
This is one parameter I always increase to its maximum value when installing a new system. That prevents problems like this.
The error in syslog.log should show how the value it needs to be increased by.
This is one parameter I always increase to its maximum value when installing a new system. That prevents problems like this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 01:30 AM
08-22-2005 01:30 AM
Re: confused output of swapinfo
Yes, you are right!
liana
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 2025 Hewlett Packard Enterprise Development LP