LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-12-2010, 02:29 PM   #1
linuxaddict7
LQ Newbie
 
Registered: May 2008
Posts: 17

Rep: Reputation: 0
Question Redhat LVM Extend Fails


System - Redhat 4 U6, LVM 2, Emc Powerpath 5.3, Recently upgraded.

I am trying to extend the Logical Volume with the existing VG. Even though there are enough free PE on both the devices, the extend fails.

Any help/hint is greatly appreciated.


# lvextend -v -L+58G /dev/stores_r10/store
Finding volume group stores_r10
Using stripesize of last segment 64.00 KB
Archiving volume group "stores_r10" metadata (seqno 23).
Extending logical volume store to 305.00 GB
Not enough PVs with free space available for parallel allocation.
Consider --alloc anywhere if desperate

#vgdisplay -v output

--- Volume group ---
VG Name stores_r10
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 23
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 2
Act PV 2
VG Size 399.99 GB
PE Size 4.00 MB
Total PE 102398
Alloc PE / Size 63232 / 247.00 GB
Free PE / Size 39166 / 152.99 GB
VG UUID 2RK0oQ-ldj6-Wcxn-oXGa-rYDf-UcZU-MLl2Hx

--- Logical volume ---
LV Name /dev/stores_r10/store
VG Name stores_r10
LV UUID 720nl5-Blt2-Azon-SDmB-40Rp-Cb4Z-lpwcM7
LV Write Access read/write
LV Status available
# open 1
LV Size 247.00 GB
Current LE 63232
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0

--- Physical volumes ---
PV Name /dev/emcpowerc1
PV UUID OXlJWt-KdEr-7AuV-mh8W-chPt-ileM-X5MO5w
PV Status allocatable
Total PE / Free PE 51199 / 19583

PV Name /dev/emcpowerb1
PV UUID S7QFzh-kPI9-OWiW-hPsP-vMI5-7xD2-QlVwia
PV Status allocatable
Total PE / Free PE 51199 / 19583
 
Old 03-12-2010, 03:31 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
All mention of this message online points towards mirrored LVM and a need for a log volume too, which you've not mentioned. Is this post relevant? http://www.redhat.com/archives/linux.../msg00043.html
 
Old 03-12-2010, 04:27 PM   #3
linuxaddict7
LQ Newbie
 
Registered: May 2008
Posts: 17

Original Poster
Rep: Reputation: 0
thank you. Yes.. I looked at that post yesterday night. I am not mirroring anything. I used the following redhat link and made some progress.

http://www.redhat.com/docs/manuals/c...pe_extend.html


"lvs -a -o +stripes,devices" shows that there are 4 stripes with 2 physical devices, /dev/emcpowerb1(0), /dev/emcpowerc1(0), /dev/emcpowerb1(15868), /dev/emcpowerc1(15868). I am not sure how it got the devices with 15868, guessing some kind of mapping.

Also I can force with the command "lvextend -i1 -l+100%FREE vg/stripe1" which will write the data in single stripe causing uneven performance issues.

Now I need to figure out how 4 stripes were created with 2 physical devices.

~LA
 
Old 03-15-2010, 09:48 AM   #4
linuxaddict7
LQ Newbie
 
Registered: May 2008
Posts: 17

Original Poster
Rep: Reputation: 0
Anyone know what the issue, please post. thanks.
 
  


Reply

Tags
lvm2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extend LVM partition rconan Linux - Software 5 08-31-2010 02:32 AM
Need to extend my root LVM to add space jakev383 Fedora 2 11-25-2009 10:01 PM
LVM extend size bravored Linux - General 7 01-21-2009 01:13 PM
LVM only lets me extend online but not reduce with ext3 jimdaworm Debian 2 05-29-2008 11:16 AM
How to extend an existing partition without LVM james.reid Linux - Software 14 06-02-2006 12:48 AM


All times are GMT -5. The time now is 06:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration