- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem lvextend (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
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
тАО08-25-2010 06:15 AM
тАО08-25-2010 06:15 AM
i have the problem apply command lvextend in the memory swap.
SAPL910:/> lvextend -L 32768 /dev/vg00/lvol2
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol2" could not be extended.
Failure possibly caused by contiguous allocation policy.
Failure possibly caused by strict allocation policy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2010 06:22 AM
тАО08-25-2010 06:22 AM
Re: Problem lvextend (swap)
If you need more swap space, you should just create another LV and activate it as swap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2010 06:31 AM
тАО08-25-2010 06:31 AM
Re: Problem lvextend (swap)
The absence of contiguous physical extents following the current end of 'lvol2' gives you the failure for contiguous allocation.
As Patrick noted, simply create one or more secondary swap devices. There are a multitude of threads in this forum describing this process.
As a matter of interest, this thread discussed how you *might* extend 'lvol2' *if* you were h*ll-bent on doing it:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1025780
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2010 06:32 AM
тАО08-25-2010 06:32 AM
Re: Problem lvextend (swap)
First option would be to create another swap area, second option is to backup/restore with ignite and adjust the LVOL size during restore.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2010 08:11 AM
тАО08-25-2010 08:11 AM
Re: Problem lvextend (swap)
how to assing the new LV to swap memory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2010 08:20 AM
тАО08-25-2010 08:20 AM
Re: Problem lvextend (swap)
You will also need to add the new swap LV to your /etc/fstab so it will be used automatically when the server reboots.
If your swap LV is /dev/vg00/lvol11 then the line in /etc/fstab would be:
/dev/vg00/lvol11 ... swap pri=0 0 0
To activate it with the 'swapon' command:
swapon -p 0 /dev/vg00/lvol11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2010 08:26 AM
тАО08-25-2010 08:26 AM
Re: Problem lvextend (swap)
I trust that you created the logical volume along the lines of:
# lvcreate -C y -r n -L 32768 -n lvolN /dev/vgXX
...and then issued:
# swapon -p /dev/vgXX/lvolN
...and remembered to update your '/etc/fstab' with an entry like:
/dev/vgXX/lvolN ... swap pri=0 0 0
...so that after the next reboot you have your secondary swap activated.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2010 09:47 AM
тАО08-25-2010 09:47 AM
Re: Problem lvextend (swap)
created the new LV and run command
lvcreate -C y -r n -L 25600 -n lvol20 /dev/vg00
swapon -p /dev/vg00/lvol20
In the fstab:
/dev/vg00/lvol20 swap pri=0 0 0
but reboot the server not show new LV
SAPL910_RX6600:/> swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8388608 0 8388608 0% 0 - 1 /dev/vg00/lvol2
reserve - 388548 -388548
memory 15927572 1939376 13988196 12%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2010 10:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2010 10:38 AM
тАО08-25-2010 10:38 AM