AIX在正常开机换roovg一块损害硬盘.doc

AIX在正常开机换roovg一块损害硬盘.doc

  1. 1、本文档共5页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
AIX在正常开机换roovg一块损害硬盘

更换rootvg里一块坏掉的硬盘rootvg里的hdisk0坏掉,首先解除镜相#unmirrorvg rootvg hdisk0 #chpv -c hdisk0 (清除引导区)0516-1246 rmlvcopy: If hd5 is the boot logical volume, please run chpv -c diskname ??????? 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. 0301-108 mkboot: Unable to read file blocks. Return code: -1 0516-1132 unmirrorvg: Quorum requirement turned on, reboot system for this ??????? to take effect for rootvg. 0516-1144 unmirrorvg: rootvg successfully unmirrored, user should perform ??????? bosboot of system to reinitialize boot records.? Then, user must modify ??????? bootlist to just include:? hdisk1. #bootlist -m normal –o hdisk0 hdisk1 blv=hd5 #lsvg -p rootvg rootvg: PV_NAME?????????? PV STATE????????? TOTAL PPs?? FREE PPs??? FREE DISTRIBUTION hdisk0??????????? missing?????????546???????? 482???????? 70..85..109..109..109 hdisk1??????????? active??????????? 546???????? 254???????? 60..00..00..85..109 尝试把hdisk0从rootvg里面删除 先查询hdisk0还挂有那些逻辑卷 #lspv –l hdisk0 显示没有挂接逻辑卷 #reducevg rootvg hdisk0 0516-016 ldeletepv: Cannot delete physical volume with allocated ??????? partitions. Use either migratepv to move the partitions or ??????? reducevg with the -d option to delete the partitions. 0516-884 reducevg: Unable to remove physical volume hdisk0. 报这个错的原因是因为lv_dumplv只存在于hdisk0,而且这个在rootvg里面是不会镜相的,只有一份。后来想到一个办法: 第一步:将dump设备指向/dev/sysdumpnull; 第二步:删除在disk0上lg_dumplv; 第三步:在hdisk1上创建新的lg_dumplv; 第四步:将dump设备指向/dev/lg_dumplv 最后成功执行reducevg rootvg hdisk0命令smitty swapoff #smitty rmps #lspv –l hdisk0 删除hdisk0, 更换新硬盘,–dl hdisk0 #diag 按enter 选择Hot Plug Task 按下enter键,可以热拔硬盘,把准备好的硬盘换上 让操作系统重认hdisk0–v 将hdisk0添加到rootvg里面 #extendvg rootvg hdisk0 0516-1254 extendvg: Changing the PVID in the ODM. test_db#lsvg -p rootvg rootvg: PV_NAME?????????? PV STATE????????? TOTAL PPs?? FREE PPs??? FREE DISTRIBUTION hdisk0??????????? active???????????546???????? 546???????? 110..109..10

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档