Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error on mklvcopy

Status
Not open for further replies.

mrn

MIS
Apr 27, 2001
3,993
GB
Bit of a strange one this.

AIX 5.3 TL9 SP1

Code:
datavg

datavg:
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT
export_lv           jfs2       1680    3360    6    open/syncd    /export
loglv00             jfs2log    1       2       2    open/syncd    N/A
cvsroot             jfs2       48      96      2    open/syncd    /cvsroot
viobackup           jfs2       160     320     2    open/syncd    /export/VIObackups
oachecklv           jfs2       3       6       2    open/syncd    /export/oacheck
oachecklogslv       jfs2       64      128     2    open/syncd    /export/oachecklogs
was_lv              jfs2       160     160     1    open/syncd    /export/software/WebSphere


Code:
lsvg -p datavg

datavg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk10           active            573         0           00..00..00..00..00
hdisk5            active            573         413         115..00..69..114..115
hdisk11           active            573         509         115..51..114..114..115
hdisk6            active            573         0           00..00..00..00..00
hdisk13           active            573         39          00..00..00..00..39
hdisk17           active            573         413         115..00..69..114..115
hdisk15           active            573         361         115..00..17..114..115
hdisk19           active            573         573         115..115..114..114..115
hdisk20           active            573         573         115..115..114..114..115
hdisk21           active            573         573         115..115..114..114..115
hdisk22           active            573         39          00..00..00..00..39
hdisk23           active            573         570         115..112..114..114..115
hdisk24           active            573         573         115..115..114..114..115
hdisk25           active            573         0           00..00..00..00..00
hdisk28           active            573         573         115..115..114..114..115
hdisk29           active            573         572         115..114..114..114..115
hdisk30           active            573         509         115..51..114..114..115
hdisk31           active            573         0           00..00..00..00..00
hdisk32           active            573         525         115..67..114..114..115
hdisk33           active            573         573         115..115..114..114..115

running mklvcopy was_lv 2 produces the following error

Code:
0516-404 allocp: This system cannot fulfill the allocation request.
        There are not enough free partitions or not enough physical volumes 
        to keep strictness and satisfy allocation requests.  The command
        should be retried with different allocation characteristics.
0516-1517 mklvcopy: Failed to create a valid partition allocation.
0516-842 mklvcopy: Unable to make logical partition copies for
        logical volume.

But I can create a new lv "test_lv" and mklvcopy syncvg -l test_lv works.

Got a call open, but wondered if anyone has seen this before?

Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
show [tt]lslv was_lv[/tt] output please?

If UPPER BOUND is set to 1, LVM won't be able to assign PPs on another PV to create a mirror.

Needs at least UPPER BOUND 2 or the default of 32...


HTH,

p5wizard
 
Thanks P5, I'd just reliased that was the problem, always the simple things that catch me out......

Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
This has caught me a few times too...
These error messages don't give a lot of clues do they?

HTH,

p5wizard
 
right.

I had the same problem long time ago. It took some time to fix it in my case.... ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top