怪异的磁盘状态、系统问题

ERRPT看报错,hdisk0有问题,准备更换,但是查看系统中hdisk0是active的,
其间机器因为风扇问题宕机,重启后hdisk0又不报错了,但是在上传数据时,又报错,
怀疑硬盘还是有问题的。
关键重点在准备减小PS空间时,发生了比较奇怪的问题,无法减小,会报错,
而且hdisk1明明是active,但是就是无法创建LV,提示hdisk1为missing的状态,
怀疑可能是以前有人克隆系统操作不当的问题,因为在ODM中可以看到克隆留下的VG、LV信息altinst_rootvg,
具体之前有没有这样的操作已经不知道了,
几个主要报错的地方如下:
# oslevel -s
5300-06-02-0727
# lsps -s
Total Paging Space   Percent Used
      18176MB               1%
# lsps -a
Page Space      Physical Volume   Volume Group    Size %Used Active  Auto  Type
0516-310 : Unable to find attribute state in the Device
        Configuration Database. Execute synclvodm to attempt to
        correct the database.
0516-010 : Volume group must be varied on; use varyonvg command.
hd6             hdisk0            rootvg       18176MB     1   yes   yes    lv
在smitty lvm中缩小PS空间时,却两个PS空间可以选择多了一个pagelv00,但是无法选择
                                                                         x
                        x   0516-310 : Unable to find attribute state in the Device                x
                        x           Configuration Database. Execute synclvodm to attempt to        x
                        x   0516-010 : Volume group must be varied on; use varyonvg command.       x
在用smitty 减小PS空间时,提示如下:
Command: failed        stdout: yes           stderr: no
Before command completion, additional instructions may appear below.
0516-310 : Unable to find attribute state in the Device
        Configuration Database. Execute synclvodm to attempt to
        correct the database.
0516-010 : Volume group must be varied on; use varyonvg command.
0516-310 : Unable to find attribute state in the Device
        Configuration Database. Execute synclvodm to attempt to
        correct the database.
0516-010 : Volume group must be varied on; use varyonvg command.
0517-101 shrinkps: Cannot create temporary paging space on rootvg,
        adjust free space on the volume group.
        
# lslv pagelv00
0516-306 : Unable to find volume group altinst_rootvg in the Device
        Configuration Database.
# synclvodm -v -P rootvg
synclvodm: Physical volume data updated.
synclvodm: Logical volume hd5 updated.
synclvodm: Logical volume hd6 updated.
synclvodm: Logical volume hd8 updated.
synclvodm: Logical volume hd4 updated.
synclvodm: Logical volume hd2 updated.
synclvodm: Logical volume hd9var updated.
synclvodm: Logical volume hd3 updated.
synclvodm: Logical volume hd1 updated.
synclvodm: Logical volume hd10opt updated.
synclvodm: Logical volume fwdump updated.
synclvodm: Logical volume lg_dumplv updated.
synclvodm: Logical volume fslv07 updated.
# lsvg
rootvg
# lsvg -o   
rootvg
# bosboot -ad hdisk0
0301-153 bosboot: /usr/lib/boot/unix not found.
# bosboot -ad hdisk1
0301-153 bosboot: /usr/lib/boot/unix not found.
# 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     142   142   1    open/syncd    N/A
hd8                 jfs2log    1     2     2    open/syncd    N/A
hd4                 jfs2       16    32    2    open/syncd    /
hd2                 jfs2       80    160   2    open/syncd    /usr
hd9var              jfs2       8     16    2    open/syncd    /var
hd3                 jfs2       32    64    2    open/syncd    /tmp
hd1                 jfs2       8     16    2    open/syncd    /home
hd10opt             jfs2       160   320   2    open/syncd    /opt
fwdump              jfs2       1     2     2    open/syncd    /var/adm/ras/platform
lg_dumplv           sysdump    16    32    2    open/syncd    N/A
fslv07              jfs2       80    80    1    open/syncd    /u01
也无法在hdisk1上创建LV,提示hdisk1是missing状态,
Command: failed        stdout: yes           stderr: no
Before command completion, additional instructions may appear below.
0516-823 lquerypv: Physical Volume hdisk1 is not allocatable.
0516-848 lquerypv: Failure on physical volume hdisk1, it may be missing
        or removed.
        
# lspv
hdisk0          0007df82fb3e8fe4                    rootvg          active
hdisk1          000271851bf59841                    rootvg          active
以上就是报错相关的信息,大家看看如果要换hdisk0这个盘应该怎么换比较保险,
不知道为什么hdisk1的状态明明是active的,但是执行命令就报是missing的,
synclvodm,syncvg都试过,没用的。
我想先把rootvg镜像拆了,把hdisk1踢出VG,再重新加入VG重新做镜像,
做好后,再用新盘把HDISK0替换掉,不知道可行吗?
关于ODM里的那个altinst_rootvg,应该怎么处理呢?
求正解,谢谢,求意见。
附见有ERRPT的内容,ODM的内容,供大家参考,请帮忙给点意见。

附件:

附件图标errpt&odm.rar (8.6 KB)

参与6

4同行回答

rootkingrootking系统架构师ROOTKING
前几天处理过这个类型的CASE,安全点用备份恢复的方法简单点,就用欺骗的方法通过dd vgda头部,再修改pvid、在varyonvg rootvg。欺骗法只需1分钟就搞定这种换盘方法显示全部
前几天处理过这个类型的CASE,安全点用备份恢复的方法

简单点,就用欺骗的方法

通过dd vgda头部,再修改pvid、在varyonvg rootvg。

欺骗法只需1分钟就搞定这种换盘方法收起
互联网服务 · 2012-12-21
浏览2019
午夜幽魂午夜幽魂系统运维工程师计算机有限公司
等待大家的建议显示全部
等待大家的建议收起
系统集成 · 2012-08-31
浏览2579
wjywjy系统架构师zhtd
求解,各位大虾能否提供借鉴的解决方法,楼主试一下这个看行不行,前提是要备份数据啊。显示全部
求解,各位大虾能否提供借鉴的解决方法,楼主试一下这个看行不行,前提是要备份数据啊。收起
互联网服务 · 2012-08-31
浏览2079
nabornabor系统工程师starsun
先不要拆镜像,可以关机后单块硬盘启动来确定是那块硬盘出问题了。在做之前先备份一下,如果不成功那这个vg多半是出问题了。不排除硬盘背板的问题。显示全部
先不要拆镜像,可以关机后单块硬盘启动来确定是那块硬盘出问题了。在做之前先备份一下,如果不成功那这个vg多半是出问题了。不排除硬盘背板的问题。收起
IT咨询服务 · 2012-08-30
浏览2031

提问者

午夜幽魂
系统运维工程师计算机有限公司
擅长领域: 服务器存储AIX

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2012-08-30
  • 关注会员:2 人
  • 问题浏览:7111
  • 最近回答:2012-12-21
  • X社区推广