- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't extend a LV (lvextend: Not enough free physi...
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
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
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-13-2013 01:41 AM - last edited on 03-13-2013 06:35 PM by Maiko-I
03-13-2013 01:41 AM - last edited on 03-13-2013 06:35 PM by Maiko-I
I want to extend the lv on hp-ux, but I can't. One message shown that "lvextend: Not enough free physical extents available". OS Information is given bellow. Please help me ...
bash-4.1# vgdisplay -v vg26
--- Volume groups ---
VG Name /dev/vg26
VG Write Access read/write
VG Status available
Max LV 511
Cur LV 1
Open LV 1
Max PV 511
Cur PV 1
Act PV 1
Max PE per PV 131072
VGDA 2
PE Size (Mbytes) 64
Total PE 47
Alloc PE 47
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 2.0
VG Max Size 8t
VG Max Extents 131072
--- Logical volumes ---
LV Name /dev/vg26/lvol1
LV Status available/syncd
LV Size (Mbytes) 3008
Current LE 47
Allocated PE 47
Used PV 1
--- Physical volumes ---
PV Name /dev/disk/disk34
PV Status available
Total PE 47
Free PE 0
Autoswitch On
Proactive Polling On
bash-4.1# lvextend -L 5056 /dev/vg26/lvol1
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg26/lvol1" could not be extended.
Failure possibly caused by strict allocation policy
bash-4.1# uname -a
HP-UX OBL-DB2 B.11.31 U ia64 2780415912 unlimited-user license
P.S. This thread has been moved from Community Feedback & Suggestions > HP-UX > LVM - HP Forums moderator
Solved! Go to Solution.
- Tags:
- lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2013 04:20 AM
03-13-2013 04:20 AM
Solution> Free PE 0
All the available capacity in the VG has already been used. To extend the LV, you must first add some more capacity to the VG, either by adding one or more new PVs or by extending the existing PV. Adding new PVs is usually recommended, although extending the existing PV is possible too.
Have the storage administrator present you a new disk/LUN. Use "ioscan -fnNCdisk" to confirm that it is visible to the system. If necessary, run "insf" to create the device nodes for it.
Once the new disk is visible as e.g. /dev/[r]disk/disk99, use pvcreate to initialize it as a LVM PV, and then vgextend to add it to your volume group:
pvcreate /dev/rdisk/disk99 vgextend vg26 /dev/disk/disk99
After this, you should be able to proceed with the lvextend operation as usual.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2013 08:54 AM
03-13-2013 08:54 AM
Re: Can't extend a LV (lvextend: Not enough free physical extents available.)
Thanks a lot. lvextend is working now.