aix更换硬盘出错

一台9111-520服务器,硬盘出现故障,后来更换硬盘,还盘之前的操作如下:
# unmirrorvg rootvg hdisk1
0516-1246 rmlvcopy: If hd5 is the boot logical volume, please run 'chpv -c '
        as root user to clear the boot record and avoid a potential boot
        off an old boot image that may reside on the disk from which this
        logical volume is moved/removed.
0516-1804 chvg: The quorum change takes effect immediately.
0516-1144 unmirrorvg: rootvg successfully unmirrored, user should perform
        bosboot of system to reinitialize boot records.  Then, user must modify
        bootlist to just include:  hdisk0.
# lsvg -p rootvg
rootvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk0            active            546         112         29..25..00..00..58
hdisk1            missing           546         546         110..109..109..109..109
# chpv -c hdisk1
# lsvg -p rootvg
rootvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk0            active            546         112         29..25..00..00..58
hdisk1            missing           546         546         110..109..109..109..109
# reducevg rootvg hdisk1  
# lsvg -p rootvg
rootvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk0            active            546         112         29..25..00..00..58
# bosboot -ad /dev/hdisk0

bosboot: Boot image is 38357 512 byte blocks.
# bootlist -m normal hdisk0 cd0
# bootlist -m normal -o
hdisk0 blv=hd5
cd0

然后diag点亮磁盘,但是没有窒息感remove而是直接拔的,系统重启,重启后更换新硬盘的时候一直出现问题
# extendvg rootvg hdisk1
0516-1398 extendvg: The physical volume hdisk1, appears to belong to
another volume group. Use the force option to add this physical volume
to a volume group.
0516-792 extendvg: Unable to extend volume group.
# lsvg -p rootvg
rootvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk0            active            546         112         29..25..00..00..58
# extendvg -f rootvg hdisk1
0516-1184 extendvg: IO failure on hdisk1.
0516-792 extendvg: Unable to extend volume group.
求帮忙!
参与42

34同行回答

woailili9woailili9系统工程师新明星
但是启动显示/etc/getrootfs[586]: 4226 Killed/etc/getrootfs[586]: 4228 Killed/etc/getrootfs[586]: 4230 Killed/etc/getrootfs[586]: 4232 Killed....就停住,不能进入到命令符#,后来求证是主机中ML的版本和光盘上的不一致而引起的。而且你前面出的问题前面人已经说的挺...显示全部
但是启动显示
/etc/getrootfs[586]: 4226 Killed
/etc/getrootfs[586]: 4228 Killed
/etc/getrootfs[586]: 4230 Killed
/etc/getrootfs[586]: 4232 Killed
....

就停住,不能进入到命令符#,后来求证是主机中ML的版本和光盘上的不一致而引起的。


而且你前面出的问题前面人已经说的挺清楚了,说是你在拔硬盘的时候没有执行rmdev,
所以在插上新硬盘的时候,cfgmgr会生成新的HDISKX,新的硬盘就是这个PV,你直接将
这个PV加入VG用就可以了。收起
硬件生产 · 2014-01-23
浏览3647

    提问者

    Vincent
    存储工程师china
    擅长领域: 服务器存储灾备

    相关问题

    相关资料

    相关文章

    问题状态

  • 发布时间:2014-01-21
  • 关注会员:3 人
  • 问题浏览:30226
  • 最近回答:2019-09-17
  • X社区推广