- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error Mirroring Swap Area
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
тАО03-23-2009 04:11 AM
тАО03-23-2009 04:11 AM
i should do a mirror of swap area but doing lvextend i reiceive this error :
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c1t15d0
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
I have free PE on disk :
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 1024
Allocated PE 1024
Used PV 1
PV Name /dev/dsk/c1t15d0
PV Status available
Total PE 4340
Free PE 1229
Autoswitch On
i removed the contiguos option with lvchange and did it not workin yet,
i haven't anymore space available.
Thanks in advance
Diego
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 04:19 AM
тАО03-23-2009 04:19 AM
SolutionIf you don't have enough space, you don't have enough space - there's no way around that... how many PVs do you have in the VG?
post output of vgdisplay -v vg00
also remember you can have multiple swap LVs and only one really needs to be in vg00 - maybe you have space on other disks in other VGs?
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 04:21 AM
тАО03-23-2009 04:21 AM
Re: Error Mirroring Swap Area
Device swap must be allocated in contiguous extents.
As for the strict allocation policy, ask yourself why you would want mirrors of a logical volume to be able to exist on the same physical disk. Mirroring is designed for high-availabliity. If a physical disks fails, you want to be able to access your mirrored data and that's why you want a copy on a separate physical volume.
As for increasing swap space, there is no need to increase primary device swap. In fact, it is very difficult to do. More importantly, there is _no_ need to increase primary swap. Simply add secondary device swap space as needed.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 04:24 AM
тАО03-23-2009 04:24 AM
Re: Error Mirroring Swap Area
vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 4
Total PE 8680
Alloc PE 4922
Free PE 3758
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/stale
LV Size (Mbytes) 300
Current LE 75
Allocated PE 150
Used PV 2
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 1024
Allocated PE 1024
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/stale
LV Size (Mbytes) 200
Current LE 50
Allocated PE 100
Used PV 2
LV Name /dev/vg00/lvol4
LV Status available/stale
LV Size (Mbytes) 200
Current LE 50
Allocated PE 100
Used PV 2
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 20
Current LE 5
Allocated PE 10
Used PV 2
LV Name /dev/vg00/lvol6
LV Status available/stale
LV Size (Mbytes) 1040
Current LE 260
Allocated PE 520
Used PV 2
LV Name /dev/vg00/lvol7
LV Status available/stale
LV Size (Mbytes) 1388
Current LE 347
Allocated PE 694
Used PV 2
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 4596
Current LE 1149
Allocated PE 1149
Used PV 1
LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 700
Current LE 175
Allocated PE 175
Used PV 1
LV Name /dev/vg00/lvol10
LV Status available/syncd
LV Size (Mbytes) 3500
Current LE 875
Allocated PE 875
Used PV 1
LV Name /dev/vg00/lvol11
LV Status available/syncd
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c3t15d0
PV Status available
Total PE 4340
Free PE 2529
Autoswitch On
PV Name /dev/dsk/c1t15d0
PV Status available
Total PE 4340
Free PE 1229
Autoswitch On
and unlucky i haven't space in other disks.
tnx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 04:31 AM
тАО03-23-2009 04:31 AM
Re: Error Mirroring Swap Area
Your VG00 configurations looks wired. There are few lv's in stale state. You should fix those issues as well.
And also do not keep any data volumes in VG00. So that you will have enough space to mirror all root vg logical volumes.
It is must to have mirror for all root lv's to make admin life easy.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 06:24 AM
тАО03-23-2009 06:24 AM
Re: Error Mirroring Swap Area
i know i got more LVs in stale status and this is the reason for my question..
all my available disks are broking..
and i├Г┬мm trying to do a mirror for be sure that the server will rebooing because now i have some lv's on a disk and other in the second disk..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 07:57 AM
тАО03-23-2009 07:57 AM
Re: Error Mirroring Swap Area
Check if a disk is bad!
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
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
тАО03-23-2009 08:01 AM
тАО03-23-2009 08:01 AM
Re: Error Mirroring Swap Area
The best option is move non-root lv's to some other volume groups by move/copy.So you will get enough space on both disks.
Make sure the first disk has only the primary copy of the data. Remove the stale copy and remirror all the lv's to the second disk.
This will make the clean root vg configuration.This steps may consume some time. but will make our life without troubles.
Ganesh.