- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvextend stripped disks
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-29-2006 10:32 PM
тАО03-29-2006 10:32 PM
lvextend stripped disks
I have created a new vg (vg01) which consists of one large lv stripped across 14x73G disks.
As can be seen from the output below the diskspace is only allocating a fraction of the space to the lv. I have tried to extend this but recieve the following error (below). Any ideas?? I want to allocate all the diskspace to the lv.
# vgdisplay vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 14
Act PV 14
Max PE per PV 8750
VGDA 28
PE Size (Mbytes) 8
Total PE 122486
Alloc PE 15316
Free PE 107170
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
# lvdisplay /dev/vg01/lvol1
--- Logical volumes ---
LV Name /dev/vg01/lvol1
VG Name /dev/vg01
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule striped
LV Size (Mbytes) 122528
Current LE 15316
Allocated PE 15316
Stripes 14
Stripe Size (Kbytes) 64
Bad block on
Allocation strict
IO Timeout (Seconds) default
# lvextend -L 979888 /dev/vg01/lvol1
lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 10:39 PM
тАО03-29-2006 10:39 PM
Re: lvextend stripped disks
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=981210
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 10:41 PM
тАО03-29-2006 10:41 PM
Re: lvextend stripped disks
try to
lvextend -l 122486 /dev/vg01/lvol1
rgds
HGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 10:42 PM
тАО03-29-2006 10:42 PM
Re: lvextend stripped disks
PE Size (Mbytes) 8
Free PE 107170
8 X 107170 = 857360
# lvextend -L 857360 /dev/vg01/lvol1
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 11:37 PM
тАО03-29-2006 11:37 PM
Re: lvextend stripped disks
Hi,
with lvextend, It is always
-l --> interms of extents
-L --> interms of MB
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 11:38 PM
тАО03-29-2006 11:38 PM
Re: lvextend stripped disks
we have
Free PE 107170
and PE size 8MB
hence max free space is 857360 MB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2006 12:11 AM
тАО03-30-2006 12:11 AM
Re: lvextend stripped disks
I appreciate the feedback back but unfortunately its not any help.
Hemmetter, this is an invalid command.
Robert, you have just replicated the I issue I have outlined; i.e.
lvextend -L 857360 /dev/vg01/lvol1
lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.
Duffs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2006 12:52 AM
тАО03-30-2006 12:52 AM
Re: lvextend stripped disks
Increase the space allocated to the logical volume, specified in megabytes. lv_size is a decimal value greater than the current logical volume size, in the range 1 to 16777216 (the implementation limit). lv_size is rounded up to the nearest multiple of the logical extent size, equivalent to the physical extent size defined for the volume group by the vgcreate command (see vgcreate(1M)).
lvextend -L 857360 /dev/vg01/lvol1 is the exact limit!
Try to use 857353 or 857352.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2006 12:59 AM
тАО03-30-2006 12:59 AM
Re: lvextend stripped disks
echo "107170 * 8" | bc -l
857360
Which is nothing but:
(FREE PE * PE SIZE ) & use this value to extend your LV
lvextend -L 857360 /dev/vgname/lvname
Hope it helps..
Gud luk
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2006 01:43 AM
тАО03-30-2006 01:43 AM
Re: lvextend stripped disks
Ok I have discovered what the problem.
Max PE per PV needed to be increased. The PE's were maxed at approx 60G which ment that it was utilizing the full use of diskspace available to it but not all of the extents were being allocated to each disk, therefore it was falling short of its max.
I needed to blow the vg away and recreate it using the -e option to increase the max number of PE's allocated to each PV.
Rgds,
Duffs