- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvextend a mirrored a lvol
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
07-27-2006 08:06 PM
07-27-2006 08:06 PM
lvextend a mirrored a lvol
I have a mirrored logical volume.On trying to extend it it gives me below error.Can u advice how to overcome this.
frardb03:/ # lvextend -L 600 /dev/vg00/lvol17
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol17" could not be extended.
Failure possibly caused by strict allocation policy
frardb03:/ # lvdisplay -v /dev/vg00/lvol17|more
--- Logical volumes ---
LV Name /dev/vg00/lvol17
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 500
Current LE 125
Allocated PE 250
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
The VG has total 139 PE free.The two disks on which the lvols resides.One has 7PE free other has 132 PE free.
RGds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 08:08 PM
07-27-2006 08:08 PM
Re: lvextend a mirrored a lvol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 08:11 PM
07-27-2006 08:11 PM
Re: lvextend a mirrored a lvol
Could i know how big your pe size.
check with vgdisplay vg00
if your pe size 4 MB and your free Pe 139 it's means 139*4MB=556MB
so you can create only 556MB.
thanks
freddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 08:16 PM
07-27-2006 08:16 PM
Re: lvextend a mirrored a lvol
frardb03:/ # vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 19
Open LV 19
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 8541
Free PE 139
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 08:18 PM
07-27-2006 08:18 PM
Re: lvextend a mirrored a lvol
vgdisplay -v vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 08:18 PM
07-27-2006 08:18 PM
Re: lvextend a mirrored a lvol
thanks
freddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 08:24 PM
07-27-2006 08:24 PM
Re: lvextend a mirrored a lvol
check with
# vgdisplay -v vg00 | egrep '(dsk|Free)'
and then you can decide how much you can extend.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 08:50 PM
07-27-2006 08:50 PM
Re: lvextend a mirrored a lvol
You have unbalanced disk (one has 7 PE free & other has 132 PE free).
For mirror lvol, the good extend you can create is 7 PE free x 4 MBytes = 28 MBytes only. So the mirror can be 28 MBytes on one disk and 28 MBytes on the other.
If you want to have full extend with mirror, you can extend until 139 Free PE x 4 MBytes = 556 MBytes. And surely, some mirror will be on the same disk.
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 08:51 PM
07-27-2006 08:51 PM
Re: lvextend a mirrored a lvol
i beg your pardon but i hope that you can do
"only" a
lvextend -L 276 /dev/vg00/lvol17
In fact , on vg00 there are 139 PE free.
So we have 69 PE free for lvol17 AND
69 PE free for mirror lv.
And 69*4M=276M.
hth
regards
pg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 09:28 PM
07-27-2006 09:28 PM
Re: lvextend a mirrored a lvol
Agreed with PG, need to devide by 2 for mirror. So (139 Free PE x 4 MBytes) / 2 = 556 MBytes / 2 = 278 MBytes.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 09:44 PM
07-27-2006 09:44 PM
Re: lvextend a mirrored a lvol
/dev/vg00/lvol17 512000 312809 186775 63% /db/FRARDB03/arch
frardb03:/ # lvextend -L 778 /dev/vg00/lvol17
Warning: rounding up logical volume size to extent boundary at size "780" MB.
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol17" could not be extended.
Failure possibly caused by strict allocation policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 09:51 PM
07-27-2006 09:51 PM
Re: lvextend a mirrored a lvol
Here is the vgdisplay -v output attached
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 09:59 PM
07-27-2006 09:59 PM
Re: lvextend a mirrored a lvol
thanks
freddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 10:04 PM
07-27-2006 10:04 PM
Re: lvextend a mirrored a lvol
lvextend -m 1 /dev/vg00/lvol19 /dev/dsk/c1t15d0
remove lvol18 because the size 0
LV Name /dev/vg00/lvol18
LV Status available/syncd
LV Size (Mbytes) 0
Current LE 0
Allocated PE 0
Used PV 0
so i think you have 2 pe for each disk.
you cant add anymore.
Solution:
1. add pair disk with same size disk with existing ( 4340 PE)
2. add new disk at new volume group.
create another vg for your data.
thanks
freddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 10:23 PM
07-27-2006 10:23 PM
Re: lvextend a mirrored a lvol
i hope no boring anyone but, in addition to Freddy solutions, other possible step are :
lvextend -L 28 /dev/vg00/lvol17
(so too many little space added _28 Mb_ but lvol are balanced and remain 125 PE free "unusable in balanced mode" on one disk)
or
lvextend -L 276 /dev/vg00/lvol17
(so 276 Mb are added but 'surely, some mirror will be on the same disk' as AW said ).
hth
regards
pg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 10:32 PM
07-27-2006 10:32 PM
Re: lvextend a mirrored a lvol
lvextend -L 276 /dev/vg00/lvol17
this command will fail coz already FS is at 500 MB,though the first lvextend cmd holds true.
How do you find this " remain 125 PE free unusable in balanced mode" on one disk.
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2006 12:02 AM
07-28-2006 12:02 AM
Re: lvextend a mirrored a lvol
i have done a miscalculation ...
this is the right command
lvextend -l 132 /dev/vg00/lvol17
( with "-l" we take LE , so i hope to avoid
rounding )
but BEFORE try this one :
lvextend -l 194 /dev/vg00/lvol17
If return "usual" error the cause maybe strict policy.
sorry again
regards
pg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2006 12:53 AM
07-28-2006 12:53 AM
Re: lvextend a mirrored a lvol
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
07-28-2006 02:55 AM
07-28-2006 02:55 AM
Re: lvextend a mirrored a lvol
for me
lvextend -l 132 /dev/vg00/lvol17
is the only step possible .
lvextend -l 194 /dev/vg00/lvol17
should not return error (strict policy is not a problem) but is deprecable using mirror space.
hth
regards
pg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2006 03:12 AM
07-28-2006 03:12 AM
Re: lvextend a mirrored a lvol
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
07-31-2006 01:17 AM
07-31-2006 01:17 AM
Re: lvextend a mirrored a lvol
Thanks to all for all ur replies
Cheers!!
Marvik