HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swap space
Operating System - HP-UX
1834456
Members
2462
Online
110067
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
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
05-27-2007 10:29 PM
05-27-2007 10:29 PM
swap space
Hi,
How to increase swap space on a PA-RISC machine?
Thanks in advance,
Senthil.
How to increase swap space on a PA-RISC machine?
Thanks in advance,
Senthil.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2007 10:33 PM
05-27-2007 10:33 PM
Re: swap space
Hello Senthil,
Please used SAM to configure swap file system.
thanks
freddy
Please used SAM to configure swap file system.
thanks
freddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2007 11:11 PM
05-27-2007 11:11 PM
Re: swap space
Hi,
1.DEV swap on LVM LV.
For example we can enable /dev/vg01/myswap logical volume for use as device swap. The
entire logical volume will be claimed as swap, so it will no longer be available for use as a file system. If the logical volume contained a file system in the past, you may need to use the -f option to "force" an overwrite of the old file system structures.
swapon /dev/vg01/myswap
2.DEV swap on a whole disk.
We can enable device swap on the whole disk /dev/dsk/c0t2d0. If the disk contains a file system that was created with newfs -R 200 /dev/rdsk/c0t2d0, you can preserve the file system and simply enable swap on the available space reserved at the end of the disk by including the -e option on swapon. If you wish to overwrite the file
system on the disk, use the -f force option instead.
swapon /dev/dsk/c0t2d0
3. Swap on a FS.
We can enable the file system mounted on /myfs2 for use as file system swap. The
-p option sets the priority for this swap area to 4, and the -l ensures that vhand can take no more than 4 MB from the file system for use as swap.
swapon -p 4 -l 4M /myfs2
SK
1.DEV swap on LVM LV.
For example we can enable /dev/vg01/myswap logical volume for use as device swap. The
entire logical volume will be claimed as swap, so it will no longer be available for use as a file system. If the logical volume contained a file system in the past, you may need to use the -f option to "force" an overwrite of the old file system structures.
swapon /dev/vg01/myswap
2.DEV swap on a whole disk.
We can enable device swap on the whole disk /dev/dsk/c0t2d0. If the disk contains a file system that was created with newfs -R 200 /dev/rdsk/c0t2d0, you can preserve the file system and simply enable swap on the available space reserved at the end of the disk by including the -e option on swapon. If you wish to overwrite the file
system on the disk, use the -f force option instead.
swapon /dev/dsk/c0t2d0
3. Swap on a FS.
We can enable the file system mounted on /myfs2 for use as file system swap. The
-p option sets the priority for this swap area to 4, and the -l ensures that vhand can take no more than 4 MB from the file system for use as swap.
swapon -p 4 -l 4M /myfs2
SK
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2007 11:29 PM
05-27-2007 11:29 PM
Re: swap space
to create additional swap space use the procedure:
lvcreate -L -C y -s y -m 1 /dev/vg00
swapon -p 1 /dev/vg00/ where p is for priority
then update the fstab
/dev/vg00/lvname ...swap pri=1 0 0
you should use same size of the exiting swap space for having interleaving.
lvcreate -L
swapon -p 1 /dev/vg00/
then update the fstab
/dev/vg00/lvname ...swap pri=1 0 0
you should use same size of the exiting swap space for having interleaving.
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