- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- can't extend to 90G : lvextend
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
03-11-2006 10:22 PM
03-11-2006 10:22 PM
DiskArray: XP
filesystem: assume "/dev/bilapvg/event_file"
lvdisplay "/dev/bilapvg/event_file"
PE: 16M
Stripe(s): 4
Allocationpolicy: Strict
------------------------------------------
"/dev/bilapvg/event_file" 25G currently.
I'd like to extend to 90G.
Try to extend a filesystem. But I meet a very strange problem, It failed extend to 90G. Please view the below results, I'm sure the disk space is enough to extend to 90G. However, it is OK to extend to 92G.
Does anyone has any advice to explain such this stange problem? Many Thanks !!
bils01p:/#lvextend -L 92160 /dev/bilapvg/event_file
lvextend: Not enough free physical extents available.
Logical volume "/dev/bilapvg/event_file" could not be extended.
lvextend: Couldn't retrieve the list of the physical volumes
belonging to volume group "/dev/bilapvg".
Failure possibly caused by strict allocation policy
bils01p:/#lvextend -L 61440 /dev/bilapvg/event_file
Logical volume "/dev/bilapvg/event_file" has been successfully extended.
Volume Group configuration for /dev/bilapvg has been saved in /etc/lvmconf/bilap
vg.conf
bils01p:/#lvextend -L 81920 /dev/bilapvg/event_file
Logical volume "/dev/bilapvg/event_file" has been successfully extended.
Volume Group configuration for /dev/bilapvg has been saved in /etc/lvmconf/bilap
vg.conf
bils01p:/#lvextend -L 94208 /dev/bilapvg/event_file
Logical volume "/dev/bilapvg/event_file" has been successfully extended.
Volume Group configuration for /dev/bilapvg has been saved in /etc/lvmconf/bilap
vg.conf
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2006 11:40 PM
03-11-2006 11:40 PM
SolutionYour volume group itself does not have enough extents available for these disks.
Unless told otherwise, the volume group configuration at create time plans for the ability to spread available extents over 255 disks.
That may be realistic for some folks, but not anyone I know.
So what is needed is to set a realistic limit of the number of disks for this volume group and recreate it.
Without fear of damage (still backup first) you can vgexport the volume group and re-create it.
If you think you'll never have more than a say 10 disks in the group, then set a phyiscal volume limit of say 20.
-p 20
Along with the rest of your vgcreate parameters.
Suddenly you'll be able to extend to the size you wish.
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
03-12-2006 12:09 AM
03-12-2006 12:09 AM
Re: can't extend to 90G : lvextend
Thanks for your quickly reponse.
I'm confused that volume group itself have enough extents available. Because it can be extend to 50G or 80G or 92G, but ONLY failed in 90G.
I don't belive this is a BUG of LVM. May be something wrong in my understanding. Please someone give me any other advice or suggestion and help me clarify the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2006 12:31 AM
03-12-2006 12:31 AM
Re: can't extend to 90G : lvextend
a simple explanation could be that at the very moment you tried to extend to 92160, LVM could not access any of the physical disks - the error:
Couldn't retrieve the list of the physical volumes belonging to volume group "/dev/bilapvg".
indicates this and therefore extension fails.
During the following attemps the disks were avialable.
Is that plausible?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2006 01:12 AM
03-12-2006 01:12 AM
Re: can't extend to 90G : lvextend
Can you let us know the stripe size, you have enployed, or is it just "extent stripe".
can you give us the following outputs.
vgdisplay -v /dev/bilapvg
lvdisplay -v /dev/bilapvg/event_file | head -150
Please attach the output instead of pasting driectly in the post.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2006 02:41 PM
03-12-2006 02:41 PM
Re: can't extend to 90G : lvextend
Attached please view the lv and vg details information. Currently, It is extend to 92G. Please help me identify the problem why can't extend to 90G.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2006 04:04 PM
03-12-2006 04:04 PM
Re: can't extend to 90G : lvextend
Since you already have extend it to "92G", Please perform this small harmless test. Try reducing the said LV to "90G". Lets see what happens. May be we can come to a certain conclusion based on the result. But be sure to revert back by extending back.
The test sequence is...
lvreduce -L 92160 /dev/bilapvg/event_file
lvdisplay -v /dev/bilapvg/event_file | head -150
lvextend -L 94208 /dev/bilapvg/event_file
Please attach the output of the above commands for analysis.
Regards,
Senthil Kumar .A