- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvextend error
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
10-21-2002 12:15 AM
10-21-2002 12:15 AM
I hope that someone can help me or have a great suggestion. I have one vg that has 5 disks. 4 diks of 14gb and one disk of 7gb. Now I want to increase the size of a lvol on this vg and I get the message: lvextend: Not enough free physical extents available
When I looked at the free physical extends of the diks I see the following:vgdisplay -v /dev/fnvg | egrep "PV Name|Free PE"
Free PE 6726
PV Name /dev/dsk/c9t0d0
PV Name /dev/dsk/c19t8d0 Alternate Link
Free PE 1660
PV Name /dev/dsk/c9t8d0
PV Name /dev/dsk/c19t0d0 Alternate Link
Free PE 1688
PV Name /dev/dsk/c9t8d2
PV Name /dev/dsk/c19t0d2 Alternate Link
Free PE 0
PV Name /dev/dsk/c12t0d0
PV Name /dev/dsk/c22t8d0 Alternate Link
Free PE 1684
PV Name /dev/dsk/c12t8d0
PV Name /dev/dsk/c22t0d0 Alternate Link
Free PE 1694
On these disk there is extend base stripping.
So I think that the problem is that on the disk of 7gb there is no free PE left so you cannot enlarge the lv.
But is their an easy way to make it work so I can extend the logical volume ?
Thenks al lot. Greetings Bart
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 12:28 AM
10-21-2002 12:28 AM
Re: lvextend error
Is the logical volume set to contiguous mode? If so, then it needs the physical extents to be one after the other, and therefore cannot complete the extend, since most probably there is another logical volume on the way.
HTH,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 12:29 AM
10-21-2002 12:29 AM
Re: lvextend error
If the lvol is extent striped and not 'properly' striped then you could stop the full disk from being considered by LVM by simply removing it from /etc/lvmpvg - just vi /etc/lvmpvg.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 12:36 AM
10-21-2002 12:36 AM
Re: lvextend error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 12:39 AM
10-21-2002 12:39 AM
Re: lvextend error
If you cant free up any PE on the disk with none free then all you can do is create a new lvol on the 4 disks which do have free PE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 12:42 AM
10-21-2002 12:42 AM
Re: lvextend error
I think it has to do with the striping.
Probably the best way to solve this is to backup the data in that volume group and create it all over with the right sizes and put the backed up data back from tape.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 12:43 AM
10-21-2002 12:43 AM
Re: lvextend error
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 12:46 AM
10-21-2002 12:46 AM
Re: lvextend error
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 12:47 AM
10-21-2002 12:47 AM
Re: lvextend error
In this case there needs to be an /etc/lvmpvg file specifying at least one PVG (or more if the lvol is mirrored). Maybe your /etc/lvmpvg is missing or does not contain enouth PVGs with enough disks? See man lvmpvg(4).
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 12:54 AM
10-21-2002 12:54 AM
SolutionIf your lvol is not mirrored then you may try to extend using a lvmpvg that contains all disks in a single PVG.
VG /dev/fnvg
PVG PVG0
/dev/dsk/c9t0d0
/dev/dsk/c9t8d0
/dev/dsk/c9t8d2
/dev/dsk/c12t0d0
/dev/dsk/c12t8d0
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 01:21 AM
10-21-2002 01:21 AM
Re: lvextend error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 01:38 AM
10-21-2002 01:38 AM
Re: lvextend error
It may be version/patch related but on my test system with /etc/lvmpvg removed, I get the error:
lvextend: Error detected when reading from file "/etc/lvmpvg".
rather than
lvextend: Not enough free physical extents available
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 02:21 AM
10-21-2002 02:21 AM
Re: lvextend error
But I thought that was not the problem so I made that file with the rights it needed and then I got the message no free extends.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 02:31 AM
10-21-2002 02:31 AM
Re: lvextend error
/etc/lvmpvg must have existed when the volume was initially created, possibly on another server if the disks are shared.
Having an empty /etc/lvmpvg stops the 'error reading' from message but as there are are no disk entries, you get the 'not enough extents' error.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 02:44 AM
10-21-2002 02:44 AM
Re: lvextend error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 03:07 AM
10-21-2002 03:07 AM
Re: lvextend error
I said (or thought I did) that they had to be in the file - it looked as though Hans had simply created an empty lvmpvg.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 03:11 AM
10-21-2002 03:11 AM
Re: lvextend error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 03:23 AM
10-21-2002 03:23 AM
Re: lvextend error
This means that /etc/lvmpvg must have existed when the LV was originally created and must exist for you to lvextend it. You just need to edit it as per Dietmar's post...
VG /dev/fnvg
PVG PVG0
/dev/dsk/c9t0d0
/dev/dsk/c9t8d0
/dev/dsk/c9t8d2
/dev/dsk/c12t0d0
/dev/dsk/c12t8d0
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 03:31 AM
10-21-2002 03:31 AM