- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LVM mirroring issue
Operating System - HP-UX
1752577
Members
4661
Online
108788
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-28-2005 07:53 AM
тАО09-28-2005 07:53 AM
LVM mirroring issue
Hi all!
Im facing this problem while doin LVM mirroring could any1 guide me to solve this issue.
i've changed my Allocation policy to PVG-strict by issuin the following command:
#lvchange -s g /dev/vgdata/lvol1
After doin that i hv create a /etc/lvmpvg file contain the following etries
VG /dev/vgdata
PVG eva01
/dev/dsk/c0t2d0
PVG ev02
/dev/dsk/c1t2d0
After doin that when i verifiedir thru vgdisplay -v vgdata command. and PVG entries are there.
Now when im trying to mirror the two disks with lvextend. Im facing the following error:
# lvextend -m 1 /dev/vgdata/lvol1 eva01 eva02
lvextend: Not enough free physical extents available.
Logical volume "/dev/vgdata/lvol1" could not be extended.
Kindly let me know, if im not using the proper syntax for lvextend command or theres some other issue in it.
Any help in this regard is highly appreciated.
Byee
Im facing this problem while doin LVM mirroring could any1 guide me to solve this issue.
i've changed my Allocation policy to PVG-strict by issuin the following command:
#lvchange -s g /dev/vgdata/lvol1
After doin that i hv create a /etc/lvmpvg file contain the following etries
VG /dev/vgdata
PVG eva01
/dev/dsk/c0t2d0
PVG ev02
/dev/dsk/c1t2d0
After doin that when i verifiedir thru vgdisplay -v vgdata command. and PVG entries are there.
Now when im trying to mirror the two disks with lvextend. Im facing the following error:
# lvextend -m 1 /dev/vgdata/lvol1 eva01 eva02
lvextend: Not enough free physical extents available.
Logical volume "/dev/vgdata/lvol1" could not be extended.
Kindly let me know, if im not using the proper syntax for lvextend command or theres some other issue in it.
Any help in this regard is highly appreciated.
Byee
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2005 08:00 AM
тАО09-28-2005 08:00 AM
Re: LVM mirroring issue
I assume the /dev/vgdata/lvol1 is already configured? Does it reside on the disk in eva01 or eva02?
If the LV already exists on the disk in eva01, then try this:
# lvextend -m 1 /dev/vgdata/lvol1 eva02
or just try:
# lvextend -m 1 /dev/vgdata/lvol1
If you don't specify any disks, LVM should pick the correct disk from the correct PVG.
If the LV already exists on the disk in eva01, then try this:
# lvextend -m 1 /dev/vgdata/lvol1 eva02
or just try:
# lvextend -m 1 /dev/vgdata/lvol1
If you don't specify any disks, LVM should pick the correct disk from the correct PVG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2005 08:06 AM
тАО09-28-2005 08:06 AM
Re: LVM mirroring issue
Hi:
When PVG-Strict allocation is inforce, mirrors of a logical extent cannot share the same physical volume group. The "not enough free physical extents available" message means that pool of free entents is not allocated in a fashion that satisfies the PVG-strict allocation policy. This is not unexpected if you set the policy after the logical volume was originally allocated.
Do a 'vgdisplay -v vgNN' to see if you have enough free extents on both physical volumes and 'lvdisplay -v /dev/vgNN/lvolX' to see the current distribution of physical extents across them.
Regards!
...JRF...
When PVG-Strict allocation is inforce, mirrors of a logical extent cannot share the same physical volume group. The "not enough free physical extents available" message means that pool of free entents is not allocated in a fashion that satisfies the PVG-strict allocation policy. This is not unexpected if you set the policy after the logical volume was originally allocated.
Do a 'vgdisplay -v vgNN' to see if you have enough free extents on both physical volumes and 'lvdisplay -v /dev/vgNN/lvolX' to see the current distribution of physical extents across them.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2005 04:12 PM
тАО09-28-2005 04:12 PM
Re: LVM mirroring issue
HI BYEE
1, show me result of vgdisplay
#vgdisplay /dev/vgdata
2, show contents of /etc/lvmpvg
#cat /etc/lvmpvg
after review you result, I will give you solution.
tienna
1, show me result of vgdisplay
#vgdisplay /dev/vgdata
2, show contents of /etc/lvmpvg
#cat /etc/lvmpvg
after review you result, I will give you solution.
tienna
HP is simple
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP