HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swap space
Operating System - HP-UX
1827435
Members
5026
Online
109965
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
09-25-2001 07:30 AM
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 07:34 AM
09-25-2001 07:34 AM
Re: swap space
I normally use sam to handle swap and dump devices.
sam>disk and file systems>logical volumes
create a new swap device.
...jcd...
sam>disk and file systems>logical volumes
create a new swap device.
...jcd...
If I had only read the instructions first??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 07:34 AM
09-25-2001 07:34 AM
Re: swap space
Hi Jeff,
It might be worth looking at the man page for a general overview:
man 1m swapon
Rgds, Robin.
It might be worth looking at the man page for a general overview:
man 1m swapon
Rgds, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 07:38 AM
09-25-2001 07:38 AM
Solution
Hi Jeff,
If you are creating a device swap,
lvcreate -L size -C y -r n /dev/vgname
swapon /dev/vgname/lvname
(modify your /etc/fstab with)
/dev/vgname/lvname ... swap defaults 0 0
Otherwise the device swap won't be activated on subsequent reboots.
But before you can increase the swapspace, check the kernel parameter maxswapchunks
(Maximum swap space that can be configured on a machine is maxswapchunks*DEV_BSISE*swchunk) Defaults for DEV_BSISE is 1024 and for swchunk it is 2048.
To check the configured swap space, do swapinfo -atm
So if your maxswapchunks is 1024, the maximum swap space you can configure is 2GB.
-HTH
Ramesh
If you are creating a device swap,
lvcreate -L size -C y -r n /dev/vgname
swapon /dev/vgname/lvname
(modify your /etc/fstab with)
/dev/vgname/lvname ... swap defaults 0 0
Otherwise the device swap won't be activated on subsequent reboots.
But before you can increase the swapspace, check the kernel parameter maxswapchunks
(Maximum swap space that can be configured on a machine is maxswapchunks*DEV_BSISE*swchunk) Defaults for DEV_BSISE is 1024 and for swchunk it is 2048.
To check the configured swap space, do swapinfo -atm
So if your maxswapchunks is 1024, the maximum swap space you can configure is 2GB.
-HTH
Ramesh
They think they know but don't. At least I know I don't know - Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 11:07 PM
09-25-2001 11:07 PM
Re: swap space
Hi Jeff,
Use SAM, it is easy and straight forward to use.
I think to create extra swap (device), you do not have to touch /etc/fstab. Which is used for swap(file systems).
You can also select (with SAM), to be activated at every boot time.
You can use later, "swapinfo -tm" and also to use the SWAP (full) use the instruction as proposed by other friends.
The command line instructions are as mentioned by
other friends.
Best regards,
./Rao
Use SAM, it is easy and straight forward to use.
I think to create extra swap (device), you do not have to touch /etc/fstab. Which is used for swap(file systems).
You can also select (with SAM), to be activated at every boot time.
You can use later, "swapinfo -tm" and also to use the SWAP (full) use the instruction as proposed by other friends.
The command line instructions are as mentioned by
other friends.
Best regards,
./Rao
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP