- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: error increasing swap
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
Forums
Discussions
Discussions
Discussions
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
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
11-10-2006 04:33 AM
11-10-2006 04:33 AM
error increasing swap
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
dev 8192 6899 1293 84% 0 - 0 /dev/vg00/lvswap2
dev 5120 4974 146 97% 0 - 0 /dev/vg00/lvswap3
reserve - 13339 -13339
memory 19222 7373 11849 38%
total 44822 32585 12237 73% - 0 -
#
# lvcreate -C y -r n -L 25000 -n lvswap4 /dev/vg00
Warning: rounding up logical volume size to extent boundary at size "25008" MB.
Logical volume "/dev/vg00/lvswap4" has been successfully created with
character device "/dev/vg00/rlvswap4".
lvcreate: Not enough free physical extents available.
Logical volume "/dev/vg00/lvswap4" could not be extended.
Failure possibly caused by contiguous allocation policy.
Run the "lvextend" command to create space on the Logical Volume.
# swapon -p 0 /dev/vg00/lvswap4
swapon: The kernel tunable parameter "maxswapchunks" needs to be increased to add
paging on device /dev/vg00/lvswap4.
how do i find how much contiguous space is available on a VG?
Thanks
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2006 04:39 AM
11-10-2006 04:39 AM
Re: error increasing swap
what is the o/p of vgdisplay -v /dev/vg00.
It seems that you dont have enough free space in vg vg00.
If that is the case you have to add a new disk and try it by extending vg00.
Please post the o/p of vgdisplay.
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2006 04:41 AM
11-10-2006 04:41 AM
Re: error increasing swap
Look for the line
Available PE : XXX some nos.
Look for the
PE Size : XX Mbytes.
Multiply Available PE*PE Size
That will give you the available free space in the VG.
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2006 04:43 AM
11-10-2006 04:43 AM
Re: error increasing swap
In addition, the system is telling you to increase a kernel parameter
swapon: The kernel tunable parameter "maxswapchunks" needs to be increased to add
paging on device /dev/vg00/lvswap4.
You need to increase the aboce referenced parameter (maxswapchunks) I beleive you will have to reboot the stystem to make the change effective
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2006 04:44 AM
11-10-2006 04:44 AM
Re: error increasing swap
It is
Free PE's and not
Available PE's
You can use vgdisplay /dev/vg00 without the -v option.
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2006 04:48 AM
11-10-2006 04:48 AM
Re: error increasing swap
If I remember good the allocation policy for primary swap in vg00 is contiguous, meaning that probably you have something written after lvswap3.
Create dev swap on a different vg, that should fix your issue.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2006 04:53 AM
11-10-2006 04:53 AM
Re: error increasing swap
Thanks
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2006 04:58 AM
11-10-2006 04:58 AM
Re: error increasing swap
I hope you can create a swap device in other disks too but the thing is while creating the LV i think you have to create is contiguous using -C option.
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2006 05:00 AM
11-10-2006 05:00 AM
Re: error increasing swap
# kmtune |grep -e chunk
maxswapchunks 16384 - 16384
swchunk 2048 - 2048
voliomem_chunk_size 65536 - (64*1024)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2006 06:16 AM
11-10-2006 06:16 AM