添加一个磁盘到rootvg,产生的错误的解决。
[
|
2007/08/27 20:43]
|
2007/08/27 20:43]
简要描述如下:安装好系统后,hdisk1被rootvg使用,hdisk0为空。操作想让hdisk0加入rootvg,因为hdisk1只有17364M,而hdisk0则有70007M。
错误如下:
# extendvg rootvg hidsk0
0516-306 extendvg: Unable to find physical volume hidsk0 in the Device
Configuration Database.
0516-792 extendvg: Unable to extend volume group.
中途:google,有人说:加参数 -f
# extendvg -f rootvg hdisk0
0516-1162 extendvg: Warning, The Physical Partition Size of 32 requires the
creation of 2187 partitions for hdisk0. The limitation for volume group
rootvg is 1016 physical partitions per physical volume. Use chvg command
with -t option to attempt to change the maximum Physical Partitions per
Physical volume for this volume group.
0516-792 extendvg: Unable to extend volume group.
错误不一样了。呵呵。再google,稍安毋躁
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.baseadmn/doc/baseadmndita/physpartlimit.htm
再找到
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp
搜索chvg下的参数 -t的描述,再看下面的示例。进而解决。
急着解决问题的人,直接看解决方法吧,至于有时间的人可以看看下段的前因后果。
解决方法:
# chvg -t 3 rootvg
0516-1164 chvg: Volume group rootvg changed. With given characteristics rootvg
can include upto 10 physical volumes with 3048 physical partitions each.
# extendvg rootvg hdisk0
至此,成功。
# lspv
hdisk0 000604df45d6359e rootvg active
hdisk1 000604df91a01156 rootvg active
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 000604df00004c000000011445087796
VG STATE: active PP SIZE: 32 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 2729 (87328 megabytes)
MAX LVs: 256 FREE PPs: 2663 (85216 megabytes)
LVs: 9 USED PPs: 66 (2112 megabytes)
OPEN LVs: 8 QUORUM: 2
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per VG: 30480
MAX PPs per PV: 3048 MAX PVs: 10
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
详解如下,先把先前的出错环境列示出来,逐步操作解释说明:
# lspv
hdisk0 000604df45d6359e None
hdisk1 000604df91a01156 rootvg active
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 000604df00004c000000011445087796
VG STATE: active PP SIZE: 32 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 542 (17344 megabytes)
MAX LVs: 256 FREE PPs: 476 (15232 megabytes)
LVs: 9 USED PPs: 66 (2112 megabytes)
OPEN LVs: 8 QUORUM: 2
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
# bootinfo -s hdisk1
17364
# bootinfo -s hdisk0
70007
操作步骤如下:
# extendvg -f rootvg hdisk0
0516-1162 extendvg: Warning, The Physical Partition Size of 32 requires the
creation of 2187 partitions for hdisk0. The limitation for volume group
rootvg is 1016 physical partitions per physical volume. Use chvg command
with -t option to attempt to change the maximum Physical Partitions per
Physical volume for this volume group.
0516-792 extendvg: Unable to extend volume group.
# chvg -t 2 rootvg
0516-1164 chvg: Volume group rootvg changed. With given characteristics rootvg
can include upto 16 physical volumes with 2032 physical partitions each.
# extendvg -f rootvg hdisk0
0516-1162 extendvg: Warning, The Physical Partition Size of 32 requires the
creation of 2187 partitions for hdisk0. The limitation for volume group
rootvg is 2032 physical partitions per physical volume. Use chvg command
with -t option to attempt to change the maximum Physical Partitions per
Physical volume for this volume group.
0516-792 extendvg: Unable to extend volume group.
# chvg -t 3 rootvg
0516-1164 chvg: Volume group rootvg changed. With given characteristics rootvg
can include upto 10 physical volumes with 3048 physical partitions each.
0516-1162 extendvg: Warning, The Physical Partition Size of 32 requires the
creation of 2187 partitions for hdisk0. The limitation for volume group
rootvg is 1016 physical partitions per physical volume. Use chvg command
with -t option to attempt to change the maximum Physical Partitions per
Physical volume for this volume group.
0516-792 extendvg: Unable to extend volume group.
试译如下:
0516-1162 extendvg: 警告,hdisk0的物理分区大小(pps)是32M,需要建立2187个分区。超出了卷组rootvg
默认的1016个物理分区的限制。用chvg命令-t参数尝试改变卷组的每个物理卷(PV)的最大的物理分区数。
如果英文好,真省事,我英文不好,郁闷,看了半天。还好是自己看着词霸解决的。不求人,挺爽的!
结论如下:
卷组本身对于物理卷有着,最大的物理分区数的限制。就是说1个磁盘,在被加入到卷组中,要受到其默认参数,PP
size和MAX PPs per PV的影响。看命令lsvg里面吧。所以这次要加的硬盘是70007M。原来默认的MAX PPs per PV是1016,故而不够,所以我逐次递增。其实应该自己算一下的。70007/32约等于2187,自己看看提示刚才那个英文翻译。呵呵,AIX已经帮你算过了。那你问我那个3是怎么来的??好吧。都告诉你。如下:
打开http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp,搜索chvg。找到-t参数如下:
-t [factor] 更改每个物理卷的物理分区数的限制,由 factor 指定。对于 32 个磁盘卷组,factor 应该在 1 和 16 之间,对于 128 个磁盘卷组,则在 1 和 64 之间。
如果未提供 factor,则它设置到最低值,以便卷组中的最大磁盘的物理分区数小于 factor x 1016。
如果指定了 factor,则对于此卷组,每个物理卷的物理分区的最大数更改为 factor x 1016。
注:
1. 对于可伸缩类型的卷组,该选项将被忽略。
2. 如果违背每个物理卷限制的 1016 个物理分区,在 AIX 4.1.2 中创建卷组,则此标志可用于将卷组转换为受支持的状态。这将确保分区的正确的旧/新的标记。
3. 如果卷组中有任何旧文件物理分区,则不能更改 factor。
4. 一旦转换了卷组,则它不能导入到 AIX 4.3 或更低版本。
5. 如果卷组在并行方式下联机,则不能使用此标志。
6. 可能包括在此卷组中的物理卷的最大数将减少为(MAXPVS/factor)。
本文链接:http://www.52zhe.cn/read.php/82.htm
本文作者:kook(若就博客内所涉及的技术问题交流,请用下面的MSN或Gmail联系我)
联系方式:(MSN:kook#live.com) (Google talk:kookliu)
没有版权:GNU,转载时请注明“转载人”欠本人一顿饭,来日见面之时兑现!谢谢合作!
错误如下:
引用
# extendvg rootvg hidsk0
0516-306 extendvg: Unable to find physical volume hidsk0 in the Device
Configuration Database.
0516-792 extendvg: Unable to extend volume group.
中途:google,有人说:加参数 -f
# extendvg -f rootvg hdisk0
0516-1162 extendvg: Warning, The Physical Partition Size of 32 requires the
creation of 2187 partitions for hdisk0. The limitation for volume group
rootvg is 1016 physical partitions per physical volume. Use chvg command
with -t option to attempt to change the maximum Physical Partitions per
Physical volume for this volume group.
0516-792 extendvg: Unable to extend volume group.
错误不一样了。呵呵。再google,稍安毋躁
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.baseadmn/doc/baseadmndita/physpartlimit.htm
再找到
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp
搜索chvg下的参数 -t的描述,再看下面的示例。进而解决。
急着解决问题的人,直接看解决方法吧,至于有时间的人可以看看下段的前因后果。
解决方法:
# chvg -t 3 rootvg
0516-1164 chvg: Volume group rootvg changed. With given characteristics rootvg
can include upto 10 physical volumes with 3048 physical partitions each.
# extendvg rootvg hdisk0
至此,成功。
# lspv
hdisk0 000604df45d6359e rootvg active
hdisk1 000604df91a01156 rootvg active
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 000604df00004c000000011445087796
VG STATE: active PP SIZE: 32 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 2729 (87328 megabytes)
MAX LVs: 256 FREE PPs: 2663 (85216 megabytes)
LVs: 9 USED PPs: 66 (2112 megabytes)
OPEN LVs: 8 QUORUM: 2
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per VG: 30480
MAX PPs per PV: 3048 MAX PVs: 10
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
详解如下,先把先前的出错环境列示出来,逐步操作解释说明:
# lspv
hdisk0 000604df45d6359e None
hdisk1 000604df91a01156 rootvg active
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 000604df00004c000000011445087796
VG STATE: active PP SIZE: 32 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 542 (17344 megabytes)
MAX LVs: 256 FREE PPs: 476 (15232 megabytes)
LVs: 9 USED PPs: 66 (2112 megabytes)
OPEN LVs: 8 QUORUM: 2
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
# bootinfo -s hdisk1
17364
# bootinfo -s hdisk0
70007
操作步骤如下:
# extendvg -f rootvg hdisk0
0516-1162 extendvg: Warning, The Physical Partition Size of 32 requires the
creation of 2187 partitions for hdisk0. The limitation for volume group
rootvg is 1016 physical partitions per physical volume. Use chvg command
with -t option to attempt to change the maximum Physical Partitions per
Physical volume for this volume group.
0516-792 extendvg: Unable to extend volume group.
# chvg -t 2 rootvg
0516-1164 chvg: Volume group rootvg changed. With given characteristics rootvg
can include upto 16 physical volumes with 2032 physical partitions each.
# extendvg -f rootvg hdisk0
0516-1162 extendvg: Warning, The Physical Partition Size of 32 requires the
creation of 2187 partitions for hdisk0. The limitation for volume group
rootvg is 2032 physical partitions per physical volume. Use chvg command
with -t option to attempt to change the maximum Physical Partitions per
Physical volume for this volume group.
0516-792 extendvg: Unable to extend volume group.
# chvg -t 3 rootvg
0516-1164 chvg: Volume group rootvg changed. With given characteristics rootvg
can include upto 10 physical volumes with 3048 physical partitions each.
引用
0516-1162 extendvg: Warning, The Physical Partition Size of 32 requires the
creation of 2187 partitions for hdisk0. The limitation for volume group
rootvg is 1016 physical partitions per physical volume. Use chvg command
with -t option to attempt to change the maximum Physical Partitions per
Physical volume for this volume group.
0516-792 extendvg: Unable to extend volume group.
试译如下:
0516-1162 extendvg: 警告,hdisk0的物理分区大小(pps)是32M,需要建立2187个分区。超出了卷组rootvg
默认的1016个物理分区的限制。用chvg命令-t参数尝试改变卷组的每个物理卷(PV)的最大的物理分区数。
如果英文好,真省事,我英文不好,郁闷,看了半天。还好是自己看着词霸解决的。不求人,挺爽的!
结论如下:
卷组本身对于物理卷有着,最大的物理分区数的限制。就是说1个磁盘,在被加入到卷组中,要受到其默认参数,PP
size和MAX PPs per PV的影响。看命令lsvg里面吧。所以这次要加的硬盘是70007M。原来默认的MAX PPs per PV是1016,故而不够,所以我逐次递增。其实应该自己算一下的。70007/32约等于2187,自己看看提示刚才那个英文翻译。呵呵,AIX已经帮你算过了。那你问我那个3是怎么来的??好吧。都告诉你。如下:
引用
打开http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp,搜索chvg。找到-t参数如下:
-t [factor] 更改每个物理卷的物理分区数的限制,由 factor 指定。对于 32 个磁盘卷组,factor 应该在 1 和 16 之间,对于 128 个磁盘卷组,则在 1 和 64 之间。
如果未提供 factor,则它设置到最低值,以便卷组中的最大磁盘的物理分区数小于 factor x 1016。
如果指定了 factor,则对于此卷组,每个物理卷的物理分区的最大数更改为 factor x 1016。
注:
1. 对于可伸缩类型的卷组,该选项将被忽略。
2. 如果违背每个物理卷限制的 1016 个物理分区,在 AIX 4.1.2 中创建卷组,则此标志可用于将卷组转换为受支持的状态。这将确保分区的正确的旧/新的标记。
3. 如果卷组中有任何旧文件物理分区,则不能更改 factor。
4. 一旦转换了卷组,则它不能导入到 AIX 4.3 或更低版本。
5. 如果卷组在并行方式下联机,则不能使用此标志。
6. 可能包括在此卷组中的物理卷的最大数将减少为(MAXPVS/factor)。
本文链接:http://www.52zhe.cn/read.php/82.htm
本文作者:kook(若就博客内所涉及的技术问题交流,请用下面的MSN或Gmail联系我)
联系方式:(MSN:kook#live.com) (Google talk:kookliu)
没有版权:GNU,转载时请注明“转载人”欠本人一顿饭,来日见面之时兑现!谢谢合作!
备考RHCE,第一天
英文IT的学习方法—边缘学习法!



