- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Failure possibly caused by PVG-Strict allocation p...
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
тАО03-29-2005 02:34 AM
тАО03-29-2005 02:34 AM
Failure possibly caused by PVG-Strict allocation policy.
Could some one please tell me what might be the problem? I Solved this problem in some othere fashon ( showing at the end of the mail) but i want to know why i am getting this error? I know this command should work, But why it is giving this error?
#lvextend -l 10 /dev/vg02/lvol14 /dev/dsk/c3t2d0 /dev/dsk/c3t7d0
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg02/lvol14" could not be extended.
Failure possibly caused by PVG-Strict allocation policy.
Note: There are number of free PE's in both the disks c3t2d0 and mirror disk c3t7d0.
Solution in other way:-
----------------------
#lvsplit /dev/vg02/lvol14
#lvextend -l 10 /dev/vg02/lvol14 /dev/dsk/c3t2d0
#lvextend -l 10 /dev/vg02/lvol14b /dev/dsk/c3t7d0
#lvmerge /dev/vg02/lvol14b /dev/vg02/lvol14
Now
#pvdisplay -v /dev/vg02/lvol14
is showing 10 PE's in both the disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2005 03:09 AM
тАО03-29-2005 03:09 AM
Re: Failure possibly caused by PVG-Strict allocation policy.
How many disks are there in this vg?? Do all have enough free extents??
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2005 03:14 AM
тАО03-29-2005 03:14 AM
Re: Failure possibly caused by PVG-Strict allocation policy.
A work around is to swap the order of the pvgs in the /etc/lvmpvg file.
Given that workaround is fairly simple, i don't think that there was ever a formal fix put in for it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2005 10:37 PM
тАО03-29-2005 10:37 PM
Re: Failure possibly caused by PVG-Strict allocation policy.
Thaks for the responce.
After some investigation i got the soultion for my problem.
I will explain it now:
below command
#lvextend -l 10 /dev/vg02/lvol14 /dev/dsk/c3t2d0 /dev/dsk/c3t7d0
Here the c3t7d0 disk is mirror to c3t2d0 but in lvmpvg c3t7d0 is not there, but an alternate link for this c3t7d0 is c4t7d0. This is there in it.
#cat lvmpvg
VG /dev/vg00
PVG rootscsi1
/dev/dsk/c1t6d0
PVG rootscsi2
/dev/dsk/c2t6d0
VG /dev/vg01
PVG omc1grp1
/dev/dsk/c3t0d0
/dev/dsk/c3t1d0
PVG omc1grp2
/dev/dsk/c4t5d0
/dev/dsk/c4t6d0
VG /dev/vg02
PVG omc2grp1
/dev/dsk/c3t2d0
/dev/dsk/c3t3d0
PVG omc2grp2
/dev/dsk/c4t7d0
/dev/dsk/c4t8d0
So now i change my actual commad to like this
#lvextend -l 10 /dev/vg02/lvol14 /dev/dsk/c3t2d0 /dev/dsk/c4t7d0
it is working.
Is this the proper way, what i did? Please let me know if ther is any erro in it.
Regards-- sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2005 12:03 AM
тАО03-30-2005 12:03 AM
Re: Failure possibly caused by PVG-Strict allocation policy.
The right order is
Primary link
Secondary link
in your box:
/dev/dsk/c3t7d0
/dev/dsk/c4t7d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2005 04:18 AM
тАО03-30-2005 04:18 AM
Re: Failure possibly caused by PVG-Strict allocation policy.
You are saying "you should add the alter nate links to the lvmpvg" , is it true? I don't think so.
I will explain with a part of my lvmpvg which is working in my m/c.
see Here: (part of lvmpvg )
VG /dev/vg02
PVG omc2grp1
/dev/dsk/c3t2d0--->its mirror is c3t7d0
/dev/dsk/c3t3d0---> it's mirror is c3t8d0
PVG omc2grp2
/dev/dsk/c4t7d0-->is alternate path to c3t7d0
/dev/dsk/c4t8d0-->is alternate path to c3t8d0
so if i want to use "lvextend -m ", i have to mention what ever the PV_Path i mentioned in lvmpvg file. Here c4t7d0 is mentioned insted of c3t7d0, so in my command i have to mention c4t7d0(which is alternate link to c3t7d0).
for this lvmpvg the command should be :
#lvextend -l 10 /dev/vg02/lvol14 /dev/dsk/c3t2d0 /dev/dsk/c4t7d0
if i change my lvmpvg like this
VG /dev/vg02
PVG omc2grp1
/dev/dsk/c3t2d0
/dev/dsk/c3t3d0
PVG omc2grp2
/dev/dsk/c3t7d0
/dev/dsk/c3t8d0
the command should be
#lvextend -l 10 /dev/vg02/lvol14 /dev/dsk/c3t2d0 /dev/dsk/c3t7d0
(both commands are working now , with this change)
So what my understand is,
for a mirror disk we can put praimary/secondary , depends on this we have to change the command.
I don't think we should add alter nate link?
What is your commant...........?