- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- not enough physical extents when extending a logic...
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
09-09-2004 12:11 AM
09-09-2004 12:11 AM
not enough physical extents when extending a logical volume
I have an existing logical volume that uses all of the space on an existing 36gig drive. When I use SAM to configure the new 146gig drive and extend the existing logical volume I get the "not enough physical extents message". I have tried reducing the ammount of physical space used to extend the logical volume but the same message keep coming up. I also tried setting up a new logical volume with the new disk but again I get the same message.
Do I have to defrag the new drive somehow since it has been used on a PA-RISC machine.
Before I removed the disk from the PA-RISC machine I moved all data off onto other disks and used sam to unconfigure it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 12:18 AM
09-09-2004 12:18 AM
Re: not enough physical extents when extending a logical volume
It sounds to me like the max PE per PV was allowed to default when the VG was originally created and is now to low for the size of this new disk. Unfortunately, the only way to fix this is to re-create the VG from scratch and restore the data.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 12:25 AM
09-09-2004 12:25 AM
Re: not enough physical extents when extending a logical volume
I should add: to check this, run vgdisplay on the vg that the lv belongs to and check the Max PE per PV figure and the PE Size figure. If you do the math, I think you'll see that it comes out to the 36GB size you used to have.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 12:29 AM
09-09-2004 12:29 AM
Re: not enough physical extents when extending a logical volume
# vgcreate -e max_pe
Set the maximum number of physical extents that can be allocated from any of the physical volumes in the volume group. The default value for max_pe is 1016. However, if the size of any physical volume exceeds 1016 times the pe_size, the default value for max_pe is adjusted to match the physical volume size. The maximum number of physical extents can be a value in the range 1 to 65535
I think you should rebuild your complete volume group.
MB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 12:40 AM
09-09-2004 12:40 AM
Re: not enough physical extents when extending a logical volume
you should use the "-e
Default is 1016 and maximum is 65535
vgcreate -e
Regards
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 12:40 AM
09-09-2004 12:40 AM
Re: not enough physical extents when extending a logical volume
The -e max_pe will adjust automatically:
The
default value for max_pe is 1016. However,
if the size of any physical volume exceeds
1016 times the pe_size, the default value for
max_pe is adjusted to match the physical
volume size. The maximum number of physical
extents can be a value in the range 1 to
65535.
SAM will do it for you if you create a new vg - but you can add to an existing one if the pe_size is too small....
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 01:30 AM
09-09-2004 01:30 AM
Re: not enough physical extents when extending a logical volume
This explains why I have not had this error before since this is the first time I have tried to extend an existing volume group.
I dont like the idea of recreating the VG so I will just add the volume under a new VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2004 01:57 AM
09-09-2004 01:57 AM
Re: not enough physical extents when extending a logical volume
glad to hear that we could help you - so please don't forget to assign points
Regards
Franky