- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvextend problem...
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
тАО09-23-2005 03:55 AM
тАО09-23-2005 03:55 AM
while extending one lv i am getting following error..
# lvextend -L 500 /dev/vgapp01/app1
lvextend: "LogicalExtentsNumber" is not bigger than current setting.
#
vg info as below...
# vgdisplay -v /dev/vgapp01 | more
--- Volume groups ---
VG Name /dev/vgapp01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 5
Open LV 5
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 12031
VGDA 2
PE Size (Mbytes) 4
Total PE 12030
Alloc PE 10888
Free PE 1142
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
----------------------------------------------
I think the problem is, in vgdisplay o/p== Max PE per PV = 12031 and Total PE = 12030.
Can we modify extent size of this partcular vg without unmounting and loss of data.
Urgetly waiting for reply..
yogesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2005 03:57 AM
тАО09-23-2005 03:57 AM
Re: lvextend problem...
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2005 04:00 AM
тАО09-23-2005 04:00 AM
Re: lvextend problem...
--- Logical volumes ---
LV Name /dev/vgapp01/app1
VG Name /dev/vgapp01
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 4504
Current LE 1126
Allocated PE 1126
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2005 04:02 AM
тАО09-23-2005 04:02 AM
Re: lvextend problem...
he problem looks more that you try to extend the lv with a smaller size then he now is.
I regon you want to make the filesystem 5000 MB big. Probebly you forget a 0 in the 500.
grtz. Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2005 04:02 AM
тАО09-23-2005 04:02 AM
SolutionIf you want to extend the LV to 5000 MB, do:
# lvextend -L 5000 /dev/vgapp01/app1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2005 04:03 AM
тАО09-23-2005 04:03 AM
Re: lvextend problem...
# lvextend -L 'new_size' lv_name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2005 04:04 AM
тАО09-23-2005 04:04 AM
Re: lvextend problem...
Add a "0" to increase the size up to 5Gig.
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
тАО09-23-2005 04:04 AM
тАО09-23-2005 04:04 AM
Re: lvextend problem...
Your problem is not that you don't have the space, but rather that you are attempting to *shrink* your logical volume.
The '-L' means the number is in *megabytes* not logical extents as with '-l'. Your current size is 4,504 MB.
Remember the message said, '"LogicalExtentsNumber" is not bigger than current setting'. :-))
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2005 04:06 AM
тАО09-23-2005 04:06 AM
Re: lvextend problem...
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2005 04:11 AM
тАО09-23-2005 04:11 AM
Re: lvextend problem...
As stated earlier the problem is in the command issued. The size mentioned in lvextend is more than the current size, and same is clearly mentioed in the error reported by command.
Also, the value MAX_PE_PER_PV=12031 and Total_PE=12030 is not a problem.
MAX_PE_PER_PV defines the max. no. of PEs one physical volume can occupy in that VG. With one disk in a VG , the Value of Total PE can be anything equal to or less than MAX_PE_PER_PV depending upon the size of that disk.
HTH,
Devender