- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
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
06-29-2010 09:21 PM
06-29-2010 09:21 PM
I have extend logical volume
VG Name /dev/testvg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 4
Open LV 4
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 3199
VGDA 2
PE Size (Mbytes) 32
Total PE 3199
Alloc PE 2528
Free PE 671
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
/dev/testvg01/lvol1 24117248 21438332 2637064 89% /test
i have to increase 5gb to /dev/testvg01/lvol1
I have tried this command
#lvextend -L 900 /dev/testvg01/lvol1
Warning: rounding up logical volume size to extent boundary at size "928" MB.
lvextend: "LogicalExtentsNumber" is not bigger than current setting.
ps suggest any one urgent
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2010 09:32 PM
06-29-2010 09:32 PM
SolutionHope 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
06-29-2010 09:38 PM
06-29-2010 09:38 PM
Re: lvextend problem
The upper-case option "-L" specifies the new size in megabytes; the lower-case "-l" specifies the new size as a number of extents.
Your "bdf" output indicates the LV is already bigger than that (its current size is about 24 000 MB), so your command makes no sense.
First lvextend tells you it must round the value 900 MB to the nearest multiple of 32 MB (the PE size), then it notices the problem (you're asking to make the LV smaller than it already is) and stops before doing anything.
I guess you wanted "lvextend -l 900 /dev/testvg01/lvol1"?
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2010 09:55 PM
06-29-2010 09:55 PM
Re: lvextend problem
lvextend -L 5120 /dev/testvg01/lvol1
Provided you have space in the VG.
-L specifies the resultant LV size in MB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2010 10:03 PM
06-29-2010 10:03 PM
Re: lvextend problem
I have done one mistake
i have lvextend -L 900 /dev/testvg01/lvol1
given pv size but normally we given byttes size know! that is the problem
after i given below command
#lvextend -L 28672 /dev/testvg01/lvol1Logical volume "/dev/vg00/lvol6" has been successfully extended.
Volume Group configuration for /dev/testvg has been saved in /etc/lvmconf/vg00.con
before this is 23gb now i extend 28gb
now lvextended
i sorry
thanku for all helping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2010 10:06 PM
06-29-2010 10:06 PM
Re: lvextend problem
#lvextend -L 5120 /dev/testvgo1/lvol1
or else if you want do do in extent no level
#lventend -l 160 /dev/testvgo1/lvol1..
i hope this will work out and make your LV as 5GB
& dont forget to increase the file system too...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2010 10:10 PM
06-29-2010 10:10 PM
Re: lvextend problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2010 10:43 PM
06-29-2010 10:43 PM