解答
1.检查已经安装文件集bos.alt_disk_install.rte版本是否为5.3.0.40,如若不是,先请安装此版本文件集
2.在debug模式下重新运行alt_disk_install命令: smit alt_install->Clone the rootvg to An Alternate Disk->Debug output?:yes
3.查看smit.log中ALT_MAJOR_NUM项对应的值 ALT_MAJOR_NUM=50 + + odmget -q value1=50 CuDvDr + odmget -q value1=altinst_rootvg CuDvDr CUDVDROUT= CuDvDr: resource = "devno" value1 = "50" value2 = "0" value3 = "altinst_rootvg"
CuDvDr: resource = "devno" value1 = "50" value2 = "1" value3 = "bootlv00"
CuDvDr: resource = "devno" value1 = "50" value2 = "2" value3 = "pagelv00"
CuDvDr: resource = "devno" value1 = "50" value2 = "3" value3 = "loglv00"
CuDvDr: resource = "devno" value1 = "50" value2 = "4" value3 = "fslv16"
CuDvDr: resource = "devno" value1 = "50" value2 = "5" value3 = "fslv17"
CuDvDr: resource = "devno" value1 = "50" value2 = "6" value3 = "fslv18"
CuDvDr: resource = "devno" value1 = "50" value2 = "7" value3 = "fslv19"
CuDvDr: resource = "devno" value1 = "50" value2 = "8" value3 = "fslv20" ...... ...... ...... 由此看出ODM中有错误的项被记录了且未清除。
4.备份ODM #odmget CuDvDr > /tmp/odm.out #tar -cvf /tmp/odm.tar /etc/objrepos #tar -cvf /tmp/odm-usr.tar /usr/lib/objrepos
5.找到Debug模式下,smit.log文件中的ALT_MAJOR_NUM对应的数字后,从CuDvDr中删除该条目 #odmget -q value1=50 CuDvDr ==> 22 instances #odmdelete -q value1=50 -o CuDvDr ==>deleted 22 entries
6.查看CuAt,CuDv,CuDvDr,CuDep中对应条目是否仍然存在 #odmget CuAt | grep alt ==> 应该返回空 #odmget CuDv | grep alt ==> 列出 parent=altinst_rootvg项目 #odmget CuDvDr | grep alt ==> 应该返回空 #odmget CuDep | grep alt ==> 列出 name=altinst_rootvg项目
7.删除CuDv及CuDep中相关条目 #odmdelete -q parent=altinst_rootvg -o CuDv #odmdelete -q name=altinst_rootvg -o CuDep
8.重新运行alt_disk_install,问题解决。 |