AIX 5.3,安装完成后hdisk0和hdisk1作成mirror.在扩展 /tmp 空间时出现如下错误:
Command: failed stdout: yes stderr: no
Before command completion, additional instructions may appear below.
lquerypv: Warning, physical volume hdisk0 is excluded since it may be
either missing or removed.
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.
但新增逻辑分区没有问题.如
# df -m
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 128.00 116.89 9% 1608 6% /
/dev/hd2 1152.00 118.03 90% 26670 48% /usr
/dev/hd9var 128.00 120.56 6% 347 2% /var
/dev/hd3 128.00 127.61 1% 18 1% /tmp
/dev/fwdump 128.00 127.66 1% 4 1% /var/adm/ras/platform
/dev/hd1 128.00 127.64 1% 5 1% /home
/proc - - - - - /proc
/dev/hd10opt 128.00 79.73 38% 819 5% /opt
/dev/fslv00 1024.00 1023.52 1% 5 1% /passion
#
/passion就是在扩展/tmp失败后新增加的逻辑分区.磁盘是 70GB, 一定还有未使用空间.yddll让用如下三个命令:
lsvg rootvg
lspv hdisk0
lspv hdisk1
通过运行以下三个命令:
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 00008cb70000d600000
00110ed6b74ae
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1092 (139776 megaby
tes)
MAX LVs: 256 FREE PPs: 1034 (132352 megaby
tes)
LVs: 12 USED PPs: 58 (7424 megabytes)
OPEN LVs: 10 QUORUM: 1
TOTAL PVs: 2 VG DESCRIPTORS: 2
STALE PVs: 1 STALE PPs: 17
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
# lspv hdisk0
PHYSICAL VOLUME: hdisk0 VOLUME GROUP: rootvg
PV IDENTIFIER: 00008cb7bee67853 VG IDENTIFIER 00008cb70000d60000000110e
d6b74ae
PV STATE: removed
STALE PARTITIONS: 17 ALLOCATABLE: yes
PP SIZE: 128 megabyte(s) LOGICAL VOLUMES: 11
TOTAL PPs: 546 (69888 megabytes) VG DESCRIPTORS: 0
FREE PPs: 517 (66176 megabytes) HOT SPARE: no
USED PPs: 29 (3712 megabytes) MAX REQUEST: 256 kilobytes
FREE DISTRIBUTION: 109..96..94..109..109
USED DISTRIBUTION: 01..13..15..00..00
# lspv hdisk1
PHYSICAL VOLUME: hdisk1 VOLUME GROUP: rootvg
PV IDENTIFIER: 00008cb7bf398522 VG IDENTIFIER 00008cb70000d60000000110e
d6b74ae
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 128 megabyte(s) LOGICAL VOLUMES: 11
TOTAL PPs: 546 (69888 megabytes) VG DESCRIPTORS: 2
FREE PPs: 517 (66176 megabytes) HOT SPARE: no
USED PPs: 29 (3712 megabytes) MAX REQUEST: 256 kilobytes
FREE DISTRIBUTION: 109..96..94..109..109
USED DISTRIBUTION: 01..13..15..00..00
#
通过对比发现 hdisk0的状态为remove, hdisk1的状态为active,状态为remove好像有些不太正常.试着用 smitty chpv命令,将其状态改为active,然后再执行:
chfs -a size=+128M /tmp,执行成功.
原因分析:做完mirror后,为测试mirror是否成功,将hdisk0拔掉后,试着用hdisk1引导.结果hdisk1引导成功,证明mirror成功.然后又将hdisk0归位,用hdisk0引导启动,启动成功后,做fs的扩展.正是将hdisk0移除过,所以才造成其状态为removed.
疑问:既然hdisk0的状态为removed,那为什么却能用hdisk0成功引导呢?我有仔细看引导显示,却是是用hdisk0引导的.为什么呢?
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/60088/viewspace-900245/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/60088/viewspace-900245/
360

被折叠的 条评论
为什么被折叠?



