Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
тАО01-30-2005 12:59 AM
тАО01-30-2005 12:59 AM
i want more details in how to extend my swap area , please in details,either in command line or using sam
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2005 01:28 AM
тАО01-30-2005 01:28 AM
Re: swap
Extending your primary swap area is not that easy, as it needs to be contiguous and in the first 2GB of your disk. This will be a long and tricky job.
Much easier to simply add another swap/ Secondary swap area, you can do this online without a reboot (first option above will need a reboot).
Instead you can go on as follows.
Create a LV of required size and then add it to the /etc/fstab file;
/dev/vg00/lvolX / swap defaults 0 0
Use swapon -a and that's allll.
swapinfo -mt will show you the newly activated swap.
If you want to go with SAM,
Run SAM
go to Disks and Filesystems -->Swap-->Actions-->Add Filesystem Swap/Device Swap as required.
regards,
Syam
regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2005 03:07 PM
тАО01-30-2005 03:07 PM
Re: swap
Thats the best way to go.
If swap is already twice RAM, get memory. There is no substitute for enough memory.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2005 04:13 PM
тАО01-30-2005 04:13 PM
Re: swap
#lvcreate -L
make an entry in /etc/fstab
dev/vgxx/lvolx / swap defaults 0 0
#swapon -a
will enable the swap /dev/vgxx/lvolx
SAM-->Disks and Filesystems -->Logical volumes-->Actions-->Add Filesystem, choose the swap as the file system type and priority if required. (machine will reboot)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2005 05:57 PM
тАО01-30-2005 05:57 PM
Re: swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2005 06:01 PM
тАО01-30-2005 06:01 PM
Re: swap
i want to know this tricky way to extend my primary swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2005 06:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2005 06:41 PM
тАО01-30-2005 06:41 PM
Re: swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2005 06:42 PM
тАО01-30-2005 06:42 PM
Re: swap
a swap must be contiguous.you can use the following steps to configure a secondary swap.
change parameters like cg name as per your requirement.
lvcreate -n swap1 -C y -r n /dev/vgXX
lvextend -L size /dev/vgXX/swap1 /dev/dsk/cXtXdX
swapon -f -p 1 /dev/vgXX/swap1
see information by swapinfo command
swapinfo -tam
then vi /etc/fstab
add the following entry.
/dev/vgXX/swap1 . . . swap pri=1 00
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2005 06:56 PM
тАО01-30-2005 06:56 PM
Re: swap
the tricky way for primary swap is defined in the installing and updating hpux 11 & 11i documents.see page no:184 & 185 in installing and updating hpux 11i pdf file or page no:122 and 123 in installing and updating hpux 11 .you can download it from docs.hp.com
see the following link
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=785327
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2005 08:12 PM
тАО01-30-2005 08:12 PM
Re: swap
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=91325
This thread explain how kernel parameter is set to use full zise of swap.
HTH
Tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2005 10:40 PM
тАО01-31-2005 10:40 PM
Re: swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2005 02:30 PM
тАО02-01-2005 02:30 PM
Re: swap
A filesystem swap is always a secondary swap,which can coexist with other files on a file system. It can be configured dynamically and usually used when device swap is full.Usually , a low priority level is attached with file system swap.You can use a directory in a filesystem that is used for filesystem swap. Also you can put an upper limit on the filesystem swap if you dont want the swap to grow beyond a certain limit.
You can also use other device swap areas as secondary swap space.However, it is always better idea to keep additional swap areas on a different physical disk.
The following command creates a filesystem swap ona filesystem mounted on the /FS_SWAP. The command puts a maximum limit of 500MB on the swap area. The actual directory that will be used for the swap space is /FS_SWAP/paging
#swapon -l 500M /FS_SWAP
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2005 02:44 PM
тАО02-01-2005 02:44 PM
Re: swap
More inputs..
To create swap space on a logical volume lvol3 in volume group 4 use the following swapon command.
#swapon /dev/vg04/lvol1
after you use the swapon command the swap area is created and it is immediately available to use aas a swap area. If a LV is already having a filesystem use -f option with swapon command to forefully make swap area.
to make a disk /dev/dsk/c1t2d0 exclusively for swap space use.
#swapon /dev/dsk/c1t2d0
See the detailed procedure here. Spent 10-15 mins and go through the follwoing.You can clear all your doubts.
http://docs.hp.com/en/B2355-90672/ch06.html
regards,
Syam