- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Swap does not showup
Operating System - HP-UX
1752812
Members
6458
Online
108789
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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-22-2006 02:09 AM
тАО09-22-2006 02:09 AM
Swap does not showup
I was trying to add swap by 8GB and here is what i found
# swapinfo -atm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
dev 8192 0 8192 0% 0 - 1 /dev/vg00/lvswap1
reserve - 12288 -12288
memory 19523 13975 5548 72%
total 31811 26263 5548 83% - 0 -
# lvcreate -C y -r n -L 8192 -n lvswap2 /dev/vg00
lvcreate: Logical volume "/dev/vg00/lvswap2" already exists.
Two things strange here i do not find the entry for lvswap2 in /etc/fstab and also inspite of high memory usage the processes are not swapping (0 usage). i am not seeing this lvswap2 at all
Thanks
Brian
# swapinfo -atm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
dev 8192 0 8192 0% 0 - 1 /dev/vg00/lvswap1
reserve - 12288 -12288
memory 19523 13975 5548 72%
total 31811 26263 5548 83% - 0 -
# lvcreate -C y -r n -L 8192 -n lvswap2 /dev/vg00
lvcreate: Logical volume "/dev/vg00/lvswap2" already exists.
Two things strange here i do not find the entry for lvswap2 in /etc/fstab and also inspite of high memory usage the processes are not swapping (0 usage). i am not seeing this lvswap2 at all
Thanks
Brian
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2006 02:12 AM
тАО09-22-2006 02:12 AM
Re: Swap does not showup
Hi,
Check the output off
vgdisplay -v vg00
Perhaps a lv with the name lvswap2 exists yet.
But is might not be activated
Check the output off
vgdisplay -v vg00
Perhaps a lv with the name lvswap2 exists yet.
But is might not be activated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2006 02:13 AM
тАО09-22-2006 02:13 AM
Re: Swap does not showup
It look like lvswap2 already exist but not activated. Add it in /etc/fstab and activate it using swapon -a
you can check results using swapinfo -ntm
you can check results using swapinfo -ntm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2006 03:23 AM
тАО09-22-2006 03:23 AM
Re: Swap does not showup
Hi Brian...
As mentionned, next step after creation is:
swapon /dev/vg00/lvswap2 (priority defaults to 1)
update /etc/fstab isnt automatic you will have to add yourself this line in fstab:
All the best
Victor
/dev/vg00/lvswap2 ... swap pri=0 0 0
As mentionned, next step after creation is:
swapon /dev/vg00/lvswap2 (priority defaults to 1)
update /etc/fstab isnt automatic you will have to add yourself this line in fstab:
All the best
Victor
/dev/vg00/lvswap2 ... swap pri=0 0 0
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP