- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Added a new LUN but unable to lvextend LV
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
тАО11-09-2006 09:51 PM
тАО11-09-2006 09:51 PM
Added a new LUN but unable to lvextend LV
and carried out the following commands.
insf -e
pvcreate /dev/dsk/c14t0d7
vgextend /dev/vg02 /dev/dsk/c14t0d7 and alt links.
umount /dev/vg02/lvoraerp
lvextend -L 127920 /dev/vg02/lvoraerp
got the error: Not enough free physical extents.
vgdisplay -v vg02 - looks like this
--- Volume groups ---
VG Name /dev/vg02
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 5
Act PV 5
Max PE per PV 1599
VGDA 10
PE Size (Mbytes) 16
Total PE 7995
Alloc PE 6396
Free PE 1599
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Any ideas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2006 10:03 PM
тАО11-09-2006 10:03 PM
Re: Added a new LUN but unable to lvextend LV
you only have 1599*16Mb =25584 Mb available.
You are trying to increase lvoraerp to 127920 Mb. How big is lvoraerp it at the moment? Also review your max PE per PV and Total PVs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2006 10:04 PM
тАО11-09-2006 10:04 PM
Re: Added a new LUN but unable to lvextend LV
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2006 10:11 PM
тАО11-09-2006 10:11 PM
Re: Added a new LUN but unable to lvextend LV
Normally to recognize disk space a reboot and/or insf -C disk is required.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2006 10:25 PM
тАО11-09-2006 10:25 PM
Re: Added a new LUN but unable to lvextend LV
The Logical Volume:lvoraerp is currently
Space Available in Volume Group (Mbytes): 25584
Current Logical Volume Size (Mbytes): 102336
--- Logical volumes ---
LV Name /dev/vg02/lvoraerp
VG Name /dev/vg02
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 102336
Current LE 6396
Allocated PE 6396
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict/distributed
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c14t0d0 1599 1599
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2006 10:32 PM
тАО11-09-2006 10:32 PM
Re: Added a new LUN but unable to lvextend LV
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2006 03:13 PM
тАО11-11-2006 03:13 PM
Re: Added a new LUN but unable to lvextend LV
Try lvextend'ing lvoraerp onto the newly added LUN i.e.
# lvextend -L 127920 /dev/vg02/lvoraerp /dev/dsk/c14t0d7
~cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2006 12:32 AM
тАО11-12-2006 12:32 AM
Re: Added a new LUN but unable to lvextend LV
I have a question, is the new disk bigger dan the disk already in the volume group.
If thats the case you have to export and import the volume group to make the volumegroup aware of the bigger disk.
For now is the limmet the disk size of the biggest disk when you created the volume group.
You have to make the volumegroup aware of a disk that is 25 Gig big.
grtz. Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2006 08:29 AM
тАО11-12-2006 08:29 AM
Re: Added a new LUN but unable to lvextend LV
Old: 4 * 1599 * 16 = 102336
Add: 1 * 1599 * 16 = 25584
New: 5 * 1599 * 16 = 127920
John, I think the system refuses the request due to the "Allocation PVG-strict/distributed" setting.
You could try lvchange to change that.
However... in the current setup all allocation, and with the hopefully the IO, is supposed to be spread evenly over the existing 4 PV's.
Adding the 5'th in non-strict mode will cause all future allocation do come from that 1 specific lun. If, at the VA7410 end of it, that lun is created on a limited number of drive, then those may become 'too hot'. It is not uncommon to have recenetly allocated data be the most active part of a DB. Of course if the 5th lun is just an other slice of a bulk disk group then it matters little.
See also:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=841424
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2006 10:09 PM
тАО11-13-2006 10:09 PM
Re: Added a new LUN but unable to lvextend LV
I think the strict allocation policy may be the answer, i will be arranging some downtime with the users so that i can try out the lvchange.