mklvcopy时候出现0516-404的问题

一次系统部署,少镜像了一条lv,不用默认的mirrorvg命令,尝试用mklvcopy时出现:
0516-404:allocap:This system cannot fulfill the allocation request.There are not enough free partitions or not enough physical volumes
to keep stricness and satisfy allocation requests.The command should be retried with different allocation characteristics.

经过查询AIX命令手册:通过mklvcopy -s n参数解决!

-s Strict 确定严格的分配策略。逻辑分区的副本可以分配为是否共享相同的物理卷。Strict 参数由以下之一表示:
y 设置一个严格的分配策略,这样逻辑分区的副本无法共享相同的物理卷。这是分配策略的缺省值。
n 没有设置一个严格的分配策略,这样逻辑分区的副本可以共享相同的物理卷。
s 设置一个超级严格的分配策略,这样为一个镜像分配的分区就无法与另一个镜像的分区共享相同的物理卷

MSIDSDB1:/#mklvcopy -s n lvopenv 2 hdisk1
MSIDSDB1:/#lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 32 64 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 10 20 2 open/syncd /
hd2 jfs2 24 48 2 open/syncd /usr
hd9var jfs2 20 40 2 open/syncd /var
hd3 jfs2 20 40 2 open/syncd /tmp
hd1 jfs2 20 40 2 open/syncd /home
hd10opt jfs2 8 16 2 open/syncd /opt
hd11admin jfs2 1 2 2 open/syncd /admin
lg_dumplv sysdump 10 20 2 open/syncd N/A
livedump jfs2 1 2 2 open/syncd /var/adm/ras/livedump
lvcmbc_admin jfs2 20 40 2 open/syncd /cmbc_admin
lvopenv jfs2 40 80 2 open/stale /usr/openv
MSIDSDB1:/#lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 00f92e9f00004c000000014b74f48ccb
VG STATE: active PP SIZE: 512 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1116 (571392 megabytes)
MAX LVs: 256 FREE PPs: 700 (358400 megabytes)
LVs: 14 USED PPs: 416 (212992 megabytes)
OPEN LVs: 13 QUORUM: 1 (Disabled)
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 1 STALE PPs: 40
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 1024 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
PV RESTRICTION: none INFINITE RETRY: no
MSIDSDB1:/#lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 00f92e9f00004c000000014b74f48ccb
VG STATE: active PP SIZE: 512 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1116 (571392 megabytes)
MAX LVs: 256 FREE PPs: 700 (358400 megabytes)
LVs: 14 USED PPs: 416 (212992 megabytes)
OPEN LVs: 13 QUORUM: 1 (Disabled)
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 1 STALE PPs: 40
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 1024 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
PV RESTRICTION: none INFINITE RETRY: no
MSIDSDB1:/#syncvg -v rootvg
MSIDSDB1:/#lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 00f92e9f00004c000000014b74f48ccb
VG STATE: active PP SIZE: 512 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1116 (571392 megabytes)
MAX LVs: 256 FREE PPs: 700 (358400 megabytes)
LVs: 14 USED PPs: 416 (212992 megabytes)
OPEN LVs: 13 QUORUM: 1 (Disabled)
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 1024 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
PV RESTRICTION: none INFINITE RETRY: no
MSIDSDB1:/#lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 32 64 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 10 20 2 open/syncd /
hd2 jfs2 24 48 2 open/syncd /usr
hd9var jfs2 20 40 2 open/syncd /var
hd3 jfs2 20 40 2 open/syncd /tmp
hd1 jfs2 20 40 2 open/syncd /home
hd10opt jfs2 8 16 2 open/syncd /opt
hd11admin jfs2 1 2 2 open/syncd /admin
lg_dumplv sysdump 10 20 2 open/syncd N/A
livedump jfs2 1 2 2 open/syncd /var/adm/ras/livedump
lvcmbc_admin jfs2 20 40 2 open/syncd /cmbc_admin
lvopenv jfs2 40 80 2 open/syncd /usr/openv

If you enjoyed this post, make sure you subscribe to my RSS feed!
此条目发表在AIX, 操作系统分类目录,贴了标签。将固定链接加入收藏夹。

发表评论

电子邮件地址不会被公开。 必填项已用*标注

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image