- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mirroring
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-25-2009 04:58 AM
тАО03-25-2009 04:58 AM
mirroring
Actually i wanted to mirror a logical volume.But i got below errors.
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol13" could not be extended.
Failure possibly caused by strict allocation policy
m posting output of vgdisplay vg00
-vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 13
Open LV 13
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4328
VGDA 4
PE Size (Mbytes) 16
Total PE 8636
Alloc PE 7711
Free PE 925
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
---------------
The logical volume details is below given
/dev/vg00/ltest 2048000 726453 1238953 37% /test
from vgdisplay shows there are enough space in vg00
please help on this,
Regards,
Pavan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 05:01 AM
тАО03-25-2009 05:01 AM
Re: mirroring
LVM mirroring occurs at the logical volume level. Stict allocation (which is what you want to maintain) means that mirrored extents cannot occupy the same physical volume. Thus, if you do not have free extents for your mirror on a separate physical disk, you will be denied for the stirct allocation policy enforcement, regardless of the fact that you have free space.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 05:05 AM
тАО03-25-2009 05:05 AM
Re: mirroring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 05:08 AM
тАО03-25-2009 05:08 AM
Re: mirroring
man lvchange
-s strict
Set the strict allocation policy. Mirror copies of a logical
extent can be allocated to share or not share the same physical
volume or physical volume group. This option only makes sense
when the physical volumes of the volume group that owns the
specified logical volume reside on different physical disks.
strict can have one of the following values:
y Set a strict allocation policy. Mirrors of a logical extent
cannot share the same physical volume.
g Set a PVG-strict allocation policy. Mirrors of a logical
extent cannot share the same physical volume group.
n Do not set a strict or a PVG-strict allocation policy.
Mirrors of a logical extent can share the same physical
volume.
what command are you using to mirror the lvol ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 05:15 AM
тАО03-25-2009 05:15 AM
Re: mirroring
# lvdisplay -v /dev/vg00/ltest
together with the command you used to extend.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 05:29 AM
тАО03-25-2009 05:29 AM
Re: mirroring
I have used lvextend -m 1 /dev/vg00/ltest
m posting lvdisplay of ltest
--- Logical volumes ---
LV Name /dev/vg00/ltest
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 2000
Current LE 125
Allocated PE 125
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c2t0d0s2 125 125
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c2t0d0s2 04262 current
00001 /dev/dsk/c2t0d0s2 04263 current
00002 /dev/dsk/c2t0d0s2 04264 current
00003 /dev/dsk/c2t0d0s2 04265 current
00004 /dev/dsk/c2t0d0s2 04266 current
00005 /dev/dsk/c2t0d0s2 04267 current
00006 /dev/dsk/c2t0d0s2 04268 current
00007 /dev/dsk/c2t0d0s2 04269 current
00008 /dev/dsk/c2t0d0s2 04270 current
00009 /dev/dsk/c2t0d0s2 04271 current
00010 /dev/dsk/c2t0d0s2 04272 current
00011 /dev/dsk/c2t0d0s2 04273 current
00012 /dev/dsk/c2t0d0s2 04274 current
00013 /dev/dsk/c2t0d0s2 04275 current
00014 /dev/dsk/c2t0d0s2 04276 current
00015 /dev/dsk/c2t0d0s2 04277 current
00016 /dev/dsk/c2t0d0s2 04278 current
00017 /dev/dsk/c2t0d0s2 04279 current
00018 /dev/dsk/c2t0d0s2 04280 current
00019 /dev/dsk/c2t0d0s2 04281 current
00020 /dev/dsk/c2t0d0s2 04282 current
00021 /dev/dsk/c2t0d0s2 04283 current
00022 /dev/dsk/c2t0d0s2 04284 current
00023 /dev/dsk/c2t0d0s2 04285 current
00024 /dev/dsk/c2t0d0s2 04286 current
00025 /dev/dsk/c2t0d0s2 04287 current
00026 /dev/dsk/c2t0d0s2 04288 current
00027 /dev/dsk/c2t0d0s2 04289 current
00028 /dev/dsk/c2t0d0s2 04290 current
00029 /dev/dsk/c2t0d0s2 04291 current
00030 /dev/dsk/c2t0d0s2 04292 current
00031 /dev/dsk/c2t0d0s2 04293 current
00032 /dev/dsk/c2t0d0s2 04294 current
00033 /dev/dsk/c2t0d0s2 04295 current
00034 /dev/dsk/c2t0d0s2 04296 current
00035 /dev/dsk/c2t0d0s2 04297 current
00036 /dev/dsk/c2t0d0s2 04298 current
00037 /dev/dsk/c2t0d0s2 04299 current
00038 /dev/dsk/c2t0d0s2 02574 current
00039 /dev/dsk/c2t0d0s2 02575 current
00040 /dev/dsk/c2t0d0s2 02576 current
00041 /dev/dsk/c2t0d0s2 02577 current
00042 /dev/dsk/c2t0d0s2 02578 current
00043 /dev/dsk/c2t0d0s2 02579 current
00044 /dev/dsk/c2t0d0s2 02580 current
00045 /dev/dsk/c2t0d0s2 02581 current
00046 /dev/dsk/c2t0d0s2 02582 current
00047 /dev/dsk/c2t0d0s2 02583 current
00048 /dev/dsk/c2t0d0s2 02584 current
00049 /dev/dsk/c2t0d0s2 02585 current
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 05:34 AM
тАО03-25-2009 05:34 AM
Re: mirroring
Please post complete
# vgdisplay -v vg00
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 05:38 AM
тАО03-25-2009 05:38 AM
Re: mirroring
So you don't have 2000MB of free space on mirror disk.
Check #vgdisplay -v vg00 and look at the value of FREE PE's on mirror disk
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 05:38 AM
тАО03-25-2009 05:38 AM
Re: mirroring
Thanks for ur reply
<
Can u explain that?
actually whats strict allocation means?
regards,
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 05:43 AM
тАО03-25-2009 05:43 AM
Re: mirroring
Without "strict" you can mirror a LVOL on the same disk - which makes no sense here.
How about your vgdisplay?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!