一台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.
求帮忙!收起