aix更换系统镜像盘

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

aix更换系统镜像盘

删除原有镜像操作:

# cfgmgr

# lsdev -Cc disk

hdisk0 Available 11-09-00-8,0 16 Bit LVD SCSI Disk Drive

hdisk1 Available 11-09-00-10,0 16 Bit LVD SCSI Disk Drive

# lsvg

rootvg

# lsvg -p rootvg

rootvg:

PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION

hdisk1 active 542 148 70..00..00..00..78

hdisk0 missing 542 148 70..00..00..00..78

# unmirrorvg rootvg 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.

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.

# lsvg -p rootvg

rootvg:

PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION

hdisk1 active 542 148 70..00..00..00..78

hdisk0 missing 542 542 109..108..108..108..109

# chpv -c hdisk0

# reducevg rootvg hdisk0

# lsvg -p rootvg

rootvg:

PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION

hdisk1 active 542 148 70..00..00..00..78

# bootlist -m normal hdisk1

重建镜像:

lsdev -Cc disk

hdisk0 Available 11-09-00-8,0 16 Bit LVD SCSI Disk Drive

hdisk1 Available 11-09-00-10,0 16 Bit LVD SCSI Disk Drive

# lsvg -p rootvg

rootvg:

PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION

hdisk1 active 542 148 70..00..00..00..78

# chdev -l hdisk0 -a pv=yes

hdisk0 changed

# extendvg rootvg hdisk0

0516-1398 extendvg: The physical volume hdisk0, 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.

# extendvg -f rootvg hdisk0

# lsvg -p rootvg

rootvg:

PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION

hdisk1 active 542 148 70..00..00..00..78

hdisk0 active 542 542 109..108..108..108..109

# mirrorvg 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.

# bosboot -a -d /dev/hdisk0

相关文档
最新文档