当前位置:首页 > aix更换系统镜像盘
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 DISTRIBUTION
hdisk1 active 542 70..00..00..00..78 # chdev -l hdisk0 -a pv=yes hdisk0 changed
148 FREE # 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
共分享92篇相关文档