AIX在正常开机换roovg一块损害硬盘.doc_第1页
AIX在正常开机换roovg一块损害硬盘.doc_第2页
AIX在正常开机换roovg一块损害硬盘.doc_第3页
AIX在正常开机换roovg一块损害硬盘.doc_第4页
AIX在正常开机换roovg一块损害硬盘.doc_第5页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

更换rootvg里一块坏掉的硬盘rootvg里的hdisk0坏掉,首先解除镜相#unmirrorvg rootvg hdisk0#chpv -c hdisk0 (清除引导区)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.0301-108 mkboot: Unable to read file blocks. Return code: -10516-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 ohdisk0 hdisk1 blv=hd5#lsvg -p rootvgrootvg:PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTIONhdisk0 missing546 482 70.85.109.109.109hdisk1 active 546 254 60.00.00.85.109尝试把hdisk0从rootvg里面删除先查询hdisk0还挂有那些逻辑卷#lspv l hdisk0显示没有挂接逻辑卷#reducevg rootvg hdisk00516-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命令BYD实际情况是:hdisk0有fwdump文件系统 没有做镜像,且里面没有内容,#umount fwdump#smitty rmlv把fwdump文件系统删除hdisk0还有个换页空间paging01 也同样没有做镜像先删除换页空间#smitty swapoff#smitty rmps#lspv l hdisk0删除hdisk0, 更换新硬盘,rmdev dl hdisk0#diag按enter选择Hot Plug Task按下enter键,可以热拔硬盘,把准备好的硬盘换上让操作系统重认hdisk0#cfgmgr v将hdisk0添加到rootvg里面#extendvg rootvg hdisk00516-1254 extendvg: Changing the PVID in the ODM. test_db#lsvg -p rootvgrootvg:PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTIONhdisk0 active546 546 110.109.109.109.109hdisk1 active 546 190 60.00.00.21.109重镜相rootvg,因为只有两块盘,不用指定镜相到哪块盘上#mirrorvg -S rootvg (后台同步)0516-1124 mirrorvg: Quorum requirement turned off, reboot system for this to take effect for rootvg.0516-1126 mirrorvg: rootvg successfully mirrored, user should perform bosboot of system to initialize boot records. Then, user must modify bootlist to include: hdisk0 hdisk1. 查看当前的引导列表信息:#bootlist -m normal -ohdisk0hdisk1在hdisk0制作引导信息#bosboot -ad hdisk0bosboot: Boot image is 21175 512 byte blocks.重新在hdisk1上制作引导信息#bosboot -ad hdisk1bosboot: Bo

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论