- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvextend fail on hpux 11.31
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
08-18-2010 06:59 AM
08-18-2010 06:59 AM
lvextend fail on hpux 11.31
I amtrying to add another 10gb disk to an existing logical volume 155gb. it fails. I also did vgmodify -r -v -o vgname and still not working.
below is the output of command lines
root@server5:/home/root$ lvextend -L 169808 /dev/vgicastst/lvdata
lvextend: Not enough free physical extents available.
Logical volume "/dev/vgicastst/lvdata" could not be extended.
root@server5:/home/root$ vgdisplay vgicastst
--- Volume groups ---
VG Name /dev/vgicastst
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 8
Open LV 8
Max PV 32
Cur PV 17
Act PV 17
Max PE per PV 14332
VGDA 34
PE Size (Mbytes) 4
Total PE 59019
Alloc PE 51411
Free PE 7608
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 1834496m
VG Max Extents 458624
thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2010 07:32 AM
08-18-2010 07:32 AM
Re: lvextend fail on hpux 11.31
/dev/vgicastst is a volume group not a logical volume.
Berd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2010 08:05 AM
08-18-2010 08:05 AM
Re: lvextend fail on hpux 11.31
I try to add 10gb to lvdata to increase disk space to 166gb from 155gb and error is not enough physical extents. How to determine of how many physical extents that i need to accomodate this 10gb?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2010 08:29 AM
08-18-2010 08:29 AM
Re: lvextend fail on hpux 11.31
From the above you have 7608 PE's available at 4MB/PE, or 28GB.
Check the lvdisplay output, or post here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2010 09:58 AM
08-18-2010 09:58 AM
Re: lvextend fail on hpux 11.31
--- Logical volumes ---
LV Name /dev/vgicastst/lvdata
VG Name /dev/vgicastst
LV Permission read/write
LV Status available/syncd
Mirror copies 2
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 159568
Current LE 39892
Allocated PE 39893
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation non-strict
IO Timeout (Seconds) default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2010 10:05 AM
08-18-2010 10:05 AM
Re: lvextend fail on hpux 11.31
If Ur Free PE of 3 PV cannot offer enough PE, then the lvextend will fail;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2010 11:34 AM
08-18-2010 11:34 AM
Re: lvextend fail on hpux 11.31
Some some reason, we have mirror copies = 2 and don't know why is there. All of our lvs are mirrored.
root@server5:/home/root$ vgdisplay -v vgicastst
--- Volume groups ---
VG Name /dev/vgicastst
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 8
Open LV 8
Max PV 32
Cur PV 17
Act PV 17
Max PE per PV 15612
VGDA 34
PE Size (Mbytes) 4
Total PE 59018
Alloc PE 51411
Free PE 7607
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 1998336m
VG Max Extents 499584
--- Logical volumes ---
LV Name /dev/vgicastst/lvhome
LV Status available/syncd
LV Size (Mbytes) 4
Current LE 1
Allocated PE 1
Used PV 1
LV Name /dev/vgicastst/lvora
LV Status available/syncd
LV Size (Mbytes) 17000
Current LE 4250
Allocated PE 4251
Used PV 4
LV Name /dev/vgicastst/lvdata
LV Status available/syncd
LV Size (Mbytes) 159568
Current LE 39892
Allocated PE 39893
Used PV 15
LV Name /dev/vgicastst/lvexport
LV Status available/syncd
LV Size (Mbytes) 28800
Current LE 7200
Allocated PE 7200
Used PV 7
LV Name /dev/vgicastst/lvinfohtst
LV Status available/syncd
LV Size (Mbytes) 4
Current LE 1
Allocated PE 1
Used PV 1
LV Name /dev/vgicastst/lvinfohtstdata
LV Status available/syncd
LV Size (Mbytes) 252
Current LE 63
Allocated PE 63
Used PV 1
LV Name /dev/vgicastst/lvgrntmhome
LV Status available/syncd
LV Size (Mbytes) 4
Current LE 1
Allocated PE 1
Used PV 1
LV Name /dev/vgicastst/lvoraxhome
LV Status available/syncd
LV Size (Mbytes) 4
Current LE 1
Allocated PE 1
Used PV 1
--- Physical volumes ---
PV Name /dev/disk/disk615
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk416
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk399
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk641
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk642
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk640
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk407
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk658
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk657
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk656
PV Status available
Total PE 3472
Free PE 848
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk659
PV Status available
Total PE 3472
Free PE 3189
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk593
PV Status available
Total PE 3471
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk592
PV Status available
Total PE 3471
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk591
PV Status available
Total PE 3471
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk589
PV Status available
Total PE 3471
Free PE 99
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk590
PV Status available
Total PE 3471
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk684
PV Status available
Total PE 3471
Free PE 3471
Autoswitch On
Proactive Polling On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2010 06:13 AM
08-19-2010 06:13 AM
Re: lvextend fail on hpux 11.31
Some some reason, we have mirror copies = 2 and don't know why is there. OTHER LOGICAL VOLUMES IN THIS VG ARE NOT mirrored, ONLY THIS ONE DOES.
root@server5:/home/root$ vgdisplay -v vgicastst
--- Volume groups ---
VG Name /dev/vgicastst
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 8
Open LV 8
Max PV 32
Cur PV 17
Act PV 17
Max PE per PV 15612
VGDA 34
PE Size (Mbytes) 4
Total PE 59018
Alloc PE 51411
Free PE 7607
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 1998336m
VG Max Extents 499584
--- Logical volumes ---
LV Name /dev/vgicastst/lvhome
LV Status available/syncd
LV Size (Mbytes) 4
Current LE 1
Allocated PE 1
Used PV 1
LV Name /dev/vgicastst/lvora
LV Status available/syncd
LV Size (Mbytes) 17000
Current LE 4250
Allocated PE 4251
Used PV 4
LV Name /dev/vgicastst/lvdata
LV Status available/syncd
LV Size (Mbytes) 159568
Current LE 39892
Allocated PE 39893
Used PV 15
LV Name /dev/vgicastst/lvexport
LV Status available/syncd
LV Size (Mbytes) 28800
Current LE 7200
Allocated PE 7200
Used PV 7
LV Name /dev/vgicastst/lvinfohtst
LV Status available/syncd
LV Size (Mbytes) 4
Current LE 1
Allocated PE 1
Used PV 1
LV Name /dev/vgicastst/lvinfohtstdata
LV Status available/syncd
LV Size (Mbytes) 252
Current LE 63
Allocated PE 63
Used PV 1
LV Name /dev/vgicastst/lvgrntmhome
LV Status available/syncd
LV Size (Mbytes) 4
Current LE 1
Allocated PE 1
Used PV 1
LV Name /dev/vgicastst/lvoraxhome
LV Status available/syncd
LV Size (Mbytes) 4
Current LE 1
Allocated PE 1
Used PV 1
--- Physical volumes ---
PV Name /dev/disk/disk615
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk416
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk399
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk641
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk642
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk640
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk407
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk658
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk657
PV Status available
Total PE 3472
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk656
PV Status available
Total PE 3472
Free PE 848
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk659
PV Status available
Total PE 3472
Free PE 3189
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk593
PV Status available
Total PE 3471
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk592
PV Status available
Total PE 3471
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk591
PV Status available
Total PE 3471
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk589
PV Status available
Total PE 3471
Free PE 99
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk590
PV Status available
Total PE 3471
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk684
PV Status available
Total PE 3471
Free PE 3471
Autoswitch On
Proactive Polling On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2010 11:55 AM
08-19-2010 11:55 AM
Re: lvextend fail on hpux 11.31
For example on my mirrored lvol:
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 7168
Current LE 448
Allocated PE 896
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t1d0 448 448
/dev/dsk/c1t0d0 448 448
I notice that your policy is non-strict, make sure your mirrors aren't on the same disk. Also if not needed you can always reduce the mirror(s):
umount from mount point
lvreduce -m 0 /dev/vgicastst/lvdata /dev/dsk/(disk #)